macOS
brew install pytorchlocal Homebrew formula metadata
brew / Rang 484
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für pytorch in AI-Agent-Workflows.
Installation
brew install pytorchlocal Homebrew formula metadata
sudo apt install libtorch-devDebian stable package indexes · libtorch-dev · Quelle: deb.debian.org
sudo dnf install python3-torchFedora Rawhide package metadata · python3-torch · Quelle: dl.fedoraproject.org
Überblick
Tensors and dynamic neural networks
Verlauf
PyTorch is an open-source tensor and deep-learning framework that combines a Python-first eager programming model with automatic differentiation, accelerator support, distributed training, compilation, and production deployment facilities.
Development began in 2016 among contributors from the Lua Torch community, with substantial support from Facebook AI Research and participation from other organizations. PyTorch launched publicly in 2017 as a tensor and automatic-differentiation framework designed for flexible neural-network research.
The PyTorch 1.0 effort combined PyTorch's research-oriented frontend with production capabilities associated with Caffe2 and ONNX. Later compiler work added `torch.compile` while retaining eager execution as the normal programming model.
In 2022, governance moved from Meta to the PyTorch Foundation under the Linux Foundation. This established a neutral organizational home supported by major cloud and accelerator companies while technical direction remained with project maintainers.
PyTorch initially won adoption among AI researchers through its imperative, Python-first interface and dynamic computation graphs. The project's first-year retrospective documented a rapidly growing ecosystem of domain libraries, research use, meetups, and model-export work.
PyTorch 1.0 broadened that appeal toward production by incorporating Caffe2-derived deployment capabilities and introducing a path from eager research code to tracing, compilation, and export. The project subsequently became shared infrastructure across academia, cloud providers, hardware vendors, and AI application developers.
Researchers and developers use tensors, autograd, `torch.nn`, optimizers, data utilities, and domain libraries to build and train models on CPUs, GPUs, and other accelerators.
Infrastructure teams use distributed primitives and `torchrun` for multi-process training. Deployment workflows may use compilation, export, quantization, native C++ integration, or specialized runtimes from the wider PyTorch ecosystem.
PyTorch helped make eager tensor programs written as ordinary Python a mainstream deep-learning workflow. Package maintainers care about its unusually broad binary surface: Python bindings, native libraries, CPU and accelerator backends, distributed launch tools, and closely coordinated domain packages must all remain compatible.
The Homebrew formula is useful where PyTorch is managed as system software rather than solely inside a Python environment. Its `torchrun` executable also makes the package directly relevant to command-line and distributed-training workflows.
Sicherheitslage
Für pytorch wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
torchrun | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/pytorch/pytorch
Installationsmetadaten
| Paketschlüssel | brew:pytorch |
|---|---|
| Version | 2.15.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/pytorch |
| Homepage | https://pytorch.org/ |
| Repository | https://github.com/pytorch/pytorch |
| Upstream-Dokumentation | https://pytorch.org/ |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/pytorch/pytorch/releases/download/v2.15.0/pytorch-v2.15.0.tar.gz |
| Zuletzt aktualisiert | 2026-10-31T01:50:32Z |
| Pulse | updated |
| Abhängigkeiten | abseil, eigen, libomp, libuv, libyaml, numpy, onnx, openblas, protobuf, pybind11, sleef |
| Build-Abhängigkeiten | cmake, ninja, python@3.15 |
| Bottle | verfügbar (auf arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pytorch |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libtorch-dev 2.6.0+dfsg-7
Tensors and Dynamic neural networks in Python (Development Files)
sudo apt install libtorch-devlibtorch-test 2.6.0+dfsg-7
Tensors and Dynamic neural networks in Python (Test Binaries)
sudo apt install libtorch-testlibtorch2.6 2.6.0+dfsg-7
Tensors and Dynamic neural networks in Python (Shared Objects)
sudo apt install libtorch2.6python3-torch 2.6.0+dfsg-7
Tensors and Dynamic neural networks in Python (Python Interface)
sudo apt install python3-torchpython3-torch 2.12.0-7.fc46
PyTorch AI/ML framework
sudo dnf install python3-torchQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.