notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2024Q4
py-pytorch PyTorch: Tensors and dynamic neural networks in Python
2.7.1_1 misc on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.7.1Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-05-08 04:18:22
Last Update: 2025-07-03 09:47:18
Commit Hash: d994540
People watching this port, also watch:: autoconf, ta-lib, weberp, prestashop, irrlicht
License: BSD3CLAUSE
WWW:
https://pytorch.org/
https://github.com/pytorch/pytorch
Description:
PyTorch is a Python package that provides two high-level features: * Tensor computation (like NumPy) with strong GPU acceleration * Deep neural networks built on a tape-based autograd system
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-pytorch/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-pytorch
  • pkg install py311-pytorch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-pytorch listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pytorch
Package flavors (<flavor>: <package>)
  • py311: py311-pytorch
distinfo:
TIMESTAMP = 1749972703 SHA256 (pytorch/pytorch-v2.7.1.tar.gz) = 5befd2e540fd55ce4782d0ca7610ce5b572d756d7ea38090ef0f3c7c428fb20f SIZE (pytorch/pytorch-v2.7.1.tar.gz) = 285998076

Expand this list (2 items)

Collapse this list.

SHA256 (pytorch/pytorch-cpuinfo-1e83a2f_GH0.tar.gz) = b8945cf45d4f13054d7f52e8bd9314690ea840d4d0ff21febd95ff04de3c613e SIZE (pytorch/pytorch-cpuinfo-1e83a2f_GH0.tar.gz) = 3541839

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-pytorch
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-2.7.1_1------
FreeBSD:13:quarterly-2.7.1------
FreeBSD:14:latest-2.7.1_1------
FreeBSD:14:quarterly-2.7.1------
FreeBSD:15:latest-2.7.1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. gmake : devel/gmake
  3. pybind11>0 : devel/pybind11
  4. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  5. fxdiv.h : devel/fxdiv
  6. py311-typing-extensions>0 : devel/py-typing-extensions@py311
  7. py311-pyyaml>=0 : devel/py-pyyaml@py311
  8. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  9. python3.11 : lang/python311
  10. llvm-config15 : devel/llvm15
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-filelock>0 : sysutils/py-filelock@py311
  2. py311-fsspec>0 : filesystems/py-fsspec@py311
  3. py311-Jinja2>0 : devel/py-Jinja2@py311
  4. py311-networkx>0 : math/py-networkx@py311
  5. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  6. py311-sympy>=1.13.1 : math/py-sympy@py311
  7. py311-typing-extensions>=4.10.0 : devel/py-typing-extensions@py311
  8. py311-pyyaml>0 : devel/py-pyyaml@py311
  9. py311-astunparse>0 : devel/py-astunparse@py311
  10. py311-dill>0 : devel/py-dill@py311
  11. py311-networkx>0 : math/py-networkx@py311
  12. py311-protobuf>0 : devel/py-protobuf@py311
  13. python3.11 : lang/python311
Library dependencies:
  1. libabsl_base.so : devel/abseil
  2. libblis.so : math/blis
  3. libmpi_cxx.so : net/openmpi4
  4. libonnx.so : misc/onnx
  5. libopenblas.so : math/openblas
  6. libpthreadpool.so : devel/pthreadpool
  7. libprotobuf.so : devel/protobuf
  8. libsleef.so : math/sleef
This port is required by:
for Build
  1. audio/py-torchaudio
  2. math/dgl
  3. math/py-dgl
  4. misc/py-mmcv
  5. misc/py-mmdet
  6. misc/py-natten
  7. misc/py-torchmetrics
Expand this list (9 items / 2 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. misc/py-torchvision
  3. misc/py-xformers
  4. Collapse this list.
for Run
  1. audio/py-torchaudio
  2. math/py-dgl
  3. misc/py-accelerate
  4. misc/py-natten
  5. misc/py-openai-whisper
  6. misc/py-pytorch-lightning
  7. misc/py-safetensors
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. misc/py-schedulefree
  3. misc/py-timm
  4. misc/py-timm-vis
  5. misc/py-torch-geometric
  6. misc/py-torchmetrics
  7. misc/py-torchvision
  8. misc/py-xformers
  9. science/py-kliff
  10. Collapse this list.

Configuration Options:
No options to configure
Options name:
misc_py-pytorch
USES:
compiler:c++17-lang localbase:ldflags python llvm:max=15
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/pytorch/pytorch/releases/download/v2.7.1/
Collapse this list.

There are no commits on branch 2024Q4 for this port