Skip to content

Commit

Permalink
Fix variable reference for CUDA version in setup script output messages
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Jan 31, 2025
1 parent 6bf7605 commit aaf798d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup_cuda.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ $cudaVersions = @{
}

if ($cudaVersions.ContainsKey($CUDA_VERSION_FULL)) {
$cudaInstallerUrl = $cudaVersions[$cudaVersion]
Write-Output "CUDA version $cudaVersion found. Downloading from $cudaInstallerUrl"
$cudaInstallerUrl = $cudaVersions[$CUDA_VERSION_FULL]
Write-Output "CUDA version $CUDA_VERSION_FULL found. Downloading from $cudaInstallerUrl"
# Add your download and installation logic here
$downloadUrl = $cudaInstallerUrl
}
else {
Write-Output "CUDA version $cudaVersion not found."
Write-Output "CUDA version $CUDA_VERSION_FULL not found."
exit 1
}

Expand Down

0 comments on commit aaf798d

Please sign in to comment.