Registry / utility / libtorch

libtorch

JSON →
library2.7.1vcpkgunverified

Tensors and Dynamic neural networks in Python with strong GPU acceleration

vcpkg install libtorch
INSTALL
IMPORT
SIG · LIBTORCH
L
libtorch
utilitycppv2.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

torch/torch.h
#include <torch/torch.h>

Create a random tensor

#include "torch/torch.h" int main() { torch::Tensor t = torch::randn({3,4}); return 0; }
Debug
Known issues
gotchaRequires CUDA and cuDNN for GPU support; CPU-only builds are possible but limited.
fix
Ensure CUDA toolkit and cuDNN are installed and findable by CMake.
affects: *
Upgrade
Version history
2.7.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.