Commit graph

90 commits

Author SHA1 Message Date
Peter Robinson
8dce5406c1 Add binutils-gold build dep
We explicitly set the USE_GOLD_LINKER optoin but we don't
add the binutils-gold build dep so it errors, add the dep
to fix that.
2024-10-31 11:18:03 +00:00
Peter Robinson
f6e9c14785 Fix various Provides including the pytotch provides
The Provides need to be in the python3-torch package as
the root package isn't one that users see, it's purely
the src.rpm so move all the Provides to the right
location and drop duplicate pytotch provides while we're
at it.

Fixes: RHBZ #2272064
2024-10-31 11:01:13 +00:00
Tom Rix
30effbf7a8 Use the new xnnpack
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-10-29 12:48:21 -07:00
Tom Rix
1c67f87710 Update gitcommit to v2.5.0-rc9
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-10-11 06:41:52 -07:00
Tom Rix
07745618d1 Update for llvm18
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-10-10 04:07:13 -07:00
Tom Rix
905814b8c0 Some help finding llvm18
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-10-07 12:27:39 -07:00
Tom Rix
93a8fc8c0d Simplify cuda versions
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-09-15 11:04:21 -07:00
Tom Rix
e6c59f2665 Update gitcommit
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-09-15 06:27:11 -07:00
Tom Rix
d6f80bf26e Update to 2.4.1
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-09-09 09:43:45 -07:00
Tom Rix
2904630b42 amdsmi is a runtime dependency for ROCm
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-09-03 05:30:39 -07:00
Tom Rix
9d8df35466 Update the gitcommit
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-08-30 15:31:17 -07:00
Tom Rix
fdb139d12b Start tracking 2.5
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-08-15 10:24:43 -07:00
Tom Rix
c5c84ab4b2 Disable fbgemm with rocm
With building python-torchvision, there is this link error.
trix@fedora:~/fedora/python-torchvision$ c++filt _ZN2at4cuda4blas9int8_gemmEbblllPKalS3_lPil
at::cuda::blas::int8_gemm(bool, bool, long, long, long, signed char const*, long, signed char const*, long,\
 int*, long)

So  disable fbgemm with rocm is enabled.
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2024-08-07 11:13:43 -07:00
Tom Rix
548a9ad819 Enable hipblaslt
Remove gfx10,gfx11 - koji taking too long to build.

Signed-off-by: Tom Rix <trix@amd.com>
2024-08-05 05:02:57 -07:00
Tom Rix
da9c85c23d Remove the packages 2024-08-04 06:12:14 -07:00
Tom Rix
5b0238639f Simplify ROCm gpu list
gfx8 is obsolete
gfx110,gfx942 and gfx90a are redundant.

Signed-off-by: Tom Rix
2024-08-03 20:47:55 -07:00
Tom Rix
2efd1f0d79 Fbgemm not available on aarch64
Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-27 08:58:44 -04:00
Tom Rix
86185b46a2 PyTorch 2.4
Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-25 16:33:22 -06:00
Tom Rix
2debc89ffd Fix USE_NUMA
Needed a BuildRequires: numactl-devel

Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-20 15:43:46 -06:00
Tom Rix
2d9b5647c3 Use fbgemm on 2.4
Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-20 11:41:10 -06:00
Kefu Chai
5a34ef7cfd Rebuilt for fmt 11 2024-07-16 08:02:17 +08:00
Tom Rix
6b67ee1804 Update to 2.4-rc8
Also change logic to use compat gcc
Add logic to these magma package

Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-10 06:35:10 -06:00
Tom Rix
9028e14b85 Switch from openblas to flexiblas (rhbz#2295953)
Suggested-by: Inaki Ucar
Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-05 10:20:14 -06:00
Tom Rix
d5247c7f63 Show use of hipblaslt package
PyTorch+ROCm requires hipblaslt.
Instead of patching to work around this requirement, use hipblaslt.

Signed-off-by: Tom Rix <trix@redhat.com>
2024-07-04 09:35:32 -06:00
Tom Rix
3f2aad9a21 Add a CUDA subpackage
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-26 09:46:41 -04:00
Tom Rix
3a008de5e5 Update gitcommit to v2.4.0-rc6
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-26 05:50:40 -06:00
Tom Rix
bcdd1822e3 Add CUDA BuildRequires
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-25 08:09:08 -04:00
Tom Rix
c7679453c9 Update gitcommit to 2.4.0-rc5
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-24 16:21:55 -04:00
Tom Rix
4e1bebf65f Update gitcommit to 2.4.0-rc3
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-21 05:35:17 -06:00
Benjamin A. Beasley
dc54ab1a71 Patch for sleef 3.6 2024-06-18 05:34:11 -06:00
Tom Rix
751813c99a Update gitcommit
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-13 15:49:35 -04:00
Tom Rix
1311b02e13 Use specific version of CUDA base on disto release
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-13 09:35:46 -04:00
Tom Rix
af5905971b Fix broken cpuinfo for aarch64
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-11 15:07:44 -06:00
Tom Rix
3c49a148a5 Reduce amd gpu list on F40
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-11 15:04:34 -06:00
Tom Rix
0073eb5260 Fix the normal build.
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-10 14:03:07 -04:00
Tom Rix
81b0cc6197 Update gitcommit
Fixup CUDA build on F39

Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-09 15:08:04 -04:00
Tom Rix
4f7937aa0d Update to 2.3.1
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-09 09:46:55 -06:00
Tom Rix
f33a5cb176 Add --with compat_gcc
Experimental gcc 13 on rawhide.

Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-08 13:43:02 -06:00
Tom Rix
cefcc3d9e0 Do not apply ROCm patches with CUDA build
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-08 12:04:20 -04:00
Tom Rix
a4bcccda60 Do not conditionally patch
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-06 18:17:37 -06:00
Tom Rix
abd06324b2 Update for ROCm 6.1.1
Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-06 15:54:22 -06:00
Tom Rix
511c020e43 Update the ToT git commit
This broke the 0001-disable-submodule-serach.patch.
So convert patch into a sed command.

Signed-off-by: Tom Rix <trix@redhat.com>
2024-06-05 14:10:18 -06:00
Tom Rix
8f0c68e4dd Start tracking upstream 2.4
Replace fmt and FXdiv patches with sed
These patches do not apply to gitcommit.
Some other changes that do not exist in ToT commented out.

Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-21 06:36:59 -06:00
Tom Rix
aa3ab781d0 Roll ROCm support claim back to f40
Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-18 13:05:15 -04:00
Tom Rix
64cda83196 Add cuda arches to build for
Suggested-by: Steve Royer <sroyer@redhat.com>
Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-16 14:07:10 -06:00
Tom Rix
34c6e67d31 Fill in missing packages on F40 and F39 with third_party.
These packages are in Fedora, just not in the old releases.

Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-06 19:28:22 -06:00
Tom Rix
5d1bd21efd Collect the buildrequires that depend on F40 together.
Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-05 15:43:38 -04:00
Tom Rix
c3a7e33a06 Improve fedora conditional use versions.
Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-05 15:29:24 -04:00
Tom Rix
237cc5742f Enable dynamo on 3.12
Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-02 18:07:56 -06:00
Tom Rix
f28581bb0c Disable dwz with ROCm
Work around a problem with running out of memory and thrashing the build machine.
Eanble opencv for Fedora

Signed-off-by: Tom Rix <trix@redhat.com>
2024-05-02 11:07:50 -04:00