Spaces:
Running
on
T4
Running
on
T4
ffreemt
commited on
Commit
·
7e9b0c1
1
Parent(s):
08612a4
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
app.py
CHANGED
@@ -570,6 +570,7 @@ with gr.Blocks(
|
|
570 |
if __name__ == "__main__":
|
571 |
logger.info("Just record start time")
|
572 |
|
|
|
573 |
ret = sp.run("lsb_release -a", capture_output=1, check=0, shell=1, encoding='utf8')
|
574 |
if ret.stdout:
|
575 |
rich.print(ret.stdout)
|
@@ -582,5 +583,6 @@ if __name__ == "__main__":
|
|
582 |
if ret.stderr:
|
583 |
rich.print("[red bold]" + ret.stdout)
|
584 |
raise SystemExit("Interrupt by intentioin")
|
|
|
585 |
|
586 |
block.queue(max_size=8).launch(debug=True)
|
|
|
570 |
if __name__ == "__main__":
|
571 |
logger.info("Just record start time")
|
572 |
|
573 |
+
_ = """
|
574 |
ret = sp.run("lsb_release -a", capture_output=1, check=0, shell=1, encoding='utf8')
|
575 |
if ret.stdout:
|
576 |
rich.print(ret.stdout)
|
|
|
583 |
if ret.stderr:
|
584 |
rich.print("[red bold]" + ret.stdout)
|
585 |
raise SystemExit("Interrupt by intentioin")
|
586 |
+
# """
|
587 |
|
588 |
block.queue(max_size=8).launch(debug=True)
|