onnxruntime/tools/ci_build/github/windows
Yi Zhang 31fc25d2c2
[Fix] Check if CUDA is downloaded in AGENT_TEMPDIRECTORY (#16142)
### Description
supplement of #15915

### Motivation and Context
fix nuget pipeline exception in the stage of
Final_Jar_Testing_Windows_GPU

```
  JUnit Jupiter:ProviderOptionsTest:testCUDAOptions()
    MethodSource [className = 'ai.onnxruntime.providers.ProviderOptionsTest', methodName = 'testCUDAOptions', methodParameterTypes = '']
    => ai.onnxruntime.OrtException: Error code - ORT_RUNTIME_EXCEPTION - message: D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\cloudtest\AppData\Local\Temp\onnxruntime-java17193857285260738736\onnxruntime_providers_cuda.dll"
```


### Verification

https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=313476&view=results
2023-05-30 13:14:08 +08:00
..
eager
post_to_dashboard
bundle_dlls_gpu.bat
bundle_nuget_with_native_headers.bat
extract_nuget_files.ps1 Creating Nuget and Android packages for Training (#15712) 2023-05-01 12:59:56 -07:00
extract_nuget_files_gpu.ps1
extract_zip_files_gpu.ps1
helpers.ps1 Update protobuf to 3.21.x (#15245) 2023-03-29 14:08:18 -07:00
install_protoc.ps1 Update protobuf to 3.21.x (#15245) 2023-03-29 14:08:18 -07:00
install_third_party_deps.ps1 Update protobuf to 3.21.x (#15245) 2023-03-29 14:08:18 -07:00
jar_gpu_packaging.ps1
jar_packaging.ps1
post_binary_sizes_to_dashboard.py
post_code_coverage_to_dashboard.py
set_telemetry_var.ps1
setup_env.bat
setup_env_azure.bat
setup_env_cuda_11.bat [Fix] Check if CUDA is downloaded in AGENT_TEMPDIRECTORY (#16142) 2023-05-30 13:14:08 +08:00
setup_env_gpu.bat Unify cuda & trt version on few CIs (#15943) 2023-05-15 09:54:30 -07:00
setup_env_trt.bat Unify cuda & trt version on few CIs (#15943) 2023-05-15 09:54:30 -07:00
setup_env_x86.bat