libtorch 2.12.0
Tensors and Dynamic neural networks in Python with strong GPU acceleration
Dependencies
cpp-httplib
cpuinfo
eigen3
fbgemm
platform: x64 & !uwp
flatbuffers
flatbuffers
host: 
fmt
fp16
kineto
kleidiai
platform: arm64
mimalloc
platform: windows | (arm64 & !osx)
nlohmann-json
nnpack
platform: linux | osx
onnx
opencl
pocketfft
protobuf
protobuf
host: 
pthreadpool
pybind11
sleef
vcpkg-cmake
host: 
vcpkg-cmake-config
host: 
vcpkg-get-python-packages
host: 
xnnpack
Used By
Not used by any other package
Features
blas - BLAS/LAPACK backend (openblas on linux/windows, Accelerate on macOS). On by default; disable with [core,...] when using [mkl] instead.
cuda - Build with CUDA GPU backend
dist - Use distributed training/inference (Gloo, MPI, libuv, TensorPipe)
gflags - Build with gflags
Dependencies
gflags
glog - Build with glog
Dependencies
glog
llvm - Build with LLVM
Dependencies
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.
vulkan - Build with Vulkan GPU backend
Available Versions
- 2.12.0#0
- 2.7.1#0
- 2.1.2#12
- 2.1.2#11
- 2.1.2#10
- 2.1.2#9
- 2.1.2#8
- 2.1.2#7
- 2.1.2#6
- 2.1.2#5
- 2.1.2#4
- 2.1.2#3
- 2.1.2#2
- 2.1.2#1
- 2.1.2#0
- 1.12.1#5
- 1.12.1#4
- 1.12.1#3
- 1.12.1#2
- 1.12.1#1
- 1.12.1#0
Port Content
- fix-async-mm-cutlass.patch
- fix-cudnn-frontend.patch
- fix-glog.patch
- fix-osx-protobuf.patch
- fix-sleef.patch
- fix-system-cpuinfo.patch
- fix-system-cutlass.patch
- fix-system-fbgemm.patch
- fix-system-flatbuffers.patch
- fix-system-fmt.patch
- fix-system-fp16.patch
- fix-system-fxdiv.patch
- fix-system-httplib.patch
- fix-system-kineto.patch
- fix-system-kleidiai.patch
- fix-system-mimalloc.patch
- fix-system-mkl.patch
- fix-system-mkldnn.patch
- fix-system-nlohmann.patch
- fix-system-nnpack.patch
- fix-system-onnx.patch
- fix-system-pocketfft.patch
- fix-system-pthreadpool.patch
- fix-system-tensorpipe.patch
- fix-system-xnnpack.patch
- fix-torch-includes.patch
- fix-vulkan-vma.patch
- fix-windows-install-dirs.patch
- portfile.cmake
- vcpkg.json