diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libtorch/vcpkg.json | |
Diffstat (limited to 'vcpkg/ports/libtorch/vcpkg.json')
| -rw-r--r-- | vcpkg/ports/libtorch/vcpkg.json | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/vcpkg/ports/libtorch/vcpkg.json b/vcpkg/ports/libtorch/vcpkg.json new file mode 100644 index 0000000..4a62c0c --- /dev/null +++ b/vcpkg/ports/libtorch/vcpkg.json @@ -0,0 +1,173 @@ +{ + "name": "libtorch", + "version": "2.7.1", + "description": "Tensors and Dynamic neural networks in Python with strong GPU acceleration", + "homepage": "https://pytorch.org/", + "license": null, + "supports": "(windows & !static) | osx | linux", + "dependencies": [ + "blas", + "cpp-httplib", + "cpuinfo", + "eigen3", + { + "name": "fbgemm", + "platform": "x64" + }, + "flatbuffers", + { + "name": "flatbuffers", + "host": true + }, + "fmt", + "foxi", + "fp16", + "gemmlowp", + "lapack", + "lmdb", + "mimalloc", + "nlohmann-json", + "onnx", + "onnx-optimizer", + "opencl", + "pocketfft", + "protobuf", + { + "name": "protobuf", + "host": true + }, + "pthreadpool", + "pybind11", + "sleef", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + }, + { + "name": "vcpkg-get-python-packages", + "host": true + }, + "xnnpack" + ], + "default-features": [ + "gflags", + "glog", + "opencv", + "zstd" + ], + "features": { + "cuda": { + "description": "Build with CUDA GPU backend", + "supports": "(windows & x64 & !staticcrt) | (linux & x64)", + "dependencies": [ + "cuda", + "cudnn", + { + "name": "gloo", + "features": [ + "cuda" + ], + "platform": "linux" + }, + "magma", + { + "name": "nccl", + "platform": "linux" + }, + "nvidia-cutlass", + { + "name": "tensorpipe", + "features": [ + "cuda" + ], + "platform": "linux" + } + ] + }, + "dist": { + "description": "Use distributed with MPI, Gloo, libuv, TensorPipe", + "supports": "linux | windows", + "dependencies": [ + { + "name": "gloo", + "platform": "linux" + }, + { + "name": "libtorch", + "default-features": false, + "features": [ + "mpi" + ], + "platform": "linux" + }, + { + "name": "libuv", + "platform": "windows | osx" + }, + { + "name": "tensorpipe", + "platform": "linux" + } + ] + }, + "gflags": { + "description": "Build with gflags", + "dependencies": [ + "gflags" + ] + }, + "glog": { + "description": "Build with glog", + "dependencies": [ + "glog" + ] + }, + "llvm": { + "description": "Build with LLVM", + "dependencies": [ + "llvm" + ] + }, + "mpi": { + "description": "Build with MPI", + "dependencies": [ + "mpi" + ] + }, + "nnpack": { + "description": "Build with NNPack", + "supports": "linux | osx", + "dependencies": [ + "nnpack" + ] + }, + "opencv": { + "description": "Build with OpenCV", + "dependencies": [ + "opencv" + ] + }, + "vulkan": { + "description": "Build with Vulkan GPU backend", + "dependencies": [ + { + "name": "shaderc", + "host": true + }, + "vulkan", + "vulkan-loader", + "vulkan-memory-allocator" + ] + }, + "zstd": { + "description": "Build with ZSTD", + "dependencies": [ + "zstd" + ] + } + } +} |