pkg.soopen package index

brew / 順位 484

pytorch を Homebrew, apt, dnf でインストール

pytorch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install pytorch

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install libtorch-dev

Debian stable package indexes · libtorch-dev · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install python3-torch

Fedora Rawhide package metadata · python3-torch · ソース: dl.fedoraproject.org

概要

パッケージ概要

Tensors and dynamic neural networks

コマンドとエイリアス

  • torchrun

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2016: Development begins among members of the Lua Torch community.
  • 2017: PyTorch launches publicly.
  • 2018: The PyTorch 1.0 initiative combines the research frontend with Caffe2 production capabilities.
  • 2022: PyTorch joins the Linux Foundation under the new PyTorch Foundation.
  • 2023: PyTorch 2.0 introduces `torch.compile` while preserving eager-mode development.

Related projects

  • Lua Torch supplied the project lineage and part of its original contributor community.
  • Caffe2 contributed production-oriented capabilities during the development of PyTorch 1.0.
  • ONNX provided an interchange route for exporting models to other runtimes and hardware stacks.
  • The wider official ecosystem includes torchvision, torchaudio, TorchRL, ExecuTorch, torchao, and distributed and compiler components.

セキュリティ状態

保護ツール対応はまだ見つかっていません

pytorch に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 5 個のプラットフォームターゲットで利用できます。
  • 11 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
torchruncliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-11-04
マネージャ版2.15.0
マネージャ更新日2026-10-31
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/pytorch/pytorch

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:pytorch
バージョン2.15.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/pytorch
ホームページhttps://pytorch.org/
リポジトリhttps://github.com/pytorch/pytorch
上流ドキュメントhttps://pytorch.org/
ライセンスBSD-3-Clause
ソースアーカイブhttps://github.com/pytorch/pytorch/releases/download/v2.15.0/pytorch-v2.15.0.tar.gz
最終更新2026-10-31T01:50:32Z
Pulseupdated
依存関係abseil, eigen, libomp, libuv, libyaml, numpy, onnx, openblas, protobuf, pybind11, sleef
ビルド依存関係cmake, ninja, python@3.15
Bottle利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepytorch
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libtorch-dev 2.6.0+dfsg-7

Tensors and Dynamic neural networks in Python (Development Files)

https://pytorch.org/

sudo apt install libtorch-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pytorch
  • 3 依存関係
  • normalized package name match
  • 一致条件: Pytorch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtorch-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libtorch-test 2.6.0+dfsg-7

Tensors and Dynamic neural networks in Python (Test Binaries)

https://pytorch.org/

sudo apt install libtorch-test
  • Section: science
  • Architecture: amd64
  • Source Package: pytorch
  • 6 依存関係
  • normalized package name match
  • 一致条件: Pytorch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtorch-test from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libtorch2.6 2.6.0+dfsg-7

Tensors and Dynamic neural networks in Python (Shared Objects)

https://pytorch.org/

sudo apt install libtorch2.6
  • Section: libs
  • Architecture: amd64
  • Source Package: pytorch
  • 25 依存関係
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Pytorch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtorch2.6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-torch 2.6.0+dfsg-7

Tensors and Dynamic neural networks in Python (Python Interface)

https://pytorch.org/

sudo apt install python3-torch
  • Section: python
  • Architecture: amd64
  • Source Package: pytorch
  • 26 依存関係
  • 1 提供
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Pytorch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-torch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
dnf95%

python3-torch 2.12.0-7.fc46

PyTorch AI/ML framework

https://pytorch.org/

sudo dnf install python3-torch
  • License: BSD-3-Clause AND BSD-2-Clause AND 0BSD AND Apache-2.0 AND MIT AND BSL-1.0 AND GPL-3.0-or-later AND Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: python-torch
  • 30 依存関係
  • 16 提供
  • normalized package name match
  • 一致条件: Pytorch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-torch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation