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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q1
py-pytorch PyTorch: Tensors and dynamic neural networks in Python
2.8.0_4 misc on this many watch lists=0 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.8.0_4Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-31 18:21:06
Last Update: 2026-01-31 18:20:10
Commit Hash: 8b69c8a
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found 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 = 1755586021 SHA256 (pytorch/pytorch-v2.8.0.tar.gz) = c70a2c9488f6f6e8af5982a10d1cc2c37b7df5e6506d839daa5d5e250953d7b5 SIZE (pytorch/pytorch-v2.8.0.tar.gz) = 330943132

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-----n/an/an/a
FreeBSD:13:quarterly-2.10.0_2---n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

py312-pytorch
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-2.13.0------
FreeBSD:14:quarterly-2.12.1------
FreeBSD:15:latest-2.13.0n/a-n/an/a--
FreeBSD:15:quarterly-2.12.1n/a-n/an/a--
FreeBSD:16:latest-2.13.0n/a-n/an/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. glslc : graphics/shaderc
  9. vulkan-headers>0 : graphics/vulkan-headers
  10. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  11. python3.11 : lang/python311
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
  9. libvulkan.so : graphics/vulkan-loader
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-pytorch-2.8.0_4: VULKAN=on: Vulkan GPU support ===> Use 'make config' to modify these settings
Options name:
misc_py-pytorch
USES:
compiler:c++17-lang localbase:ldflags python
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.8.0/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.8.0_4
31 Jan 2026 18:20:10
commit hash: 8b69c8aa31af64545a24e840780e9f2ed27297bbcommit hash: 8b69c8aa31af64545a24e840780e9f2ed27297bbcommit hash: 8b69c8aa31af64545a24e840780e9f2ed27297bbcommit hash: 8b69c8aa31af64545a24e840780e9f2ed27297bb files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
misc/py-pytorch: fix build with clang >= 19 and libc++ 21

In ports f07b5ade5369 misc/py-pytorch was forced onto llvm:max=15, with
the reason "fix build on 14". Remove this, and add a patch to make it
build with clang >= 19 and libc++ 21.

PR:		292664
Approved by:	yuri (maintainer)
MFH:		2026Q1

(cherry picked from commit 3bd3c194d694c34c2b6a8e0ee93b78e2f1a65a9f)

Number of commits found: 1