cudatoolkit: introduce 11.8.0#194705
Conversation
|
This PR also fix evaluation breakage of cudnn and tensorrt when the cudaVersion is not listed in any supported versions of those libraries. #192958 partially fixes the problem. |
a9c3365 to
84ac150
Compare
There was a problem hiding this comment.
Can this use lib.versions.major/majorMinor?
There was a problem hiding this comment.
yes, I'll change it for simplicity
There was a problem hiding this comment.
| else throw "cudnn-${cuDnnDefaultVersion} does not support your cuda version ${cudaVersion} (or update supportedCudaVersions)"; }; | |
| else throw "cudnn-${cuDnnDefaultVersion} does not support cuda ${cudaVersion}"; }; |
There was a problem hiding this comment.
| else throw "tensorrt-${tensorRTDefaultVersion} does not support your cuda version ${cudaVersion} (or update supportedCudaVersions)"; }; | |
| else throw "tensorrt-${tensorRTDefaultVersion} does not support cuda ${cudaVersion}"; }; |
pkgs/top-level/all-packages.nix
Outdated
There was a problem hiding this comment.
Don't we want cudaPackages_11 to be an alias for the latest available version?
There was a problem hiding this comment.
Yes, but as the current version of cudnn is not compatible with version 11.8 of cuda, I've not updated the alias.
If there is a consensus, no problem to update it
There was a problem hiding this comment.
Ah, then yes, keep it back for now.
There was a problem hiding this comment.
Latest cudnn is 8.6.0, compatible with cuda 11.8
There was a problem hiding this comment.
(I'd do the bump in a separate commit, because everything else we can backport to 22.05)
There was a problem hiding this comment.
Latest cudnn is 8.6.0, compatible with cuda 11.8
Thx, I'd missed that. Push an update in this PR.
samuela
left a comment
There was a problem hiding this comment.
Hey @dguibert, thanks for putting this together! Just adding a few comments here in addition to what others have already pointed out.
Btw, please don't forget https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md when writing commit messages. I believe cudatoolkit: 1.7.0 -> 1.7.1 should be cudatoolkit: 11.7.0 -> 11.7.1 for example.
84ac150 to
342773d
Compare
342773d to
ec5627d
Compare
|
@SomeoneSerge, I just saw your PR #194791. This one should be OK now to poke the jetson support. |
ec5627d to
bbf4951
Compare
bbf4951 to
ec8c0aa
Compare
Throw an error if the default version of tensorrt does not support the
cuda version.
Adding cudatoolkit 11.8 fails to evaluate
tensorrt.{tensorRTDefaultVersion} as "11.8" is not listed on any
supportedCudaVersions of any tensorRTVersions attributes.
ec8c0aa to
af83b0c
Compare
samuela
left a comment
There was a problem hiding this comment.
LGTM i'll go ahead and merge tomorrow unless anyone objects
|
I'm now seeing build failures with cuDNN: @dguibert could you take a look? |
|
ok created #196983 to fix |
Description of changes
Things done
sandbox = trueset 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/)nixos/doc/manual/md-to-db.shto update generated release notes