I prepared pytorch-rocm 2.14.1+dfsg-0ubuntu1 for tenacious. It fixes this bug:
https://code.launchpad.net/~bullwinkle-team/ubuntu/+source/pytorch- rocm/+git/pytorch-rocm/+ref/tenacious-2.14.1-lpbug-2173598 The fix The autopkgtest list came from the 2.12 packaging and still ran Dimname_test and NamedTensor_test, which pytorch 2.14 no longer builds. I generated pytorch-rocm 2.14.1 from pytorch 2.14.1+dfsg-1 (same orig tarball, debian/ synced, debian/rocmbuild.sh), so the test list now matches the binaries that libtorch-rocm-test ships. On top of the Debian sync, I re-applied the Ubuntu ROCm changes from 2.12.1+dfsg-0ubuntu1/0ubuntu2: - build with llvm-toolchain-rocm (Debian 2.14.1 switched to the system clang-22), link with mold, amd64 only; - Conflicts/Replaces for libtorch{,-cuda}-2.12 and 2.14. I also: - bumped the ROCm Build-Depends floors to 10.0 and the amd-smi dependency to libamd-smi27; - added d/p/rocm-hipfile-optional.patch: pytorch 2.14 requires hipFile when built with ROCm >= 7.14, and hipFile isn't packaged yet, so GPUDirect Storage (USE_CUFILE) is turned off; - dropped the three Ubuntu patches that are now in upstream 2.14.1, and the libfmt 10 workaround (tenacious has libfmt 11). Test I built it in a clean tenacious container (archive ROCm 10.0) for gfx1151 only, to check that it builds, and ran the autopkgtests on those binaries on a gfx1151 GPU. All 118 tests pass: autopkgtest [15:57:07]: starting date and time: 2026-11-27 15:57:07+0000 [...] autopkgtest [16:04:27]: @@@@@@@@@@@@@@@@@@@@ summary py_import_and_version PASS py_blas_openblas PASS py_blas_blis PASS py_sequential PASS show_dangling_symlink_if_any PASS 1_of_113__cpptest__CppSignature_test PASS 2_of_113__cpptest__Dict_test PASS 3_of_113__cpptest__IListRef_test PASS [...] 111_of_113__cpptest__weakref_test PASS 112_of_113__cpptest__wrapdim_test PASS 113_of_113__cpptest__xla_tensor_test PASS >> autopkgtest exit: 0 Upload The upload needs pkg-rocm-tools >= 0.9.9 in tenacious. 0.9.8ubuntu2 has no tenacious GPU target list, so rocm-target-arch falls back to Debian sid's list, and pytorch-rocm would lose gfx942, gfx950, gfx1151, gfx120x and the generic targets. The new targets in 0.9.9 also need the whole ROCm stack rebuilt, so I'll upload this together with the ROCm 10.2 bump, which brings pkg-rocm-tools 0.9.9. We should get this fix in soon, but it has to wait for that. ** Changed in: pytorch-rocm (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2173598 Title: pytorch-rocm needs an update for pytorch 2.14 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pytorch-rocm/+bug/2173598/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
