-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: python3Packages.openai-triton: make cudaSupport optional #224898
base: master
Are you sure you want to change the base?
Conversation
…with cuda-compatible stdenv
catch up with pytorch 2.0.0 and updated interfaces
The drawback of this is that the comments now affect outPath's. Hopefully, though, we'll remove this preFixup soon anyway Co-authored-by: Sandro <[email protected]>
…atoolkit-vendored copy of the library
, cudaPackages ? { } | ||
, cudaSupport ? config.cudaSupport or false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you define this as a proper option in the file that describes the config attr? Then we also have a default false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, so config
already supports options?!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at pkgs/top-level/config.nix
for the first time now. This is great, I really needed this, our cudaCapabilities
and cudaSupport
are already a mess, and we still need more controls (virtual vs real architectures, default mkl support)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll have a separate PR for config.nix
integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, so
config
already supports options?!!
It does since ~4 years but people only really started using it a year ago. Glad that that helps you.
@SomeoneSerge Now that rocfft builds on hydra this would be great to have |
Description of changes
TBD. Follow-up to #222273
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)