Install command:
brew install libtorch

Tensors and dynamic neural networks

License: BSD-3-Clause

/api/formula/libtorch.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave
Apple Silicon

Current versions:

stable 1.7.1

Depends on:

eigen 3.3.9 C++ template library for linear algebra
libomp 11.0.1 LLVM's OpenMP runtime library
libyaml 0.2.5 YAML Parser
protobuf 3.14.0 Protocol buffers (Google's data interchange format)
pybind11 2.6.2 Seamless operability between C++11 and Python

Depends on when building from source:

cmake 3.19.3 Cross-platform make
python@3.9 3.9.1 Interpreted, interactive, object-oriented programming language


Installs (30 days)
libtorch 114
Installs on Request (30 days)
libtorch 98
Build Errors (30 days)
libtorch 11
Installs (90 days)
libtorch 636
Installs on Request (90 days)
libtorch 538
Installs (365 days)
libtorch 1,756
Installs on Request (365 days)
libtorch 1,606
Fork me on GitHub