Update to 2.8.0
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
This commit is contained in:
parent
eaa9838b3c
commit
d67e1e127a
3 changed files with 7 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -24,3 +24,4 @@
|
|||
/pytorch-a1cb3cc.tar.gz
|
||||
/v24.12.23.tar.gz
|
||||
/kineto-5e75018.tar.gz
|
||||
/pytorch-v2.8.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@
|
|||
%global miniz_version 3.0.2
|
||||
%global pybind11_version 2.13.6
|
||||
%else
|
||||
%global commit0 a1cb3cc05d46d198467bebbb6e8fba50a325d4e7
|
||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||
%global date0 20250723
|
||||
%global pypi_version 2.8.0
|
||||
%global flatbuffers_version 24.12.23
|
||||
%global miniz_version 3.0.2
|
||||
|
|
@ -55,7 +52,7 @@ Name: python-%{pypi_name}
|
|||
%if %{with gitcommit}
|
||||
Version: %{pypi_version}^git%{date0}.%{shortcommit0}
|
||||
%else
|
||||
Version: %{pypi_version}.rc8
|
||||
Version: %{pypi_version}
|
||||
%endif
|
||||
Release: %autorelease
|
||||
Summary: PyTorch AI/ML framework
|
||||
|
|
@ -67,8 +64,7 @@ URL: https://pytorch.org/
|
|||
Source0: %{forgeurl}/archive/%{commit0}/pytorch-%{shortcommit0}.tar.gz
|
||||
Source1000: pyproject.toml
|
||||
%else
|
||||
Source0: %{forgeurl}/archive/%{commit0}/pytorch-%{shortcommit0}.tar.gz
|
||||
Source1000: pyproject.toml
|
||||
Source0: %{forgeurl}/releases/download/v%{version}/pytorch-v%{version}.tar.gz
|
||||
%endif
|
||||
Source1: https://github.com/google/flatbuffers/archive/refs/tags/v%{flatbuffers_version}.tar.gz
|
||||
Source2: https://github.com/pybind/pybind11/archive/refs/tags/v%{pybind11_version}.tar.gz
|
||||
|
|
@ -260,9 +256,7 @@ Requires: python3-%{pypi_name}%{?_isa} = %{version}-%{release}
|
|||
cp %{SOURCE1000} .
|
||||
|
||||
%else
|
||||
%autosetup -p1 -n pytorch-%{commit0}
|
||||
# Overwrite with a git checkout of the pyproject.toml
|
||||
cp %{SOURCE1000} .
|
||||
%autosetup -p1 -n pytorch-v%{version}
|
||||
%endif
|
||||
|
||||
# Remove bundled egg-info
|
||||
|
|
@ -310,8 +304,8 @@ rm -rf third_party/kineto/*
|
|||
cp -r kineto-*/* third_party/kineto/
|
||||
%endif
|
||||
|
||||
# hipblaslt only building with gfx90a
|
||||
sed -i -e 's@"gfx90a", "gfx940", "gfx941", "gfx942"@"gfx90a"@' aten/src/ATen/native/cuda/Blas.cpp
|
||||
# Adjust for the hipblaslt's we build
|
||||
sed -i -e 's@"gfx90a", "gfx940", "gfx941", "gfx942"@"gfx90a", "gfx1103", "gfx1150", "gfx1151", "gfx1100", "gfx1101", "gfx1200", "gfx1201"@' aten/src/ATen/native/cuda/Blas.cpp
|
||||
|
||||
%if 0%{?rhel}
|
||||
# In RHEL but too old
|
||||
|
|
|
|||
1
sources
1
sources
|
|
@ -10,3 +10,4 @@ SHA512 (kineto-be13176.tar.gz) = 41a08c7da9eea7d12402f80a5550c9d4df79798719cc52b
|
|||
SHA512 (pytorch-a1cb3cc.tar.gz) = 92bf8b2c2ef0b459406b60169ecebdc50652c75943e3d6087e4d261f6e308dbad365529561e0f07ea3f0b71790efb68b5e4ab2f44e270462097208d924dc2d95
|
||||
SHA512 (v24.12.23.tar.gz) = f97762ba41b9cfef648e93932fd789324c6bb6ebc5b7aeca8185c9ef602294b67d73aea7ae371035579a1419cbfbeba7c3e88b31b5a5848db98f5e8a03b982b1
|
||||
SHA512 (kineto-5e75018.tar.gz) = 921b96a56e01d69895b79e67582d8977ed6f873573ab41557c5d026ada5d1f6365e4ed0a0c6804057c52e92510749fc58619f554a164c1ba9d8cd13e789bebd0
|
||||
SHA512 (pytorch-v2.8.0.tar.gz) = 791e658eab87fb957f025558cb9f925078d2426ab7b6f60771d9841dfb691f67d905ba1330a800008efe7c938b6c69bdc52232bccfe8d4860e795a532cd69d28
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue