Skip to content

Commit 1609398

Browse files
committed
cudaPackages.tensorrt: 10.3.0.26 -> 10.8.0.43
+ fix build failure because of the broken symlinks (applies for both 10.3 and 10.8)
1 parent 4171849 commit 1609398

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

pkgs/development/cuda-modules/tensorrt/fixup.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ finalAttrs: prevAttrs: {
7575
rm "$dir"
7676
mv "targets/${targetArch}/$dir" "$dir"
7777
done
78+
79+
# Remove broken symlinks
80+
for dir in include samples; do
81+
rm "targets/${targetArch}/$dir" || :
82+
done
7883
'';
7984

8085
# Tell autoPatchelf about runtime dependencies.

pkgs/development/cuda-modules/tensorrt/releases.nix

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# NOTE: Check https://developer.nvidia.com/nvidia-tensorrt-8x-download.
1+
# NOTE: Check https://developer.nvidia.com/nvidia-tensorrt-8x-download
2+
# https://developer.nvidia.com/nvidia-tensorrt-10x-download
3+
24
# Version policy is to keep the latest minor release for each major release.
35
{
46
tensorrt.releases = {
@@ -109,6 +111,22 @@
109111
filename = "TensorRT-10.3.0.26.Linux.x86_64-gnu.cuda-12.5.tar.gz";
110112
hash = "sha256-rf8c1avl2HATgGFyNR5Y/QJOW/D8YdSe9LhM047ZkIE=";
111113
}
114+
{
115+
version = "10.8.0.43";
116+
minCudaVersion = "11.0";
117+
maxCudaVersion = "11.8";
118+
cudnnVersion = "8.9";
119+
filename = "TensorRT-10.8.0.43.Linux.x86_64-gnu.cuda-11.8.tar.gz";
120+
hash = "sha256-ZhdJ9ZUanOSQ3TbKNEIvS+fHLQ+TXZ+SdrUL4UiER+k=";
121+
}
122+
{
123+
version = "10.8.0.43";
124+
minCudaVersion = "12.0";
125+
maxCudaVersion = "12.8";
126+
cudnnVersion = "9.7";
127+
filename = "TensorRT-10.8.0.43.Linux.x86_64-gnu.cuda-12.8.tar.gz";
128+
hash = "sha256-V31tivU4FTQUuYZ8ZmtPZYUvwusefA6jogbl+vvH1J4=";
129+
}
112130
];
113131
};
114132
}

0 commit comments

Comments
 (0)