Spaces:
Running
on
Zero
Running
on
Zero
Fix CUDA path
Browse files- 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-
|
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)
|