Spaces:
Running
on
Zero
Running
on
Zero
刘虹雨
commited on
Commit
·
e52700c
1
Parent(s):
24d7d5e
update code
Browse files
app.py
CHANGED
|
@@ -87,6 +87,7 @@ def install_cuda_toolkit():
|
|
| 87 |
print(f"[INFO] Removed installer file: {CUDA_TOOLKIT_FILE}")
|
| 88 |
else:
|
| 89 |
print(f"[WARN] Installer file not found: {CUDA_TOOLKIT_FILE}")
|
|
|
|
| 90 |
print("[INFO] CUDA 12.1 installation complete. CUDA_HOME set to /usr/local/cuda")
|
| 91 |
|
| 92 |
# 🔧 Set CUDA_HOME before anything else
|
|
|
|
| 87 |
print(f"[INFO] Removed installer file: {CUDA_TOOLKIT_FILE}")
|
| 88 |
else:
|
| 89 |
print(f"[WARN] Installer file not found: {CUDA_TOOLKIT_FILE}")
|
| 90 |
+
print(os.listdir("/usr/local/cuda"))
|
| 91 |
print("[INFO] CUDA 12.1 installation complete. CUDA_HOME set to /usr/local/cuda")
|
| 92 |
|
| 93 |
# 🔧 Set CUDA_HOME before anything else
|