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: 5

Depends on:

abseil 20240116.2 C++ Common Libraries
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 27.1 Protocol buffers (Google's data interchange format)
pybind11 2.12.0 Seamless operability between C++11 and Python
sleef 3.6.1 SIMD library for evaluating elementary functions
libomp 18.1.8 LLVM's OpenMP runtime library

Depends on when building from source:

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

Requires: Xcode (build), macOS >= 12

Analytics:

Installs (30 days)
pytorch 2,709
Installs on Request (30 days)
pytorch 2,193
Build Errors (30 days)
pytorch 0
Installs (90 days)
pytorch 6,783
pytorch --HEAD 10
Installs on Request (90 days)
pytorch 5,570
pytorch --HEAD 9
Installs (365 days)
pytorch 20,865
pytorch --HEAD 38
Installs on Request (365 days)
pytorch 16,129
pytorch --HEAD 37
Fork me on GitHub