optiquant Claude Opus 4.8 (1M context) commited on
Commit
de744cc
Β·
1 Parent(s): dc45861

Speed + UX: trim scored schema, cache prompt, lighter ctx, live status

Browse files

App-only deploy to the Space. Same app changes as origin commit 6408b42 but
without the demo/ video tooling (and its font binary, which HF rejects and the
running app never uses).

- PARSE schema trimmed to ranker-only fields (~20-35% fewer output tokens)
- Why column derived from score.explain (deterministic, zero tokens)
- cache_prompt: reuse system-prompt KV between calls
- llama-server ctx 8192 -> 4096
- prioritize() streams an instant status so CPU inference isn't a frozen wait

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

6 files changed +97 -86
Files changed (6)
app.py+61-13
llm.py+4
prompts.py+1-4
score.py+30-55
start.sh+1-1
test_score.py-13