cbensimon HF Staff commited on
Commit
66ca860
·
1 Parent(s): 495d59a

Fix CUDA path

Browse files
Files changed (1) hide show
  1. utils/cuda_toolkit.py +1 -1
utils/cuda_toolkit.py CHANGED
@@ -14,7 +14,7 @@ def install_cuda_toolkit():
14
  installer_name = f'cuda_{CUDA_VERSION}_{DRIVERS_VERSION}_linux.run'
15
  installer_url = f'https://developer.download.nvidia.com/compute/cuda/{CUDA_VERSION}/local_installers/{installer_name}'
16
  installer_path = f'/tmp/{installer_name}'
17
- cuda_path = f'/usr/local/cuda-{CUDA_VERSION}'
18
  bashrc_path = Path.home() / '.bashrc'
19
 
20
  subprocess.run(f'wget --progress=dot:giga {installer_url} -O {installer_path}', check=True, shell=True)
 
14
  installer_name = f'cuda_{CUDA_VERSION}_{DRIVERS_VERSION}_linux.run'
15
  installer_url = f'https://developer.download.nvidia.com/compute/cuda/{CUDA_VERSION}/local_installers/{installer_name}'
16
  installer_path = f'/tmp/{installer_name}'
17
+ cuda_path = f'/usr/local/cuda-12.4'
18
  bashrc_path = Path.home() / '.bashrc'
19
 
20
  subprocess.run(f'wget --progress=dot:giga {installer_url} -O {installer_path}', check=True, shell=True)