-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
cudaPackages: bump the default 11 -> 12 #269639
Conversation
Result of 95 packages marked as broken and skipped:
1266 packages failed to build:
96 packages built:
|
Eh, I ran out of disk |
Result of 22 packages marked as broken and skipped:
29 packages failed to build:
86 packages built:
|
TF seems to have introduced CUDA 12 support in version 2.15.0, so if we upgrade TF we can likely get rid of Completing a TF upgrade should not be a blocker for this PR IMHO, but just wanted to note that for future work. |
I feel like TF has been generally lagging behind and offering a narrower compatibility window, compared to anything else including pytorch. That's the reason we had the overrides inheriting tensorflow-bin's cudaPackages for tensorflow and jax, isn't it? I don't expect this to change. I anticipate that with the next cuda release we'd have to reintroduce the pins |
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.
I don't quite understand the TensorRT changes. It looks to be mostly just refactoring in extension.nix
, but I see generic.nix
now has an enable
flag argument. What happens when that is set to false
?
Ok so I did it super-dirty just to get the eval fixed and nixpkgs-review running, but basically what happens here is that unless It's ugly, it's wrong, it's an overkill, and we have better prospects with the refactoring being worked on in #256324. And we haven't settled on the convention of either leaving out the unsupported attributes, or marking them "broken": #266475. |
@aidalgol could you confirm I didn't break the existing trt packages? Or maybe I ask you again after the nixpkgs-review, because I'll probably have to push more fix-ups |
This is how I tested TensorRT when first adding it to $ NIX_PATH=nixpkgs=$PWD NIXPKGS_ALLOW_UNFREE=1 nix-shell -p 'python310.withPackages (pypkgs: [ pypkgs.tensorrt ])'
$ python3 -c 'import tensorrt; assert tensorrt.Builder(tensorrt.Logger())' I think it would be the same, only with |
EDIT: lol it should've been Result of 121 packages marked as broken and skipped:
405 packages failed to build:
1408 packages built:
|
Catboost fails because of the unsupported architectures too. I tried overriding the cuda architectures for catboost but failed, they're hard-coded in more than one place. I guess we'll have to force it to use Tracking override-ability in catboost/catboost#2540 |
Also I can't publish the logs because Mic92/nixpkgs-review#379 |
This comment was marked as outdated.
This comment was marked as outdated.
92117ec
to
c32e620
Compare
The
Somebody's got to untangle this mess, but not in this PR I think |
12ddc09
to
af3b878
Compare
b834b62
to
ad5b156
Compare
#275709 is somewhat of a blocker, although I'm willing to just break them |
#275939 is a blocker because we can't get anything reasonable from Ofborg |
ad5b156
to
640bd65
Compare
640bd65
to
8ddc8e3
Compare
@ConnorBaker I want to merge this as soon as ofborg allows. The nsight_systems fix is super ugly and I'm content with that. |
Added a commit to address @samuela's notes so the checks are gone, but ofborg has passed previously: https://github.com/NixOS/nixpkgs/pull/269639/checks?check_run_id=20566378248 |
Description of changes
WIP. Addresses #222778
Things done
nixpkgs-review --extra-nixpkgs-config '{ cudaSupport = true; }'
@NixOS/cuda-maintainers
Priorities
Add a 👍 reaction to pull requests you find important.