Skip to content

Commit

Permalink
cudaPackages.tensorrt: 8.6 -> 10.3 (NixOS#339305)
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorBaker authored Sep 16, 2024
2 parents da56df9 + 9a047da commit 3540ebe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/development/cuda-modules/tensorrt/fixup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ finalAttrs: prevAttrs: {
cudnn =
let
desiredName = mkVersionedPackageName "cudnn" package.cudnnVersion;
desiredIsAvailable = final ? desiredName;
in
if package.cudnnVersion == null || !desiredIsAvailable then final.cudnn else final.${desiredName};
if package.cudnnVersion == null || (final ? desiredName) then final.cudnn else final.${desiredName};
};

meta = prevAttrs.meta // {
Expand Down
16 changes: 16 additions & 0 deletions pkgs/development/cuda-modules/tensorrt/releases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,22 @@
filename = "TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0.tar.gz";
hash = "sha256-D4FXpfxTKZQ7M4uJNZE3M1CvqQyoEjnNrddYDNHrolQ=";
}
{
version = "10.3.0.26";
minCudaVersion = "11.0";
maxCudaVersion = "11.8";
cudnnVersion = "8.9";
filename = "TensorRT-10.3.0.26.Linux.x86_64-gnu.cuda-11.8.tar.gz";
hash = "sha256-1O9TwlUP0eLqTozMs53EefmjriiaHjxb4A4GIuN9jvc=";
}
{
version = "10.3.0.26";
minCudaVersion = "12.0";
maxCudaVersion = "12.5";
cudnnVersion = "8.9";
filename = "TensorRT-10.3.0.26.Linux.x86_64-gnu.cuda-12.5.tar.gz";
hash = "sha256-rf8c1avl2HATgGFyNR5Y/QJOW/D8YdSe9LhM047ZkIE=";
}
];
};
}

0 comments on commit 3540ebe

Please sign in to comment.