KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
VSIXTorch
★ 42
Open GitHub ↗
LibTorch Visual C++ template
Download README (.md)
Explore Similar Repositories
Script
:
脚本库
gluestick
:
Simple, single-function string interpolation in Base R
fs-vue
:
No description available.
ANS
:
Autodidactic Neurosurgeon Collaborative Deep Inference for Mobile Edge Intelligence via Online Learning
futu
:
Yet another minimal hugo theme, built-in styles are modified upon water.css.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
VSIXTorch
?
Download (.md)
# VSIXTorch It helps deverlopers to setup [PyTorch C++ Project](https://pytorch.org/cppdocs/installing.html) on Windows without CMake. Developers could setup a new libTorch project in Visual Studio with one click. Now, VS 2019 and 2022 are supported # Visual Studio Extension Download Link [LibTorch Project Template for VS2019](https://marketplace.visualstudio.com/items?itemName=YiZhang.LibTorch001) [LibTorch Project Template for VS2022](https://marketplace.visualstudio.com/items?itemName=YiZhang.libtorch2022) # Libtorch Download Link Pytorch.org only provide the latest libtorch binary links. Generally, the libtorch download links Debug <br> https://download.pytorch.org/libtorch/{cuda-version}/libtorch-win-shared-with-deps-debug-{pytorch-version}%2B{cuversion}.zip Release <br> https://download.pytorch.org/libtorch/{cuda-version}/libtorch-win-shared-with-deps{pytorch-version}%2B{cuversion}.zip For example Libtorch {1.11.0 cu113 debug} download link is <br> https://download.pytorch.org/libtorch/cu113/libtorch-win-shared-with-deps-debug-1.11.0%2Bcu113.zip<br> If it's a cpu version, the {cuda-version} is cpu ## There's a fantastic link to download all released libtorch binaries. <br> https://blog.csdn.net/guzhao9901/article/details/125051108 # How to build dll 1. Change `Project settings->Configuration Properties->General->Configuration Type` to `Dynamic Library(.dll)` 2. Change `Project settings->Configuration Properties->Advanced->Target File Extension` to `dll` ## example ```C++ #include <torch/torch.h> extern "C" __declspec(dllexport) int check_cuda() { if (torch::cuda::is_available()) { return 1; } else { return 0; } } ``` # Tutorial Video https://ossci-windows.s3.us-east-1.amazonaws.com/vsextension/demo.mp4)