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:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 2.2.0

Revision: 3

Depends on:

eigen 3.4.0 C++ template library for linear algebra
libuv 1.48.0 Multi-platform support library with a focus on asynchronous I/O
libyaml 0.2.5 YAML Parser
numpy 1.26.4 Package for scientific computing with Python
openblas 0.3.27 Optimized BLAS library
protobuf 26.1 Protocol buffers (Google's data interchange format)
pybind11 2.12.0 Seamless operability between C++11 and Python
sleef 3.6 SIMD library for evaluating elementary functions
libomp 18.1.4 LLVM's OpenMP runtime library

Depends on when building from source:

cmake 3.29.2 Cross-platform make
ninja 1.12.0 Small build system for use with gyp or CMake
python@3.12 3.12.3 Interpreted, interactive, object-oriented programming language

Requires: Xcode (build), macOS >= 12

Analytics:

Installs (30 days)
pytorch 2,472
pytorch --HEAD 6
Installs on Request (30 days)
pytorch 2,037
pytorch --HEAD 5
Build Errors (30 days)
pytorch 1
Installs (90 days)
pytorch 7,351
pytorch --HEAD 17
Installs on Request (90 days)
pytorch 5,852
pytorch --HEAD 16
Installs (365 days)
pytorch 18,905
pytorch --HEAD 36
Installs on Request (365 days)
pytorch 14,416
pytorch --HEAD 35
Fork me on GitHub