LutaoJiang commited on
Commit
548d313
Β·
1 Parent(s): 5be3795
Files changed (1) hide show
  1. app.py +1 -1
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"] = "8.0;8.6"
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