mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1165] Ship an MMQ-enabled engine build (or opt-in loading) for k-quant prompts: a full-RAM machine is GPU-bound on the FP16 dequant path #485
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#485
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bys13 on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1165
Summary. On a machine where the UD-IQ4_XS experts are fully resident (no SSD anywhere in the
decode or prompt path), prompt reading is limited by the FP16-dequant expert products the released
engine uses for Q4_K / Q5_1. docs/UNSLOTH_Q4.md (lines 173-177) says the MMQ prompt kernels are off
in the released engine because they cost start-up time and 1-3 expert slots of VRAM — but the
measured "no difference" behind that decision comes from a 64 GB machine where the prompt waits for
the SSD either way. On a full-RAM machine there is no SSD to wait for: the FP16 path is the
bottleneck, and the 4x GPU-time saving would land in full. I'd like a way to pay for it voluntarily.
Environment
engine/BUILD.json), Python server 0.1.40.1, Windows 11, driver 610.88unsloth/Qwen3.8-Flash-Next-GGUF, UD-IQ4_XS, 3 shards, vision on, 256K contextConfiguration (abridged)
The engine log confirms full residency, no file reads on the hot path:
Measured (this machine)
--ple-io direct--ple-io mmap(after warm-up)The IQ3_S comparison is the tell: same architecture, same PLE table, same machine, same
--kv/--spec/--mtpsettings — 3.3x faster prompt reading, because the i-quant formats have thenative MMVQ prompt path while the k-quant experts of UD-IQ4_XS fall back to dequantizing to FP16.
Disk during prefill drops from ~380 MB/s (file-cache warm-up) to near zero once warm, so nothing
here is waiting for the drive.
What I'd like
Any of these, in order of preference:
-DSTRATA_MMQ_KQUANTS=ONoffered alongside the current one (or aseparate
engine-mmqdownload), so full-RAM k-quant users can opt in; ornon-k-quant models never pay the start-up or VRAM cost; or
expected way to run this pack, with the measured delta.
The 1-3 expert-slot VRAM cost and the kernel-load start-up cost are fine to eat when your prompt
path is the long pole — they should just not be charged to users whose prompts are SSD-bound.
Happy to benchmark any test build on this machine (fresh 28K-token prefill, warm and cold file
cache, decode, and the IQ3_S pair for reference).