Menu

1 / 2

[Engine] STRATA_L3_PF=1: +6% decode by reading the next layer's likely CPU experts into the CPU caches while the GPU works (opt-in) by gcp · Pull Request #6550 · Niko1221/Strata

GitHub Public Timeline Feed·gcp·13 days ago
#8DhFwkzC
Long article (721 words) — no AI summary yet.
Reading 0:00
15s threshold

added 5 commits

November 22, 2026 00:13

…h for the next layer's experts (opt-in)

set_static_slices(true) gives worker j the rows [per*j/n, per*(j+1)/n) of every expert in the native gate/up and down phases (modes 5/6), and the host none, so a worker computes exactly the rows it read. The rows of one expert are computed by the same kernels as before; only where a range ends changes, and the kernels give the same bits for any split (pool_determinism, kq_window_bench --check-split).

prefetch_next publishes an asynchronous batch (mode 8) and returns: each worker computes its share of the next layer's router logits, the workers meet at a barrier, every worker picks the same top N experts that are not in VRAM by votes over the tokens' top k, and each reads its static slices of those blobs into its caches. The next batch of any kind stops it (wait_parked raises pf_abort_).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.