brew install pytorch
Formerly known as: libtorch
Tensors and dynamic neural networks
License: BSD-3-Clause
Formula JSON API: /api/formula/pytorch.json
Formula code: pytorch.rb
on GitHub
Bottle (binary package) installation support provided for:
macOS on Apple Silicon |
sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | x86_64 | ✅ |
Current versions:
stable | ✅ | 2.5.1 |
Revision: 4
Depends on:
abseil | 20240722.1 | C++ Common Libraries |
eigen | 3.4.0 | C++ template library for linear algebra |
libuv | 1.50.0 | Multi-platform support library with a focus on asynchronous I/O |
libyaml | 0.2.5 | YAML Parser |
numpy | 2.2.4 | Package for scientific computing with Python |
openblas | 0.3.29 | Optimized BLAS library |
protobuf | 29.3 | Protocol buffers (Google's data interchange format) |
pybind11 | 2.13.6 | Seamless operability between C++11 and Python |
sleef | 3.8 | SIMD library for evaluating elementary functions |
libomp | 20.1.1 | LLVM's OpenMP runtime library |
Depends on when building from source:
cmake | 3.31.6 | Cross-platform make |
ninja | 1.12.1 | Small build system for use with gyp or CMake |
python@3.13 | 3.13.2 | Interpreted, interactive, object-oriented programming language |
Requires: Xcode (build), macOS >= 12
Analytics:
Installs (30 days) | |
---|---|
pytorch |
1,946 |
pytorch --HEAD |
1 |
Installs on Request (30 days) | |
pytorch |
1,628 |
pytorch --HEAD |
1 |
Build Errors (30 days) | |
pytorch |
22 |
Installs (90 days) | |
pytorch |
7,743 |
pytorch --HEAD |
13 |
Installs on Request (90 days) | |
pytorch |
6,476 |
pytorch --HEAD |
13 |
Installs (365 days) | |
pytorch |
33,110 |
pytorch --HEAD |
65 |
Installs on Request (365 days) | |
pytorch |
27,172 |
pytorch --HEAD |
64 |