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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-pytorch PyTorch: Tensors and dynamic neural networks in Python
2.2.2 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.2.1_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: 2024-04-24 14:59:23
Commit Hash: fa3f71d
People watching this port, also watch:: tmux, libjxl, tcpdump, vigenere
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 = 1713897033 SHA256 (pytorch/pytorch-v2.2.2.tar.gz) = 57a1136095bdfe769acb87876dce77212da2c995c61957a67a1f16172d235d17 SIZE (pytorch/pytorch-v2.2.2.tar.gz) = 288213626

Expand this list (2 items)

Collapse this list.

SHA256 (pytorch/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz) = 658acaf67573484abc7a093066d3766f9a3b94aff5b77e0f4e9c72cee5ebaa4a SIZE (pytorch/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz) = 3534893

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py39-pytorch
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-2.2.2------
FreeBSD:13:quarterly-2.2.1_1------
FreeBSD:14:latest-2.2.1_1------
FreeBSD:14:quarterly-2.2.1_1------
FreeBSD:15:latest-2.2.2n/a-n/a---
FreeBSD:15:quarterly--n/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. 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
  10. llvm-config15 : devel/llvm15
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. libabsl_flags.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-torchmetrics
  7. misc/py-torchvision
Expand this list (8 items / 1 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. misc/py-xformers
  3. Collapse this list.
for Run
  1. audio/py-torchaudio
  2. math/py-dgl
  3. misc/py-accelerate
  4. misc/py-openai-whisper
  5. misc/py-pytorch-lightning
  6. misc/py-timm
  7. misc/py-timm-vis
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. misc/py-torchmetrics
  3. misc/py-torchvision
  4. misc/py-xformers
  5. 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.2.2/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.2.2
24 Apr 2024 14:59:23
commit hash: fa3f71dd47e3b123354e3f74663fbb819f9d1ba9commit hash: fa3f71dd47e3b123354e3f74663fbb819f9d1ba9commit hash: fa3f71dd47e3b123354e3f74663fbb819f9d1ba9commit hash: fa3f71dd47e3b123354e3f74663fbb819f9d1ba9 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: update 2.2.1 → 2.2.2

Reported by:	portscout
2.2.1_1
22 Mar 2024 02:56:13
commit hash: 4719d1e11f5e300f686b174cf6ca9baf5c20e1b0commit hash: 4719d1e11f5e300f686b174cf6ca9baf5c20e1b0commit hash: 4719d1e11f5e300f686b174cf6ca9baf5c20e1b0commit hash: 4719d1e11f5e300f686b174cf6ca9baf5c20e1b0 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: Fix the problem that the cpuinfo library didn't support FreeBSD

The symptoms included error messages and exceptions.

Now the bundled cpuinfo directory is replaced with the cpuinfo patched with
the pull request patch that fixes FreeBSD compatibility.
2.2.1
24 Feb 2024 22:35:33
commit hash: 7fab46a7b1300456c6dff515ea7112d70baf9cdecommit hash: 7fab46a7b1300456c6dff515ea7112d70baf9cdecommit hash: 7fab46a7b1300456c6dff515ea7112d70baf9cdecommit hash: 7fab46a7b1300456c6dff515ea7112d70baf9cde files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/{,py-}pytorch: update 2.2.0 → 2.2.1

Reported by:	portscout
2.2.0_1
18 Feb 2024 09:29:31
commit hash: 9eba6162f8f63de2b89ae35eef90e7c296f2373acommit hash: 9eba6162f8f63de2b89ae35eef90e7c296f2373acommit hash: 9eba6162f8f63de2b89ae35eef90e7c296f2373acommit hash: 9eba6162f8f63de2b89ae35eef90e7c296f2373a files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after OpenMPI upgrade
2.2.0
18 Feb 2024 09:22:35
commit hash: a62b21d98ac3a81da7047e4f6c3cc97b28c4a955commit hash: a62b21d98ac3a81da7047e4f6c3cc97b28c4a955commit hash: a62b21d98ac3a81da7047e4f6c3cc97b28c4a955commit hash: a62b21d98ac3a81da7047e4f6c3cc97b28c4a955 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: fix the dependency to net/openmpi4

For ports without USES=mpi:openmpi. For the others, it will be set
automatically.
2.2.0
13 Feb 2024 16:44:14
commit hash: 76a4e01da264edf2db9c075afe874f9a6997df1ccommit hash: 76a4e01da264edf2db9c075afe874f9a6997df1ccommit hash: 76a4e01da264edf2db9c075afe874f9a6997df1ccommit hash: 76a4e01da264edf2db9c075afe874f9a6997df1c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: update 2.1.2 → 2.2.0
2.1.2
27 Dec 2023 00:23:56
commit hash: aa45d9f594468859a483ddfbe3074c8dd4ddea84commit hash: aa45d9f594468859a483ddfbe3074c8dd4ddea84commit hash: aa45d9f594468859a483ddfbe3074c8dd4ddea84commit hash: aa45d9f594468859a483ddfbe3074c8dd4ddea84 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-pytorch: update 2.1.1 → 2.1.2

Reported by:	portscout
2.1.1_2
14 Dec 2023 17:03:10
commit hash: 69e2e87fa56b54e267429b326f7f6188a7baaa71commit hash: 69e2e87fa56b54e267429b326f7f6188a7baaa71commit hash: 69e2e87fa56b54e267429b326f7f6188a7baaa71commit hash: 69e2e87fa56b54e267429b326f7f6188a7baaa71 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/protobuf: Update to 24.4

- Use USES=pathfix to fix .pc installation
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
2.1.1_1
12 Dec 2023 19:03:50
commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after the upgrade of OpenBLAS

PR:		273219
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: 21