Skip to content

Commit

Permalink
fix type for py-win-gpu.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Nov 15, 2023
1 parent 7058474 commit 79c2c58
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ jobs:
- template: jobs/set-winenv.yml
parameters:
EnvSetupScript: ${{ parameters.ENV_SETUP_SCRIPT }}
${{ if contains(parameters.buildparameter, 'use_cuda') }}:
${{ if contains(parameters.EP_BUILD_FLAGS, 'use_cuda') }}:
DownloadCUDA: true

- ${{ if eq(parameters.ENV_SETUP_SCRIPT, '') }}:
- template: jobs/download_win_gpu_library.yml
parameters:
CudaVersion: ${{ parameters.CudaVersion }}
${{ if contains(parameters.buildparameter, 'use_cuda') }}:
${{ if contains(parameters.EP_BUILD_FLAGS, 'use_cuda') }}:
DownloadCUDA: true
${{ if contains(parameters.buildparameter, 'use_tensorrt') }}:
${{ if contains(parameters.EP_BUILD_FLAGS, 'use_tensorrt') }}:
DownloadCUDA: true
DownloadTRT: true
- task: PythonScript@0
Expand Down

0 comments on commit 79c2c58

Please sign in to comment.