Skip to content

python3Packages.torch: don't copy AOTriton to output - #515088

Merged
GaetanLepage merged 1 commit into
NixOS:masterfrom
LunNova:lunnova/torch-no-aotriton-bundle
Apr 30, 2026
Merged

GaetanLepage merged 1 commit into
NixOS:masterfrom
LunNova:lunnova/torch-no-aotriton-bundle

Conversation

@LunNova

@LunNova LunNova commented Apr 30, 2026 •

Copy link
Copy Markdown
Member

Avoids duplicating AOTriton in torch's store path. Vendors PR pytorch/pytorch#182030

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@LunNova
LunNova requested a review from GaetanLepage April 30, 2026 14:50
@nixpkgs-ci
nixpkgs-ci Bot requested review from teh, thoughtpolice and tscholak April 30, 2026 14:54
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 6.topic: python Python is a high-level, general-purpose programming language. labels Apr 30, 2026
Avoids duplicating AOTriton in torch's store path.
@LunNova
LunNova force-pushed the lunnova/torch-no-aotriton-bundle branch from 74e723f to 4b37491 Compare April 30, 2026 16:22
@LunNova

LunNova commented Apr 30, 2026

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 515088
Commit: 4b374913c803bc2bd29ef32c5fd46cc870da1783


x86_64-linux

❌ 1 package failed to build:
  • opensplatWithRocm
✅ 10 packages built:
  • python313Packages.torchWithRocm
  • python313Packages.torchWithRocm.cxxdev
  • python313Packages.torchWithRocm.dev
  • python313Packages.torchWithRocm.dist
  • python313Packages.torchWithRocm.lib
  • python314Packages.torchWithRocm
  • python314Packages.torchWithRocm.cxxdev
  • python314Packages.torchWithRocm.dev
  • python314Packages.torchWithRocm.dist
  • python314Packages.torchWithRocm.lib

Error logs: `x86_64-linux`
opensplatWithRocm
  455 |                     c10::hip::HIPCachingAllocator::emptyCache();
      |                               ^~~~~~~~~~~~~~~~~~~
[6/23] Building CXX object CMakeFiles/opensplat.dir/spherical_harmonics.cpp.o
[7/23] Building CXX object CMakeFiles/opensplat.dir/project_gaussians.cpp.o
[8/23] Building CXX object CMakeFiles/opensplat.dir/ssim.cpp.o
[9/23] Building CXX object CMakeFiles/opensplat.dir/cv_utils.cpp.o
[10/23] Building CXX object CMakeFiles/opensplat.dir/rasterize_gaussians.cpp.o
[11/23] Building CXX object CMakeFiles/opensplat.dir/kdtree_tensor.cpp.o
[12/23] Building CXX object CMakeFiles/opensplat.dir/tensor_math.cpp.o
[13/23] Building CXX object CMakeFiles/opensplat.dir/colmap.cpp.o
[14/23] Building CXX object CMakeFiles/opensplat.dir/point_io.cpp.o
[15/23] Building CXX object CMakeFiles/gsplat_cpu.dir/rasterizer/gsplat-cpu/gsplat_cpu.cpp.o
[16/23] Building CXX object CMakeFiles/opensplat.dir/input_data.cpp.o
[17/23] Building CXX object CMakeFiles/opensplat.dir/opensfm.cpp.o
[18/23] Building CXX object CMakeFiles/opensplat.dir/nerfstudio.cpp.o
[19/23] Building CXX object CMakeFiles/opensplat.dir/opensplat.cpp.o
[20/23] Building HIP object CMakeFiles/gsplat.dir/rasterizer/gsplat/bindings.cu.o
Job completed: /build/bindings-gfx906-703751.o
Job completed: CMakeFiles/gsplat.dir/rasterizer/gsplat/bindings.cu.o
ninja: build stopped: subcommand failed.

@GaetanLepage GaetanLepage left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for opening a PR upstream.

@GaetanLepage
GaetanLepage added this pull request to the merge queue Apr 30, 2026
Merged via the queue into NixOS:master with commit 8f0af00 Apr 30, 2026
27 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants