mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4575] [Engine] MTP drafts never proposed on sm_89 (RTX 4060 Ti 16GB, hybrid mode, drafts accepted 0 of 0) #2065
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#2065
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 @lei89 on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4575
Summary
MTP speculative decoding never produces a single draft on an RTX 4060 Ti 16 GB (sm_89) / Windows 10, so decode speed stays well below the reference numbers for this model. The MTP block is found and loaded,
--mtp 2is passed to the engine, but every session reportsdrafts accepted 0 of 0.This may be relevant because
docs/QWEN36.mdstates the sm_89 build was compiled in CI but never actually executed on real hardware.Environment
0.1.52-windows-x86_64-cuda-cuda13unsloth/Qwen3.6-35B-A3B-MTP-GGUF→Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf(21.28 GiB), downloaded via--source modelscopeReproduction
Then a plain OpenAI-compatible request (400 generated tokens):
Observed behaviour
Engine is launched with MTP explicitly requested, and the log confirms the MTP block was loaded:
But on every single request, including long 400-token generations:
0 of 0(not0 of N) looks like drafts are never proposed, rather than proposed and rejected.Measured speed
Reference points from the docs for the same model and quant: R9700 32 GB = 117.8 tok/s, RTX 3060 12 GB (hybrid, only 37/256 experts in VRAM) = 58.5–59.7 tok/s. This machine places more experts in VRAM (66/256) than the 3060 and has higher VRAM bandwidth, yet is ~20% slower — consistent with MTP being inactive while the 3060 numbers presumably include it.
What I already tried (none changed
0 of 0)--tune quick— reportsalready fastest, no parameter change.--context 8kinstead of32k(frees VRAM for expert cache) — slightly faster, still0 of 0.--mtp on/--set mtp=...variants — no drafts.--set pool-workers=16 --set pool-affinity=all— 35% slower (30 tok/s). The engine correctly warns: "16 CPU expert workers are configured, but this process can run only 16 CPU threads. The extra workers spin... Recommended: --pool-workers 7". Reverted to default 8.Worker scaling, measured on the same box after enabling A-XMP (400 generated tokens, engine-reported tok/s):
--pool-workers6 and 8 are identical within noise, and 16 is much worse. So the CPU expert path looks bandwidth-saturated at ~6 threads rather than compute-bound — which would also explain why going from DDR4-2400 to DDR4-3200 (+33% memory bandwidth) only bought +13% decode. Worth noting in case it informs default worker heuristics: the engine picks physical-core count (8), but 6 already saturates DDR4 dual channel here.
Questions
all 18.75 GiB in pageable host memory? I could not find a documented restriction, andMTP block loadedsuggests it should be active.Happy to run any diagnostic build or provide full logs / traces — the machine is available and reproducible. I can also re-test on other quant levels (UD-Q6_K_XL needs 48 GB RAM, which I can add) to see whether the behaviour is quant-specific.
@github-actions[bot] commented on GitHub (Oct 29, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Oct 29, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.