Files
leleka/crates
Pavlo RatushnyiandClaude Sonnet 5.5 73e2fdc038 perf(prefill): defer cuMemFree while the chunk stream is in flight, pool ring status, blocking-call timing
Job 950 showed the expert stream moving the wait into moe.finish and GR inject
(cuMemFree of per-layer scratch synchronizes the device and waits for every queued
copy). Frees are queued on the Context during the stream and run at its end
(or past LELEKA_PREFILL_DEFER_FREE_MIB); the ring status buffer is fixed-size and
pooled; PREFILL-COPY reports the host-blocking calls (alloc/free/h2d/d2h/memset/drain).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 07:09:21 +02:00
..