Spaces:
Running on Zero
Running on Zero
Fix llama benchmark binary cache
Browse files
app.py
CHANGED
|
@@ -207,6 +207,7 @@ _BENCH_RESULTS = []
|
|
| 207 |
|
| 208 |
def _ensure_llama():
|
| 209 |
d = os.path.join(_BENCH_CACHE, "bin")
|
|
|
|
| 210 |
bench = os.path.join(d, "llama-bench")
|
| 211 |
if os.path.isfile(cli) and os.path.isfile(bench): return cli
|
| 212 |
import subprocess
|
|
|
|
| 207 |
|
| 208 |
def _ensure_llama():
|
| 209 |
d = os.path.join(_BENCH_CACHE, "bin")
|
| 210 |
+
cli = os.path.join(d, "llama-cli")
|
| 211 |
bench = os.path.join(d, "llama-bench")
|
| 212 |
if os.path.isfile(cli) and os.path.isfile(bench): return cli
|
| 213 |
import subprocess
|