pytorch

Install command:
brew install pytorch

Formerly known as: libtorch

Tensors and dynamic neural networks

https://pytorch.org/

License: BSD-3-Clause

Formula JSON API: /api/formula/pytorch.json

Bottle JSON API: /api/bottle/pytorch.json

Formula code: pytorch.rb on GitHub

Bottle (binary package) installation support provided for:

Intel ventura
monterey
big sur
catalina
64-bit linux
Apple Silicon ventura
monterey
big sur

Current versions:

stable 1.13.0

Depends on:

eigen 3.4.0 C++ template library for linear algebra
libuv 1.44.2 Multi-platform support library with a focus on asynchronous I/O
numpy 1.23.5 Package for scientific computing with Python
openblas 0.3.21 Optimized BLAS library
openssl@1.1 1.1.1s Cryptography and SSL/TLS Toolkit
protobuf 21.9 Protocol buffers (Google's data interchange format)
pybind11 2.10.1 Seamless operability between C++11 and Python
python-typing-extensions 4.4.0 Backported and experimental type hints for Python
pyyaml 6.0 YAML framework for Python
libomp 15.0.6 LLVM's OpenMP runtime library

Depends on when building from source:

cmake 3.25.1 Cross-platform make
ninja 1.11.1 Small build system for use with gyp or CMake
python@3.11 3.11.0 Interpreted, interactive, object-oriented programming language

Analytics (macOS):

Installs (30 days)
pytorch 1,009
Installs on Request (30 days)
pytorch 857
Build Errors (30 days)
pytorch 2
Installs (90 days)
pytorch 1,613
Installs on Request (90 days)
pytorch 1,376
Installs (365 days)
pytorch 1,613
Installs on Request (365 days)
pytorch 1,376

Analytics (Linux):

Installs (30 days)
pytorch 11
Installs on Request (30 days)
pytorch 10
Build Errors (30 days)
pytorch 0
Installs (90 days)
pytorch 22
Installs on Request (90 days)
pytorch 19
Installs (365 days)
pytorch 22
Installs on Request (365 days)
pytorch 19
Fork me on GitHub