Commit
Β·
548d313
1
Parent(s):
5be3795
debug
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def install_cuda_toolkit():
|
|
58 |
"" if "LD_LIBRARY_PATH" not in os.environ else os.environ["LD_LIBRARY_PATH"],
|
59 |
)
|
60 |
# Fix: arch_list[-1] += '+PTX'; IndexError: list index out of range
|
61 |
-
os.environ["TORCH_CUDA_ARCH_LIST"] = "
|
62 |
print("==> finished installation")
|
63 |
|
64 |
# Only execute CUDA installation in non-UI debug mode
|
|
|
58 |
"" if "LD_LIBRARY_PATH" not in os.environ else os.environ["LD_LIBRARY_PATH"],
|
59 |
)
|
60 |
# Fix: arch_list[-1] += '+PTX'; IndexError: list index out of range
|
61 |
+
os.environ["TORCH_CUDA_ARCH_LIST"] = "9.0"
|
62 |
print("==> finished installation")
|
63 |
|
64 |
# Only execute CUDA installation in non-UI debug mode
|