torchvision

Install command:
brew install torchvision

Datasets, transforms, and models for computer vision

https://pytorch.org/vision/stable/index.html

License: BSD-3-Clause

Formula JSON API: /api/formula/torchvision.json

Formula code: torchvision.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 0.24.1

Depends on:

jpeg-turbo 3.1.3 JPEG image codec that aids compression and decompression
libpng 1.6.53 Library for manipulating PNG images
numpy 2.3.5 Package for scientific computing with Python
pillow 12.0.0 Friendly PIL fork (Python Imaging Library)
pytorch 2.9.1 Tensors and dynamic neural networks
webp 1.6.0 Image format providing lossless and lossy compression for web images

Depends on when building from source:

cmake 4.2.1 Cross-platform make
ninja 1.13.2 Small build system for use with gyp or CMake
python@3.14 3.14.2 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
torchvision 306
Installs on Request (30 days)
torchvision 245
Build Errors (30 days)
torchvision 0
Installs (90 days)
torchvision 1,215
torchvision --HEAD 1
Installs on Request (90 days)
torchvision 992
torchvision --HEAD 1
Installs (365 days)
torchvision 4,062
torchvision --HEAD 8
Installs on Request (365 days)
torchvision 3,524
torchvision --HEAD 8