Skip to content

Commit f853ceb

Browse files
committed
Add Windows CUDA 13 AMI
1 parent f9f933a commit f853ceb

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

aws/ami/windows/scripts/Installers/Install-CUDA-Tools.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Switch ($cudaVersion) {
3131
$toolkitInstaller = "cuda_12.9.1_576.57_windows.exe"
3232
$installerArgs += " cuda_profiler_api_$cudaVersion nvjitlink_$cudaVersion"
3333
}
34+
"13.0" {
35+
$toolkitInstaller = "cuda_13.0.0_580.65_windows.exe"
36+
$installerArgs += " cuda_profiler_api_$cudaVersion nvjitlink_$cudaVersion"
37+
}
3438
}
3539

3640

aws/ami/windows/windows.pkr.hcl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ build {
111111
]
112112
}
113113

114+
provisioner "powershell" {
115+
environment_vars = ["CUDA_VERSION=13.0"]
116+
scripts = [
117+
"${path.root}/scripts/Installers/Install-CUDA-Tools.ps1",
118+
]
119+
}
120+
114121
# Uninstall Windows Defender, it brings more trouble than it's worth. Do this
115122
# last as it screws up the installation of other services like sshd somehow
116123
provisioner "powershell" {

0 commit comments

Comments
 (0)