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:
Apple Silicon | sonoma | ✅ |
---|---|---|
ventura | ✅ | |
monterey | ✅ | |
Intel | sonoma | ✅ |
ventura | ✅ | |
monterey | ✅ | |
64-bit linux | ✅ |
Current versions:
stable | ✅ | 2.2.0 |
Revision: 6
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 | 2.0.1 | 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.13.1 | 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.30.1 | 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,208 |
pytorch --HEAD |
1 |
Installs on Request (30 days) | |
pytorch |
1,811 |
pytorch --HEAD |
1 |
Build Errors (30 days) | |
pytorch |
20 |
Installs (90 days) | |
pytorch |
6,519 |
pytorch --HEAD |
5 |
Installs on Request (90 days) | |
pytorch |
5,337 |
pytorch --HEAD |
5 |
Installs (365 days) | |
pytorch |
22,164 |
pytorch --HEAD |
36 |
Installs on Request (365 days) | |
pytorch |
17,287 |
pytorch --HEAD |
35 |