Files
leleka/docs
Pavlo RatushnyiandClaude Sonnet 5.5 f07302b944 feat: admit GPU prefills by free memory; the worker falls back to the CPU for that prompt (STRA-219)
PrefillAccelerator::admit lets an accelerator refuse a prompt without being disabled. The GPU prefill
estimates its footprint (two layers of weights, scratch, hidden states, caches, 1 GiB headroom; 1.6 GiB
estimated vs 2.0 GiB peak private bytes measured for 1024 tokens before the headroom was raised) and
compares it with a probe; the worker's probe is the OS's available memory (sysinfo). admission_check
exercises both outcomes on the real model. 1024-token prefill with the vec4 attention: 15.9 s (64.5 tok/s),
single unpaired run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 00:48:48 +02:00
..