python314Packages.torch: automatically adjust the magma cuda version

to improve overridability
This commit is contained in:
Sandro Jäckel
2026-07-12 02:48:20 +02:00
parent f71a0a88b3
commit 6150d2f95a
@@ -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