misc/pytorch: Update to 2.1.0 - Add LICENSE_FILE - Remove PYTHON_EXECUTABLE which is set by USES=python now - Comment BROKEN_* temporarily to see if the new version builds Changes: https://github.com/pytorch/pytorch/releases
Patch: https://people.FreeBSD.org/~sunpoet/patch/misc-pytorch.txt It is required for devel/protobuf 24.4 update. The files/ directory is taken from misc/py-pytorch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dbe851cc291bde43def88e727615619c64c2117c commit dbe851cc291bde43def88e727615619c64c2117c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-27 10:09:26 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-27 10:30:09 +0000 misc/pytorch: Update to 2.1.0 - Add LICENSE_FILE - Remove PYTHON_EXECUTABLE which is set by USES=python now - Comment BROKEN_* temporarily to see if the new version builds Changes: https://github.com/pytorch/pytorch/releases PR: 274859 Approved by: maintainer (timeout, 25 days) misc/pytorch/Makefile | 19 +- misc/pytorch/distinfo | 6 +- .../patch-aten_src_ATen_native_SoftMax.cpp (gone) | 11 - ...native_sparse_ValidateCompressedIndicesCommon.h | 82 ++- ...c_ATen_native_transformers_attention.cpp (gone) | 11 - misc/pytorch/files/patch-cmake_Dependencies.cmake | 17 +- .../patch-third__party_cpuinfo_CMakeLists.txt | 53 +- ...hird__party_kineto_libkineto_src_ThreadUtil.cpp | 4 +- misc/pytorch/pkg-plist | 784 ++++++++++++++------- 9 files changed, 637 insertions(+), 350 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=96da84adbff54be3917b922df418b037d2fc0cc6 commit 96da84adbff54be3917b922df418b037d2fc0cc6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-27 10:45:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-27 10:45:51 +0000 misc/pytorch: Update to 2.1.0 - Add LICENSE_FILE - Remove PYTHON_EXECUTABLE which is set by USES=python now - Comment BROKEN_* temporarily to see if the new version builds Changes: https://github.com/pytorch/pytorch/releases PR: 274859 Approved by: maintainer (timeout, 25 days) misc/pytorch/files/patch-CMakeLists.txt (new) | 39 ++++++++++++++++++++++ ...rc_ATen_cpu_vec_vec256_vec256__bfloat16.h (new) | 11 ++++++ ...rc_ATen_cpu_vec_vec512_vec512__bfloat16.h (new) | 11 ++++++ .../files/patch-c10_core_DynamicCast.h (new) | 21 ++++++++++++ .../files/patch-caffe2_CMakeLists.txt (new) | 11 ++++++ .../files/patch-caffe2_proto_CMakeLists.txt (new) | 8 +++++ 6 files changed, 101 insertions(+)
Committed. Thanks!