3
0
Fork 0
forked from mirrors/nixpkgs

tensorrt: provide default version fallback

When passed a CUDA version not in the table of default TensorRT versions for
CUDA versions, fall back to a default package version instead of breaking
evaluation of the package.
This commit is contained in:
Aidan Gauland 2022-09-26 17:36:45 +13:00
parent 35425566b8
commit bcf0c3a882
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91

View file

@ -58,6 +58,6 @@ final: prev: let
"11.4" = "8.4.0";
"11.5" = "8.4.0";
"11.6" = "8.4.0";
}.${cudaVersion};
}.${cudaVersion} or "8.4.0";
in tensorRTPackages