Skip to content

Commit

Permalink
Upgrade TensorRT to 7.2.1 on Windows and use nvcc to figure out version.
Browse files Browse the repository at this point in the history
  • Loading branch information
xkszltl committed Oct 31, 2020
1 parent ce13a47 commit 1a11fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/pkgs/tensorrt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pushd "$root"

# Update the URL as new version releases.
$trt_mirror="https://github.com/xkszltl/Roaster/releases/download/trt"
$trt_name="TensorRT-7.1.3.4.Windows10.x86_64.cuda-11.0.cudnn8.0.zip"
$trt_name="TensorRT-7.2.1.6.Windows10.x86_64.cuda-$((nvcc --version) -match ' release ([0-9\.]*)' -replace '.* release ([0-9\.]*).*','${1}').cudnn8.0.zip"

if (-not (Test-Path "../${trt_name}"))
{
Expand Down

0 comments on commit 1a11fd0

Please sign in to comment.