notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
Port details
py-pytorch PyTorch: Tensors and dynamic neural networks in Python
2.1.1 misc on this many watch lists=1 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.0.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: 2023-11-19 23:23:11
Commit Hash: a4481fd
People watching this port, also watch:: libjxl, tcpdump, ratproxy, tmux
License: BSD3CLAUSE
WWW:
https://pytorch.org/
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
Homepage    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 py39-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 py39-pytorch listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-pytorch
Package flavors (<flavor>: <package>)
  • py39: py39-pytorch
distinfo:
TIMESTAMP = 1700419079 SHA256 (pytorch/pytorch-v2.1.1.tar.gz) = 1aa2aacced3c60c935d05f6d80232f8e99cdcb09eb51ceea697857b90c98d3fa SIZE (pytorch/pytorch-v2.1.1.tar.gz) = 283020986

Packages (timestamps in pop-ups are UTC):
py39-pytorch
ABIlatestquarterly
FreeBSD:12:aarch64--
FreeBSD:12:amd642.1.12.0.1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd642.1.12.0.1
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc--
FreeBSD:13:powerpc64--
FreeBSD:13:powerpc64le--
FreeBSD:13:riscv64--
FreeBSD:14:aarch64--
FreeBSD:14:amd642.1.12.0.1
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc--
FreeBSD:14:powerpc64--
FreeBSD:14:powerpc64le--
FreeBSD:14:riscv64--
FreeBSD:15:aarch64--
FreeBSD:15:amd642.1.1-
FreeBSD:15:armv6--
FreeBSD:15:armv7--
FreeBSD:15:i386--
FreeBSD:15:mips64--
FreeBSD:15:powerpc--
FreeBSD:15:powerpc64--
FreeBSD:15:powerpc64le--
FreeBSD:15:riscv64--
 
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. py39-numpy>=1.16,1<1.26,1 : math/py-numpy@py39
  5. fxdiv.h : devel/fxdiv
  6. py39-typing-extensions>0 : devel/py-typing-extensions@py39
  7. py39-yaml>0 : devel/py-yaml@py39
  8. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  9. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-filelock>0 : sysutils/py-filelock@py39
  2. py39-Jinja2>=0 : devel/py-Jinja2@py39
  3. py39-networkx>0 : math/py-networkx@py39
  4. py39-numpy>=1.16,1<1.26,1 : math/py-numpy@py39
  5. py39-sympy>0 : math/py-sympy@py39
  6. py39-typing-extensions>0 : devel/py-typing-extensions@py39
  7. py39-dill>0 : devel/py-dill@py39
  8. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  9. python3.9 : lang/python39
Library dependencies:
  1. libblis.so : math/blis
  2. libmpi.so : net/openmpi
  3. libonnx.so : misc/onnx
  4. libopenblas.so : math/openblas
  5. libpthreadpool.so : devel/pthreadpool
  6. libprotobuf.so : devel/protobuf
  7. libsleef.so : math/sleef
This port is required by:
for Build
  1. math/dgl
  2. math/py-dgl
  3. misc/py-pytorch-lightning
  4. misc/py-torchmetrics
  5. misc/py-torchvision
for Run
  1. math/py-dgl
  2. misc/py-pytorch-lightning
  3. misc/py-torchmetrics
  4. misc/py-torchvision

Configuration Options:
No options to configure
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.1.1/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.1
19 Nov 2023 23:23:11
commit hash: a4481fd38d80d62a19bd5ed60b73fc944da1b914commit hash: a4481fd38d80d62a19bd5ed60b73fc944da1b914commit hash: a4481fd38d80d62a19bd5ed60b73fc944da1b914commit hash: a4481fd38d80d62a19bd5ed60b73fc944da1b914 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
Author: Wen Heping
misc/py-pytorch: update 2.1.0 → 2.1.1

PR:	275198
2.1.0_1
17 Nov 2023 17:00:31
commit hash: 705e9e930b1a2b12ee18d0becc94174a2c0c94f9commit hash: 705e9e930b1a2b12ee18d0becc94174a2c0c94f9commit hash: 705e9e930b1a2b12ee18d0becc94174a2c0c94f9commit hash: 705e9e930b1a2b12ee18d0becc94174a2c0c94f9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Fix run-time failure: error: use of undeclared identifier
'__assert_fail'

