Repository navigation
python3Packages.triton: 3.6.0 -> 3.7.0; python3Packages.torch: 2.11.0 -> 2.12.0 - #519925
Conversation
There was a problem hiding this comment.
The PR's base branch is set to master, and this PR causes 608 rebuilds.
Please consider whether this PR causes a mass rebuild according to our conventions.
If it does cause a mass rebuild, please change the base branch to the right base branch for your changes (probably staging).
If it does not cause a mass rebuild, this message can be ignored.
cfcf28f to
6c1c2c7
Compare
6c1c2c7 to
a61ede3
Compare
5bd55b8 to
7797889
Compare
813db27 to
8f620da
Compare
It's fine (barely).
8f620da to
923daa2
Compare
diff --git a/pkgs/development/python-modules/torchcodec/default.nix b/pkgs/development/python-modules/torchcodec/default.nix
index a4bf4e41daac..374cf0bbf30a 100644
--- a/pkgs/development/python-modules/torchcodec/default.nix
+++ b/pkgs/development/python-modules/torchcodec/default.nix
@@ -61,6 +61,9 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
]
++ lib.optionals cudaSupport [
cudaPackages.cuda_nvcc
+ ]
+ ++ lib.optionals rocmSupport [
+ torch.rocmPackages.clr
];
buildInputs = [
@@ -111,7 +114,11 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
];
disabledTests =
- lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
+ lib.optionals rocmSupport [
+ # HSA runtime logs topology error in sandbox breaking test that asserts no output
+ "test_python_logger"
+ ]
+ ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# AssertionError: index 0
"test_get_frames_played_at"
|
Triton JIT-compiles cuda_utils.c at runtime using whatever `cc`/`gcc` is on PATH. In environments without a compiler in PATH (e.g. deployed Nix environments), this fails with linker errors (cannot find crti.o, -lc, -lgcc_s). Hardcode the Nix cc-wrapper path as the default fallback for the CC lookup in build.py, matching the pattern already used in the test's axpy-cuda derivation. Assisted-by: Claude Code (claude-opus-4-6) Originally submitted at NixOS#526003
Co-authored-by: Luna Nova <[email protected]>
Co-authored-by: Sandro Jäckel <[email protected]>
…port Fix a cache miss when `cudaSupport = false` but `cudaPackages.cudaMajorMinorVersion` is not the default (as could be the case with an overlay like `cudaPackages = cudaPackages_13_1;`)
fbc1761 to
f08d615
Compare
|
|
Thanks a lot @LunNova ! cc @NickCao @ConnorBaker for TheFinalStamp ™️ |
92807b3 to
8f2a5ed
Compare
8f2a5ed to
676ea58
Compare
AI doesn't wait for staging-next.
Things done
Update the torch ecosystem:
cc @teh @thoughtpolice @tscholak @junjihashimoto @ericsagnes
cc @NixOS/cuda-maintainers
Previous update: #502810
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.