mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[GH-ISSUE #1301] docs: --lookup-chain — note the workload it targets (repeating context), since the default suffix path already covers non-repeating text #534
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#534
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 @ZackO2o on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1301
What this is: a short measurement note on
--lookup-chain, plus a documentation observation. Not a bug report.Hardware: 2× Tesla V100-PCIE-32GB (sm_70, CUDA 12 source build), Qwen3.8-Flash-Next IQ3_S, 512K,
--layer-split 20,--spec 4 --spec-min-p 0.70. Same box as the community report in #1300.What we measured
We swept three opt-in settings, 12 runs each, first 2 discarded, medians, arms interleaved within one service lifetime:
--lookup-chain 2--lookup-chain 4--host-core last--host-core lastwe understand — its help says the win comes from Windows sending a GPU's interrupts to one logical processor, which is a Windows-only condition; on Linux there is nothing to fix. Correctly documented, no action needed.--lookup-chainis the one worth a sentence in the help. Reading the source (generate.cpp:2089), the default path already enables prompt lookup:So the default already takes the suffix path when the draft policy says it pays, and the +6–11% case documented there is code edits.
--lookup-chain Kis specifically "add up to K prompt-lookup drafts that continue the MTP's drafts", which needs the context to actually repeat itself — our prose and code prompts do not, so a null-to-negative result is the expected outcome rather than a surprising one.The suggestion
The help entry describes the mechanism precisely but not the workload it targets:
It is opt-in and off by default, so nobody loses anything by it — but "opt-in" invites trying it, and the setting that decides the outcome (does your context repeat?) is not mentioned but is mentioned on the sibling
--suffix-draftline ("when it pays"). A phrase in the same spirit on the--lookup-chainline — "pays when the context repeats (templated output, fixed-format turns, code with repeated blocks)" — would save the next person the sweep we just did.What we did not establish
--lookup-chainon a templated workload, so this is not a claim that it never helps — only that on non-repeating prose/code it does not, and that that is consistent with the mechanism.@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.