python314Packages.torch: automatically adjust the triton cuda version

to improve overridability
This commit is contained in:
Sandro Jäckel
2026-07-12 01:52:17 +02:00
parent dea9c30f32
commit 3e54bbc91d

View File

@@ -81,7 +81,7 @@
# (dependencies without cuda support).
# Instead we should rely on overlays and nixpkgsFun.
# (@SomeoneSerge)
_tritonEffective ? if cudaSupport then triton-cuda else triton,
_tritonEffective ? if cudaSupport then triton-cuda.override { inherit cudaPackages; } else triton,
triton-cuda,
# Disable MKLDNN on aarch64-darwin, it negatively impacts performance,