Spaces:
Sleeping
Sleeping
f-strings
Browse files- utils/cuda_toolkit.py +2 -2
utils/cuda_toolkit.py
CHANGED
|
@@ -17,8 +17,8 @@ def install_cuda_toolkit():
|
|
| 17 |
cuda_path = f'/usr/local/cuda-{CUDA_VERSION}'
|
| 18 |
bashrc_path = Path.home() / '.bashrc'
|
| 19 |
|
| 20 |
-
subprocess.run('wget -q --show-progress {installer_url} -O {installer_path}', check=True, shell=True)
|
| 21 |
-
subprocess.run('fakeroot sh {installer_path} --silent --toolkit --override', check=True, shell=True)
|
| 22 |
|
| 23 |
bashrc_lines = (
|
| 24 |
f'# CUDA toolkit',
|
|
|
|
| 17 |
cuda_path = f'/usr/local/cuda-{CUDA_VERSION}'
|
| 18 |
bashrc_path = Path.home() / '.bashrc'
|
| 19 |
|
| 20 |
+
subprocess.run(f'wget -q --show-progress {installer_url} -O {installer_path}', check=True, shell=True)
|
| 21 |
+
subprocess.run(f'fakeroot sh {installer_path} --silent --toolkit --override', check=True, shell=True)
|
| 22 |
|
| 23 |
bashrc_lines = (
|
| 24 |
f'# CUDA toolkit',
|