pytorch
brew install pytorch
v2.12.1
BSD-3-Clause
Python machine learning library with dynamic neural networks and GPU acceleration support.
Why you might care
PyTorch is the dominant deep learning framework for research and production, offering intuitive Python APIs, automatic differentiation, and strong GPU/TPU support. Use it if you're building neural networks, doing computer vision or NLP work, or need tight integration with the Python data science stack; it competes with TensorFlow but is generally preferred for research due to its dynamic computation graphs and Pythonic design.
6.3k
30-day installs · #508
23.2k
90-day · #474
76.7k
365-day · #505
Runtime dependencies
Build dependencies
Links
- https://pytorch.org/
- Brew formula source: Formula/p/pytorch.rb
Blurb generated by claude-haiku-4-5 on 2mo ago.
Raw metadata
{
"aliases": [],
"alternatives": [
"TensorFlow",
"JAX",
"MXNet"
],
"build_dependencies": [
"cmake",
"ninja",
"python@3.14"
],
"categories": [
"library",
"data-science",
"ml",
"ai"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"abseil",
"eigen",
"libuv",
"libyaml",
"numpy",
"onnx",
"openblas",
"protobuf",
"sleef",
"libomp"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Tensors and dynamic neural networks",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:55+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "pytorch",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://pytorch.org/",
"homepage_og_description": "PyTorch Foundation is the deep learning community home for the open source PyTorch framework and ecosystem.",
"homepage_og_image": "https://pytorch.org/wp-content/uploads/2025/01/pytorch_seo.png",
"homepage_title": "PyTorch",
"installs_30d": 6257,
"installs_365d": 76654,
"installs_90d": 23153,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-3-Clause",
"llm_generated_at": "2026-06-20T23:45:18+00:00",
"llm_model": "claude-haiku-4-5",
"name": "pytorch",
"oldnames": [
"libtorch"
],
"one_liner": "Python machine learning library with dynamic neural networks and GPU acceleration support.",
"optional_dependencies": [],
"rank_30d": 508,
"rank_365d": 505,
"rank_90d": 474,
"raw_hash": "e36d77f43b5ec12b",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/p/pytorch.rb",
"tap": "homebrew/core",
"test_dependencies": [
"python@3.14"
],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.12.1",
"versioned_formulae": [],
"why_use_this": "PyTorch is the dominant deep learning framework for research and production, offering intuitive Python APIs, automatic differentiation, and strong GPU/TPU support. Use it if you\u0027re building neural networks, doing computer vision or NLP work, or need tight integration with the Python data science stack; it competes with TensorFlow but is generally preferred for research due to its dynamic computation graphs and Pythonic design."
}