Swap-to-CPU preemption as an alternative to recompute
Débutant
help wanted
0 ★
Poids du clone léger
Mise à jour
Description
When blocks run out, `LLMEngine._preempt()` evicts the newest request and re-prefills it later. vLLM also supports copying its KV blocks to host memory and back, which trades PCIe bandwidth for recomputation.
**Where:** `pooji_vllm/llm_engine.py` — `_preempt`.
**Interesting because** which policy wins depends on prompt length: long prompts are expensive to recompute, so swapping should win past some crossover. Finding and documenting that crossover is most of the value here.
**Done when:** both policies are selectable and BENCHMARKS.md records where each one wins.
Issues similaires
Tout voir
Python
Débutant
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an im…
Mise à jour
Python
Débutant
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:54…
Mise à jour
Python
Débutant
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the r…
Mise à jour