summaryrefslogtreecommitdiff
path: root/pytorch.spec
diff options
context:
space:
mode:
Diffstat (limited to 'pytorch.spec')
-rw-r--r--pytorch.spec27
1 files changed, 11 insertions, 16 deletions
diff --git a/pytorch.spec b/pytorch.spec
index c1fe83a..5089482 100644
--- a/pytorch.spec
+++ b/pytorch.spec
@@ -1,20 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: pytorch
-Version: 2.1.2
-Release: 5
+Version: 2.7.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-add-Wno-error-nonnull-for-test-cpp-api.patch
-%ifarch riscv64
-Patch2: 0002-Fix-build-error-for-riscv64.patch
-%endif
-Patch3: 0003-Fix-for-PyTorch-mobile-flatbuffer-loader-out-of-bounds-reads.patch
-%ifarch loongarch64
-Patch4: 0004-Add-loongarch64-support-for-third_party.patch
-%endif
BuildRequires: g++
Requires: python3-future
Requires: python3-numpy
@@ -93,15 +85,18 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed Mar 5 2025 zhangzikang <zhangzikang@kylinos.cn> - 2.1.2-5
-- Sync from 24.03sp1: Fix build error for loongarch64
+* Thu Jul 11 2025 Xiaoshuang Wang <1790571317@qq.com> - 2.7.0-1
+- upgrade to 2.7.0
-* Wed Mar 5 2025 wangxiaomeng <wangxiaomeng@kylinos.cn> - 2.1.2-4
-- Sync from 24.03sp1: Fix CVE-2024-31584
-
-* Wed Jul 17 2024 Dingli Zhang <dingli@iscas.ac.cn> - 2.1.2-3
+* Wed Jul 17 2024 Dingli Zhang <dingli@iscas.ac.cn> - 2.1.2-5
- Fix build error for riscv64
+* Wed May 22 2024 zhangzikang <zhangzikang@kylinos.cn> - 2.1.2-4
+- Fix build error for loongarch64
+
+* Mon Apr 22 2024 wangxiaomeng <wangxiaomeng@kylinos.cn> - 2.1.2-3
+- Fix CVE-2024-31584
+
* Thu Jan 11 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.1.2-2
- Patch: Add -Wno-error=nonnull for test/cpp/api/