One particular GPU-related assert macro has to be patched to be a regular
assert.
The problem was reported to the upstream.
2.1.0
17 Oct 2023 02:26:53
commit hash: 50936df61c8206049839a0040734059703e529b9commit hash: 50936df61c8206049839a0040734059703e529b9commit hash: 50936df61c8206049839a0040734059703e529b9commit hash: 50936df61c8206049839a0040734059703e529b9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
Author: Wen Heping
misc/py-pytorch: update 2.0.1 → 2.1.0

PR:	274514
2.0.1
30 Sep 2023 11:01:21
commit hash: 91ad9ed6508b1dd8544df223e77d9589bcf8b86ecommit hash: 91ad9ed6508b1dd8544df223e77d9589bcf8b86ecommit hash: 91ad9ed6508b1dd8544df223e77d9589bcf8b86ecommit hash: 91ad9ed6508b1dd8544df223e77d9589bcf8b86e files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
misc/py-pytorch: Remove CC/CPP/CXX exports

USES=llvm now by default exports CC/CPP/CXX so remove those

Approved by:	portmgr (blanket)
2.0.1
29 Sep 2023 16:15:15
commit hash: 3bf0aea53529ddcebfbbbf9c56188376b8df9ae7commit hash: 3bf0aea53529ddcebfbbbf9c56188376b8df9ae7commit hash: 3bf0aea53529ddcebfbbbf9c56188376b8df9ae7commit hash: 3bf0aea53529ddcebfbbbf9c56188376b8df9ae7 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
misc/py-pytorch: Update USES=compiler

Approved by:	portmgr (blanket)
Reference:	https://github.com/pytorch/pytorch/blob/v2.0.1/CMakeLists.txt#L40
2.0.1
19 Aug 2023 02:52:47
commit hash: f07b5ade5369c6fa9601bc0bd0514fe112ef44d5commit hash: f07b5ade5369c6fa9601bc0bd0514fe112ef44d5commit hash: f07b5ade5369c6fa9601bc0bd0514fe112ef44d5commit hash: f07b5ade5369c6fa9601bc0bd0514fe112ef44d5 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
misc/py-pytorch: Fix build on 14

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2.0.1
08 Aug 2023 08:42:45
commit hash: 8ee34ac073fbafb784c5fea013305461fd49274bcommit hash: 8ee34ac073fbafb784c5fea013305461fd49274bcommit hash: 8ee34ac073fbafb784c5fea013305461fd49274bcommit hash: 8ee34ac073fbafb784c5fea013305461fd49274b files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Update 2.0.0 → 2.0.1
2.0.0_2
23 May 2023 14:56:50
commit hash: 3ce3ab731ef28476698979d250964ceb770218b7commit hash: 3ce3ab731ef28476698979d250964ceb770218b7commit hash: 3ce3ab731ef28476698979d250964ceb770218b7commit hash: 3ce3ab731ef28476698979d250964ceb770218b7 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Enable Numpy

Numpy being enabled is assumed by some dependencies.
2.0.0_1
19 May 2023 08:07:27
commit hash: 1ae1599d8a2f748ff6b38d407caf4b4c9679d4e1commit hash: 1ae1599d8a2f748ff6b38d407caf4b4c9679d4e1commit hash: 1ae1599d8a2f748ff6b38d407caf4b4c9679d4e1commit hash: 1ae1599d8a2f748ff6b38d407caf4b4c9679d4e1 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Broken on aarch64

Reported by:	fallout
2.0.0_1
10 May 2023 04:21:00
commit hash: 85aebbb57bed45347a7c13009a2cf10abff229eccommit hash: 85aebbb57bed45347a7c13009a2cf10abff229eccommit hash: 85aebbb57bed45347a7c13009a2cf10abff229eccommit hash: 85aebbb57bed45347a7c13009a2cf10abff229ec files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Disable mkldnn, CUDA, and add a patch
2.0.0
09 May 2023 22:55:23
commit hash: a657265f7fa48d7803140d3650b052652b85ae07commit hash: a657265f7fa48d7803140d3650b052652b85ae07commit hash: a657265f7fa48d7803140d3650b052652b85ae07commit hash: a657265f7fa48d7803140d3650b052652b85ae07 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Broken on i386
2.0.0
08 May 2023 04:16:34
commit hash: df996f881153e573aa8d0f90ac93eaf59e134ed5commit hash: df996f881153e573aa8d0f90ac93eaf59e134ed5commit hash: df996f881153e573aa8d0f90ac93eaf59e134ed5commit hash: df996f881153e573aa8d0f90ac93eaf59e134ed5 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: New port: PyTorch: Tensors and dynamic neural networks in
Python

Number of commits found: 12