Skip to content

Commit

Permalink
古い CUDA の Windows インストーラーの URL を残す
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jan 26, 2024
1 parent 3b18e8c commit a9761dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,9 @@ def install_bazel(version, source_dir, install_dir, platform: str):
def install_cuda_windows(version, source_dir, build_dir, install_dir):
rm_rf(os.path.join(build_dir, 'cuda'))
rm_rf(os.path.join(install_dir, 'cuda'))
if version == '11.8.0-1':
if version == '10.2.89-1':
url = 'http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_441.22_win10.exe' # noqa: E501
elif version == '11.8.0-1':
url = 'https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_522.06_windows.exe' # noqa: E501
else:
raise f'Unknown CUDA version {version}'
Expand Down

0 comments on commit a9761dd

Please sign in to comment.