Spaces:
Running
on
A100
Running
on
A100
Fix: cli argument
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ has_gpu = torch.cuda.is_available()
|
|
43 |
# )
|
44 |
# )
|
45 |
|
46 |
-
cli = "
|
47 |
" --cuda --low-cpu-memory --allow-crimes" if has_gpu else " --allow-crimes --lazy-unpickle"
|
48 |
)
|
49 |
|
|
|
43 |
# )
|
44 |
# )
|
45 |
|
46 |
+
cli = "config.yaml merge --copy-tokenizer" + (
|
47 |
" --cuda --low-cpu-memory --allow-crimes" if has_gpu else " --allow-crimes --lazy-unpickle"
|
48 |
)
|
49 |
|