-
# 基础知识
## 基本流程:
1. 使用pytorch训练、保存模型
2. 使用torchscript将model转化成静态图
3. python推理:使用torch.jit
4. c++推理:使用libtorch
## 计算图
模型推理、训练(梯度传播)的底层结构是计算图。关于计算图的介绍详见 [机器学习系统:设计与实现](https://openmlsys.github.i…
-
Dear Plumed Team,
I am using PLUMED 2.10b with CUDA 11.2 and I am attempting to enable libtorch to use the Pytorch module. I have tried with multiple versions of libtorch but it seems like one of t…
-
I download the project and run the Cmake file. However, I got this error:
`bao@bao-Inspiron-14-3467:~/Desktop/libtorch-inference-main/build$ cmake --build . --config Release
[ 50%] Building CXX ob…
-
I use _tch = "0.18.0"_ on windows 11
Downloaded libtorch-win-shared-with-deps-2.5.0+cu118
>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built …
-
I have a Pytorch model, so i created a docker environment with ubuntu installed Golang , and try to run the simple code example:
`package main
import (
"fmt"
"github.com/sugarme/gotch"
"…
-
### Xmake Version
v2.9.5+HEAD.d30de52e9
### Operating System Version and Architecture
Windows 11 23H2
### Describe Bug
尝试编译 xmake-repo 中的 libtorch,遇到如下问题。
## 问题一:libtorch 无法使用 GPU
尝试编译 cuda…
-
目前测试发现yoloV11 cls的结果显示不太对,yoloV10 libtorch推理的时候,调用这个模型yolov10n_fp32_gpu.torchscript,会报错,我的libtorch版本是1.13.1 gpu版本
-
### Voice Changer Version
Clone from AMD Linux tutorial on github
### Operational System
Ubuntu Jammy 22.04
### GPU
RX 6800xt
### CUDA Version
Rocm 5.7.2 AMD
### Read carefully and check the…
-
Hello
I have problem a long time can't fix it
```
systeminfo
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
GPU:
```
```
nvidia-smi
+--------------------------…
-
Dear contributors:
I am working on tensor contraction problems involving various formulas, such as:
$X(a,b)=\sum_{c,d}T(c,d)*H(a,b,c,d)$
$X(a,b)=\sum_{c,d}T(a,c)*T(b,d)*H(a,b,c,d)$
$X(a,b)=\sum_{c…