python314Packages.torch: automatically adjust the magma cuda version

to improve overridability
This commit is contained in:
Sandro Jäckel
2026-07-08 02:08:12 +02:00
parent f71a0a88b3
commit 6150d2f95a

View File

@@ -14,7 +14,7 @@
autoAddDriverRunpath,
effectiveMagma ?
if cudaSupport then
magma-cuda-static
magma-cuda-static.override { inherit cudaPackages; }
else if rocmSupport then
magma-hip
else