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

Formula code: pytorch.rb on GitHub

Bottle (binary package) installation support provided for:

Intel ventura
monterey
64-bit linux
Apple Silicon ventura
monterey

Current versions:

stable 2.0.0

Depends on:

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

Depends on when building from source:

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

Requires: Xcode (build), macOS >= 12

Analytics:

Installs (30 days)
pytorch 418
Installs on Request (30 days)
pytorch 325
Build Errors (30 days)
pytorch 27

Analytics (macOS):

Installs (90 days)
pytorch 60
Installs on Request (90 days)
pytorch 57
Installs (365 days)
pytorch 4,602
Installs on Request (365 days)
pytorch 3,992

Analytics (Linux):

Installs (90 days)
pytorch 1
Installs on Request (90 days)
pytorch 1
Installs (365 days)
pytorch 51
Installs on Request (365 days)
pytorch 40
Fork me on GitHub