-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Install CUDA 12.2 on Windows (#18044)"
This reverts commit e63ccd3.
- Loading branch information
Showing
6 changed files
with
22 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 16 additions & 24 deletions
40
tools/ci_build/github/azure-pipelines/templates/jobs/set-winenv.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,19 @@ | ||
parameters: | ||
- name: EnvSetupScript | ||
type: string | ||
- name: DownloadCUDA | ||
type: boolean | ||
default: false | ||
- name: PrimaryCUDAVersion | ||
type: string | ||
default: '11.8' | ||
- name: SecondaryCUDAVersion | ||
type: string | ||
default: '12.2' | ||
- name: EnvSetupScript | ||
type: string | ||
|
||
- name: DownloadCUDA | ||
type: boolean | ||
default: false | ||
|
||
steps: | ||
- ${{ if eq(parameters.DownloadCUDA, 'true') }}: | ||
- powershell: | | ||
azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/cuda_sdk/v${{ parameters.PrimaryCUDAVersion }}" $(Agent.TempDirectory) | ||
displayName: 'Download Primary CUDA SDK v${{ parameters.PrimaryCUDAVersion }}' | ||
- powershell: | | ||
azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/cuda_sdk/v${{ parameters.SecondaryCUDAVersion }}" $(Agent.TempDirectory) | ||
displayName: 'Download Secondary CUDA SDK v${{ parameters.SecondaryCUDAVersion }}' | ||
- task: BatchScript@1 | ||
displayName: 'setup env' | ||
inputs: | ||
filename: '$(Build.SourcesDirectory)\tools\ci_build\github\windows\${{ parameters.EnvSetupScript }}' | ||
modifyEnvironment: true | ||
workingFolder: '$(Build.BinariesDirectory)' | ||
- ${{ if eq(parameters.DownloadCUDA, 'true') }}: | ||
- powershell: | | ||
azcopy.exe cp --recursive "https://lotusscus.blob.core.windows.net/models/cuda_sdk/v11.8" $(Agent.TempDirectory) | ||
- task: BatchScript@1 | ||
displayName: 'setup env' | ||
inputs: | ||
filename: '$(Build.SourcesDirectory)\tools\ci_build\github\windows\${{ parameters.EnvSetupScript }}' | ||
modifyEnvironment: true | ||
workingFolder: '$(Build.BinariesDirectory)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters