Repository navigation
python3Packages.torch: 2.10.0 -> 2.11.0 - #502810
Conversation
b4663e4 to
013ad37
Compare
1452054 to
6a42f7f
Compare
There was a problem hiding this comment.
The PR's base branch is set to master, and this PR causes 574 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.
|
ROCm is falling over with: I expect to have time to investigate tonight. |
|
One small change only to unbreak ROCm: commit 1af023208f13fc95addc4dc5930afa6d1dfd28a3 (HEAD -> update/python3Packages.torch)
Author: Luna Nova <[email protected]>
Date: Mon Mar 23 21:05:11 2026 -0700
python3Packages.torch: fix ROCm build by dropping obsolete gloo patch
substitute to get hipify to work no longer needed, now causes Failed to get hipify files list!
diff --git a/pkgs/development/python-modules/torch/source/default.nix b/pkgs/development/python-modules/torch/source/default.nix
index c2028ccd7036..3c78d2b3ff67 100644
--- a/pkgs/development/python-modules/torch/source/default.nix
+++ b/pkgs/development/python-modules/torch/source/default.nix
@@ -360,10 +360,6 @@ buildPythonPackage.override { inherit stdenv; } (finalAttrs: {
'"${lib.getExe' targetPackages.stdenv.cc "${targetPackages.stdenv.cc.targetPrefix}c++"}"'
''
+ lib.optionalString rocmSupport ''
- # https://github.com/facebookincubator/gloo/pull/297
- substituteInPlace third_party/gloo/cmake/Hipify.cmake \
- --replace-fail "\''${HIPIFY_COMMAND}" "python \''${HIPIFY_COMMAND}"
-
# Doesn't pick up the environment variable?
substituteInPlace third_party/kineto/libkineto/CMakeLists.txt \
--replace-fail "\''$ENV{ROCM_SOURCE_DIR}" "${rocmtoolkit_joined}"Noticed we might be wasting space from aotriton contents getting copied into torch instead of linked to aotriton's out, seems like a preexisting issue and non-blocking. |
6a42f7f to
bb40127
Compare
Yes, that would be nice! |
bb40127 to
7ea7daa
Compare
7ea7daa to
fa76b01
Compare
|
I think that all (core) packages are building fine with |
|
|
|
|
fa76b01 to
1c51f99
Compare
|
|
thanks for fixing rocmSupport on codec/audio! |
Things done
Update the torch ecosystem:
cc @teh @thoughtpolice @tscholak @junjihashimoto @ericsagnes
cc @NixOS/cuda-maintainers
Previous update: #484881
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.