ffreemt commited on
Commit
08612a4
·
1 Parent(s): fae4857

Update overwrite libbitsandbytes_cpu.so with libbitsandbytes_cuda118.so lsb_release -a bitsandbytes device_map={'': 0} rich, check nvidia-smi with subproces.run

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,7 +69,7 @@ except Exception:
69
 
70
 
71
  if True:
72
- run_cmd("ls -l /home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/bitsandbytes")
73
 
74
  logger.info("lsb_release -a")
75
  ret = sp.run("lsb_release -a", capture_output=1, check=0, shell=1, encoding='utf8')
@@ -84,7 +84,7 @@ if True:
84
  rich.print(ret.stdout)
85
  if ret.stderr:
86
  rich.print("[red bold]" + ret.stdout)
87
- raise SystemExit("Interrupt by intentioin")
88
 
89
 
90
  if not torch.cuda.is_available():
 
69
 
70
 
71
  if True:
72
+ run_cmd("ls -rtl /home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/bitsandbytes")
73
 
74
  logger.info("lsb_release -a")
75
  ret = sp.run("lsb_release -a", capture_output=1, check=0, shell=1, encoding='utf8')
 
84
  rich.print(ret.stdout)
85
  if ret.stderr:
86
  rich.print("[red bold]" + ret.stdout)
87
+ # raise SystemExit("Interrupt by intentioin")
88
 
89
 
90
  if not torch.cuda.is_available():