libtorchv2.13.0
- Updated
Tensors and Dynamic neural networks in Python with strong GPU acceleration
- Project website: https://pytorch.org/
#Features
Default feature: blas
#blasdefault
BLAS/LAPACK backend (openblas on linux/windows, Accelerate on macOS). On by default; disable with [core,...] when using [mkl] instead.
Dependencies:
and 4 transitive dependencies:
lapack-reference (through lapack, lapack-reference)
Platforms:
!windows | !static | mingw
Features:blas-select,noblasvcpkg-gfortran (through lapack-reference)
Platforms:
windows & !mingw
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through openblas)
- vcpkg-cmake-config (through openblas)
#cuda
Build with CUDA GPU backend
Platforms: (windows & x64 & !staticcrt) | (linux & x64)
- ✅linux
- ✅windows-x64-dynamic
- ❌
osx - ❌
windows-arm64-dynamic - ❌
windows-x86-dynamic
Dependencies:
- cuda
- cudnn
- cudnn-frontend
gloo
Platforms:
linux
Features:cuda- magma
nccl
Platforms:
linux- nvidia-cutlass
tensorpipe
Platforms:
linux
Features:cuda
and 9 transitive dependencies:
- blas (through magma)
- lapack (through magma)
lapack-reference (through lapack, lapack-reference)
Platforms:
!windows | !static | mingw
Features:blas-select,noblas- libnop (through tensorpipe)
- libuv (through tensorpipe)
- nlohmann-json (through cudnn-frontend)
vcpkg-gfortran (through lapack-reference)
Platforms:
windows & !mingw
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through nlohmann-json)
- vcpkg-cmake-config (through nlohmann-json)
#dist
Use distributed training/inference (Gloo, MPI, libuv, TensorPipe)
Platforms: (linux & x64) | windows
- ✅linux
- ✅windows-dynamic
- ❌
osx
Dependencies:
gloo
Platforms:
linuxlibuv
Platforms:
windows | osxmpi
Platforms:
linuxtensorpipe
Platforms:
linux
Host Dependencies:
6 transitive dependencies:
- pkgconf (through openmpi)
- vcpkg-cmake (through gloo)
- vcpkg-cmake-config (through gloo)
- vcpkg-cmake-get-vars (through vcpkg-tool-meson)
- vcpkg-make (through openmpi)
- vcpkg-tool-meson (through pkgconf)
#gflags
Build with gflags
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through gflags)
- vcpkg-cmake-config (through gflags)
#glog
Build with glog
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through gflags)
- vcpkg-cmake-config (through gflags)
#llvm
Build with LLVM
Dependencies:
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (through llvm)
- vcpkg-cmake-config (through llvm)
- vcpkg-cmake-get-vars (through llvm)
#mkl
Intel performance backend: use oneMKL for BLAS/LAPACK and enable oneDNN (MKLDNN) CPU acceleration via ideep. Mutually exclusive with [blas] (the openblas default-feature) — install as libtorch[core,mkl,...] to skip the openblas backend, otherwise both backends get built and only MKL is linked.
Platforms: (windows | linux) & x64 & !uwp
- ✅linux
- ✅windows-x64-dynamic
- ❌
osx - ❌
windows-arm64-dynamic - ❌
windows-x86-dynamic
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through onednn)
- vcpkg-cmake-config (through onednn)
#vulkan
Build with Vulkan GPU backend
Dependencies:
and one transitive dependency:
- vulkan-headers (through vulkan)
Host Dependencies:
and 5 transitive dependencies:
- glslang (through shaderc)
- spirv-headers (through spirv-tools)
- spirv-tools (through shaderc)
- vcpkg-cmake (through glslang)
- vcpkg-cmake-config (through glslang)
#Dependencies
- concurrentqueue
- cpp-httplib
cpuinfo
Features:
clog- eigen3
fbgemm
Platforms:
x64 & !uwp- flatbuffers
- fmt
- fp16
- kineto
kleidiai
Platforms:
arm64mimalloc
Platforms:
windows | (arm64 & !osx)- nlohmann-json
nnpack
Platforms:
linux | osx- onnx
- opencl
- pocketfft
- protobuf
- pthreadpool
- pybind11
- sleef
and 18 transitive dependencies:
- abseil (through protobuf)
- asmjit (through fbgemm)
- brotli (through cpp-httplib)
- fxdiv (through nnpack)
gettext-libintl (through python3)
Platforms:
!windowslibiconv (through gettext-libintl)
Platforms:
!linux- psimd (through fp16)
- utf8-range (through protobuf)
- zlib (through python3)
#Host Dependencies
and 7 transitive dependencies:
- pkgconf (through vcpkg-pkgconfig-get-modules)
vcpkg-cmake-get-vars (through libiconv)
Platforms:
android- vcpkg-get-python (through python3)
- vcpkg-make (through libiconv)
vcpkg-msbuild (through python3)
Platforms:
windowsvcpkg-pkgconfig-get-modules (through python3)
Platforms:
windows & !mingw- vcpkg-tool-meson (through pkgconf)
#Used By
No ports use this.
#Host Tool For
No ports use this.
#Contributors
PARK DongHa
jim wang
Lily Wang
MonicaLiu
Ómar Högni Guðmarsson
Alexander Neumann
Jia Yue Hua
Billy O'Neal
miyanyan
JoergAtGithub
Stefano Sinigardi
Mengna-Li
Steve Brain