git: 981ef073b753 - main - misc/py-pytorch: update 2.5.1 → 2.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Mar 2025 19:07:40 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=981ef073b753efa36e66551fcdf31a2211ac31ef
commit 981ef073b753efa36e66551fcdf31a2211ac31ef
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-05 14:09:22 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-05 19:07:38 +0000
misc/py-pytorch: update 2.5.1 → 2.6.0
---
misc/py-pytorch/Makefile | 3 +--
misc/py-pytorch/distinfo | 6 +++---
misc/py-pytorch/files/patch-setup.py | 11 -----------
.../patch-third__party_kineto_libkineto_src_ThreadUtil.cpp | 11 -----------
4 files changed, 4 insertions(+), 27 deletions(-)
diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile
index b1d806687efb..c8adb0df30ed 100644
--- a/misc/py-pytorch/Makefile
+++ b/misc/py-pytorch/Makefile
@@ -1,7 +1,6 @@
PORTNAME= pytorch
DISTVERSIONPREFIX= v
-DISTVERSION= 2.5.1
-PORTREVISION= 7
+DISTVERSION= 2.6.0
CATEGORIES= misc # machine-learning
MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/misc/py-pytorch/distinfo b/misc/py-pytorch/distinfo
index 4b1c5737b490..ad7811521f78 100644
--- a/misc/py-pytorch/distinfo
+++ b/misc/py-pytorch/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1734497159
-SHA256 (pytorch/pytorch-v2.5.1.tar.gz) = 740eb5fff95e33cfe699bad43be83523f569c7cc7f9c285c2a255416443dd266
-SIZE (pytorch/pytorch-v2.5.1.tar.gz) = 298929057
+TIMESTAMP = 1741159433
+SHA256 (pytorch/pytorch-v2.6.0.tar.gz) = 3005690eb7b083c443a38c7657938af63902f524ad87a6c83f1aca38c77e3b57
+SIZE (pytorch/pytorch-v2.6.0.tar.gz) = 303743061
SHA256 (pytorch/pytorch-cpuinfo-1e83a2f_GH0.tar.gz) = b8945cf45d4f13054d7f52e8bd9314690ea840d4d0ff21febd95ff04de3c613e
SIZE (pytorch/pytorch-cpuinfo-1e83a2f_GH0.tar.gz) = 3541839
diff --git a/misc/py-pytorch/files/patch-setup.py b/misc/py-pytorch/files/patch-setup.py
deleted file mode 100644
index bd7212e9e3c0..000000000000
--- a/misc/py-pytorch/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2024-12-19 06:28:23 UTC
-+++ setup.py
-@@ -1144,7 +1144,7 @@ def main():
- "typing-extensions>=4.8.0",
- 'setuptools ; python_version >= "3.12"',
- 'sympy==1.12.1 ; python_version == "3.8"',
-- 'sympy==1.13.1 ; python_version >= "3.9"',
-+ 'sympy; python_version >= "3.9"',
- "networkx",
- "jinja2",
- "fsspec",
diff --git a/misc/py-pytorch/files/patch-third__party_kineto_libkineto_src_ThreadUtil.cpp b/misc/py-pytorch/files/patch-third__party_kineto_libkineto_src_ThreadUtil.cpp
deleted file mode 100644
index c439537220d6..000000000000
--- a/misc/py-pytorch/files/patch-third__party_kineto_libkineto_src_ThreadUtil.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/kineto/libkineto/src/ThreadUtil.cpp.orig 2024-07-24 18:41:37 UTC
-+++ third_party/kineto/libkineto/src/ThreadUtil.cpp
-@@ -59,7 +59,7 @@ int32_t systemThreadId() {
- #elif defined __FreeBSD__
- syscall(SYS_thr_self, &_sysTid);
- #else
-- _sysTid = (int32_t)syscall(SYS_gettid);
-+ _sysTid = (int32_t)syscall(SYS_getpid);
- #endif
- }
- return _sysTid;