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
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 0.23.0

Depends on:

jpeg-turbo 3.1.2 JPEG image codec that aids compression and decompression
libpng 1.6.50 Library for manipulating PNG images
numpy 2.3.4 Package for scientific computing with Python
pillow 12.0.0 Friendly PIL fork (Python Imaging Library)
pytorch 2.8.0 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.1.2 Cross-platform make
ninja 1.13.1 Small build system for use with gyp or CMake
python@3.13 3.13.9 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
torchvision 280
torchvision --HEAD 1
Installs on Request (30 days)
torchvision 206
torchvision --HEAD 1
Build Errors (30 days)
torchvision 0
Installs (90 days)
torchvision 1,042
torchvision --HEAD 2
Installs on Request (90 days)
torchvision 775
torchvision --HEAD 2
Installs (365 days)
torchvision 4,350
torchvision --HEAD 13
Installs on Request (365 days)
torchvision 3,933
torchvision --HEAD 13