mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python314Packages.torch: automatically adjust the triton cuda version
to improve overridability
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user