5252 dir
5353 shell : pwsh
5454
55- - name : Download TensorRT-10.9.0.34.Windows10.x86_64 .cuda-12.8
56- run : ' azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/local/TensorRT-10.9.0.34.Windows10.x86_64 .cuda-12.8 " ${{ runner.temp }}'
55+ - name : Download TensorRT-10.14.1.48.Windows.win10 .cuda-12.9
56+ run : ' azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/local/TensorRT-10.14.1.48.Windows.win10 .cuda-12.9 " ${{ runner.temp }}'
5757 shell : pwsh
5858
5959 - name : Add CUDA to PATH
6363 Write-Host "CUDA Path: $env:RUNNER_TEMP\v12.8\bin"
6464 Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\v12.8\bin"
6565 Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\v12.8\extras\CUPTI\lib64"
66- Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\TensorRT-10.9.0.34.Windows10.x86_64.cuda-12.8\lib"
66+ Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\TensorRT-10.14.1.48.Windows.win10.cuda-12.9\lib"
67+ Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\TensorRT-10.14.1.48.Windows.win10.cuda-12.9\bin"
6768
6869 - uses : actions/setup-node@v6
6970 with :
@@ -120,7 +121,7 @@ jobs:
120121 exit $lastExitCode
121122 }
122123 # Execute the build process
123- python ${{ github.workspace }}\tools\ci_build\build.py --config RelWithDebInfo --parallel --use_binskim_compliant_compile_flags --build_dir build --skip_submodule_sync --build_shared_lib --build --update --cmake_generator "Visual Studio 17 2022" --build_wheel --enable_onnx_tests --use_tensorrt --tensorrt_home="${{ runner.temp }}\TensorRT-10.9.0.34.Windows10.x86_64 .cuda-12.8 " --cuda_home="${{ runner.temp }}\v12.8" --use_vcpkg --use_vcpkg_ms_internal_asset_cache --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=86
124+ python ${{ github.workspace }}\tools\ci_build\build.py --config RelWithDebInfo --parallel --use_binskim_compliant_compile_flags --build_dir build --skip_submodule_sync --build_shared_lib --build --update --cmake_generator "Visual Studio 17 2022" --build_wheel --enable_onnx_tests --use_tensorrt --tensorrt_home="${{ runner.temp }}\TensorRT-10.14.1.48.Windows.win10 .cuda-12.9 " --cuda_home="${{ runner.temp }}\v12.8" --use_vcpkg --use_vcpkg_ms_internal_asset_cache --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=86
124125 if ($lastExitCode -ne 0) {
125126 exit $lastExitCode
126127 }
@@ -208,8 +209,8 @@ jobs:
208209 dir
209210 shell : pwsh
210211
211- - name : Download TensorRT-10.9.0.34.Windows10.x86_64 .cuda-12.8
212- run : ' azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/local/TensorRT-10.9.0.34.Windows10.x86_64 .cuda-12.8 " ${{ runner.temp }}'
212+ - name : Download TensorRT-10.14.1.48.Windows.win10 .cuda-12.9
213+ run : ' azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/local/TensorRT-10.14.1.48.Windows.win10 .cuda-12.9 " ${{ runner.temp }}'
213214 shell : pwsh
214215
215216 - name : Add CUDA to PATH
@@ -219,7 +220,8 @@ jobs:
219220 Write-Host "CUDA Path: $env:RUNNER_TEMP\v12.8\bin"
220221 Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\v12.8\bin"
221222 Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\v12.8\extras\CUPTI\lib64"
222- Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\TensorRT-10.9.0.34.Windows10.x86_64.cuda-12.8\lib"
223+ Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\TensorRT-10.14.1.48.Windows.win10.cuda-12.9\lib"
224+ Add-Content -Path $env:GITHUB_PATH -Value "$env:RUNNER_TEMP\TensorRT-10.14.1.48.Windows.win10.cuda-12.9\bin"
223225
224226 - name : Set OnnxRuntimeBuildDirectory
225227 shell : pwsh
@@ -245,7 +247,7 @@ jobs:
245247 exit $lastExitCode
246248 }
247249
248- python ${{ github.workspace }}\tools\ci_build\build.py --config RelWithDebInfo --parallel --use_binskim_compliant_compile_flags --build_dir build --skip_submodule_sync --build_shared_lib --test --cmake_generator "Visual Studio 17 2022" --build_wheel --enable_onnx_tests --use_tensorrt --tensorrt_home="${{ runner.temp }}\TensorRT-10.9.0.34.Windows10.x86_64 .cuda-12.8 " --cuda_home="${{ runner.temp }}\v12.8" --use_vcpkg --use_vcpkg_ms_internal_asset_cache --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=86
250+ python ${{ github.workspace }}\tools\ci_build\build.py --config RelWithDebInfo --parallel --use_binskim_compliant_compile_flags --build_dir build --skip_submodule_sync --build_shared_lib --test --cmake_generator "Visual Studio 17 2022" --build_wheel --enable_onnx_tests --use_tensorrt --tensorrt_home="${{ runner.temp }}\TensorRT-10.14.1.48.Windows.win10 .cuda-12.9 " --cuda_home="${{ runner.temp }}\v12.8" --use_vcpkg --use_vcpkg_ms_internal_asset_cache --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=86
249251 if ($lastExitCode -ne 0) {
250252 exit $lastExitCode
251253 }
0 commit comments