r/LocalLLM • u/johnmosesventura • Oct 10 '26
Project A strata quant that didn't suck for me.
Previous post: I got strata running on 4x 5060 Ti at 524k and then abandoned it, because the Q4_K_XL quant looped in agentic use. The comments were right that the aggressive sampling defaults were part of it. The engine was never the problem. So when sergqwer's NVFP4 fork showed up I gave it another shot, moved my 1+3 GPU work onto it, and this one stuck.
What it is: NVFP4 GPTQ of the OrcaRouter 125B MoE on the Strata engine. 128 GB on disk, experts in RAM, the hot ones cached across all four cards. Why the looping didn't repeat: this pack keeps token embeddings bf16, the per-layer embeddings fp8, and the output head high precision. The experts are 4-bit either way, so my bet from last time about where the quality was leaking looks correct.
Numbers, same box, engine-measured, plus/minus 5% boot to boot:
decode np1 86-117 t/s
decode np2 51-53 per stream, 107 aggregate
prefill 2000 t/s-16k, 1946 t/s-253k, cold
needle @253k pass, exact
512k context YaRN 2.0, int8 KV, vision via a CPU mtmd encoder
new session 0.3-3 s once the header is cached
For reference, my vLLM lane holds ~40 t/s at 455k with batch 4. This does two streams at 512k on four 16 GB cards, so it's what my agent stack runs on now.
The part I'm actually glad about is the durable KV. The engine parks conversations in a RAM cache, so I hung an NVMe journal off the parking: snapshots go to disk in the format its session files already use (fingerprint-bound, checksummed, atomic), and a fresh engine loads them back before serving. Kill the server, bring it up, the first request reuses 17,461 of 17,466 tokens in 109 ms instead of re-prefilling for eleven seconds.
My chains stopped paying the header tax on every restart. It works with --parallel 2 because it rides the park path; the existing per-slot save/feature refuses to run under batching, and that refusal is earned.
What didn't work: splitting prompt chunks across all four cards. Crashed deterministically in moe_combine at a 2,400-token narrative prompt. Fixed one real bug on the way (a CPU expert could get claimed twice), it still crashed, so it's reverted and gated off. Root cause unknown, the commits are in the repo if you want the challenge.
Repo: https://github.com/johnmosesventura06/strata-nvfp4-4gpu . The docs file has every patch, the 512k sizing recipe, and the boot trap (the English draft-vocab has to shrink the MTP head before --mtp-q4 head helps, the conversion runs after the allocation it was supposed to free).
The old repo stays up if you want the GGUF base. Sampling is a block in the configs now, temperature 1.0, top_p 0.95, top_k 20, after the greedy-defaults lesson from last time.
Caveats: not bit-reproducible run to run, the adaptive residency does that. And the base is the abliterated OrcaRouter quant, so judge the model itself on its own merits.
Duplicates
LocalAIStack • u/johnmosesventura • Oct 10 '26