Spaces:
Runtime error
Runtime error
gmerrill
commited on
Commit
·
f2d6701
1
Parent(s):
d525e09
update
Browse files
main.py
CHANGED
@@ -30,7 +30,7 @@ device : str = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
30 |
log('Device: ' + device)
|
31 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
32 |
|
33 |
-
result = subprocess.run('pwd && ls -lH && find /.cache/huggingface/hub && find /.cache/gorilla', shell=True, capture_output=True, text=True)
|
34 |
log(result.stdout)
|
35 |
|
36 |
model_id : str = "gorilla-llm/gorilla-openfunctions-v1"
|
|
|
30 |
log('Device: ' + device)
|
31 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
32 |
|
33 |
+
result = subprocess.run('cat /etc/os-release && pwd && ls -lH && find /.cache/huggingface/hub && find /.cache/gorilla', shell=True, capture_output=True, text=True)
|
34 |
log(result.stdout)
|
35 |
|
36 |
model_id : str = "gorilla-llm/gorilla-openfunctions-v1"
|