Install command:
brew install libtorch

Tensors and dynamic neural networks

License: BSD-3-Clause

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

/api/bottle/libtorch.json (Bottle JSON API)

Formula code on GitHub

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

Intel big sur
64-bit linux

Current versions:

stable 1.9.0

Depends on:

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

Depends on when building from source:

cmake 3.21.1 Cross-platform make
python@3.9 3.9.6 Interpreted, interactive, object-oriented programming language


Installs (30 days)
libtorch 193
Installs on Request (30 days)
libtorch 174
Build Errors (30 days)
libtorch 15
Installs (90 days)
libtorch 697
Installs on Request (90 days)
libtorch 653
Installs (365 days)
libtorch 2,610
Installs on Request (365 days)
libtorch 2,331
Fork me on GitHub