diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..8d9349063698bfa871467c263693d8e2a19656c1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +pytorch-v2.8.0.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..05a575af312a6b7205cc394d985596f6c0bce273 --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openeuler/pytorch diff --git a/0001-remove-nccl-check.patch b/0001-remove-nccl-check.patch deleted file mode 100644 index 27346f1ab725579dbd06bb042773c9bf185287e5..0000000000000000000000000000000000000000 --- a/0001-remove-nccl-check.patch +++ /dev/null @@ -1,13 +0,0 @@ -+++ b/tools/build_pytorch_libs.py -@@ -119,7 +119,8 @@ def build_pytorch( - cmake: CMake, - ) -> None: - my_env = _create_build_env() -- checkout_nccl() -+ if os.getenv("USE_NCCL", "1") != "0": -+ checkout_nccl() - build_test = not check_negative_env_flag("BUILD_TEST") - cmake.generate( - version, cmake_python_library, build_python, build_test, my_env, rerun_cmake --- -2.34.1 \ No newline at end of file diff --git a/pytorch-v2.7.0.tar.gz b/pytorch-v2.7.0.tar.gz deleted file mode 100644 index 83dc3f6ccc7225555c5076afa7ce83b43d4600b6..0000000000000000000000000000000000000000 Binary files a/pytorch-v2.7.0.tar.gz and /dev/null differ diff --git a/pytorch-v2.8.0.tar.gz b/pytorch-v2.8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fee4c0ba3002f666cadde09808c85435d37b7ff2 --- /dev/null +++ b/pytorch-v2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c70a2c9488f6f6e8af5982a10d1cc2c37b7df5e6506d839daa5d5e250953d7b5 +size 330943132 diff --git a/pytorch.spec b/pytorch.spec index 20cff0b52eef90ae24fdcc1486e7e21fe28ee96a..b0bb741c4867cafc878b884a0458c23c77e79954 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -1,13 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: pytorch -Version: 2.7.0 +Version: 2.8.0 Release: 1 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration License: BSD-3-Clause URL: https://pytorch.org/ Source0: https://github.com/pytorch/pytorch/releases/download/v%{version}/pytorch-v%{version}.tar.gz -Patch1: 0001-remove-nccl-check.patch BuildRequires: g++ Requires: python3-future Requires: python3-numpy @@ -96,6 +95,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Sep 26 2025 kkz - 2.8.0-1 +- upgrade to 2.8.0 + * Fri Jul 11 2025 Xiaoshuang Wang <1790571317@qq.com> - 2.7.0-1 - upgrade to 2.7.0