Skip to content

python3Packages.openai-triton: fix triton.common.build#325843

Merged
SomeoneSerge merged 1 commit intoNixOS:masterfrom
cfhammill:fix-triton
Jul 9, 2024
Merged

python3Packages.openai-triton: fix triton.common.build#325843
SomeoneSerge merged 1 commit intoNixOS:masterfrom
cfhammill:fix-triton

Conversation

@cfhammill
Copy link
Contributor

Description of changes

Fixes #325609 by appending to triton.common.build module instead of overwriting. CC @SomeoneSerge

Things done

added an >

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 9, 2024
@SomeoneSerge SomeoneSerge changed the title python3Packages.openai-triton: fix build module python3Packages.openai-triton: fix triton.common.build Jul 9, 2024
@SomeoneSerge
Copy link
Contributor

@ofborg build python3Packages.torch

--replace "include(GoogleTest)" "find_package(GTest REQUIRED)"

cat << \EOF > python/triton/common/build.py

Copy link
Contributor

Choose a reason for hiding this comment

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

The linefeed was intentional but let's keep your current version so as not to restart ofborg

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ahh oops, sorry about that.

@ofborg ofborg bot requested review from Madouura and SomeoneSerge July 9, 2024 14:33
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Jul 9, 2024
@SomeoneSerge SomeoneSerge merged commit caec157 into NixOS:master Jul 9, 2024
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: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: python311Packages.bitsandbytes

2 participants