WatsonTang98
commited on
Commit
•
056c4ed
1
Parent(s):
ae67fe6
Update script.py
Browse files
script.py
CHANGED
@@ -157,7 +157,7 @@ def download_packages(packages, folder):
|
|
157 |
print(f"Failed to download packages. Error: {e}")
|
158 |
|
159 |
# Set CUDA environment variables
|
160 |
-
os.environ['CUDA_HOME'] = '/usr/local/cuda
|
161 |
os.environ['PATH'] = os.environ['CUDA_HOME'] + '/bin:' + os.environ['PATH']
|
162 |
os.environ['LD_LIBRARY_PATH'] = os.environ['CUDA_HOME'] + '/lib64:' + os.environ.get('LD_LIBRARY_PATH', '')
|
163 |
|
|
|
157 |
print(f"Failed to download packages. Error: {e}")
|
158 |
|
159 |
# Set CUDA environment variables
|
160 |
+
os.environ['CUDA_HOME'] = '/usr/local/cuda'
|
161 |
os.environ['PATH'] = os.environ['CUDA_HOME'] + '/bin:' + os.environ['PATH']
|
162 |
os.environ['LD_LIBRARY_PATH'] = os.environ['CUDA_HOME'] + '/lib64:' + os.environ.get('LD_LIBRARY_PATH', '')
|
163 |
|