Repository navigation
lanes: lone-copy pricing only for families that opt in and serve without a model drafter - #4661
Merged
Merged
Conversation
Keep current main head depth functions and every non-opted path. Only HIP Qwen copies-only facts opt into prefix prices and retained calibration. Restore price, backoff, sampling and scope regressions. Co-authored-by: Abraham <119352736+AbrahamCete@users.noreply.github.com>
… serve without a model drafter
ashhart
force-pushed
the
lead/lone-copy-no-drafter
branch
from
November 22, 2026 20:25
18fe282 to
3dbacfc
Compare
Owner
Author
|
Thank you @AbrahamCete. This is merged into main with your commits under your own name, so you're credited as a TensorFold contributor. |
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
5c22fbb took #3728's lone-stream copy pricing out of the lanes because on an M3 Ultra it made Qwen3.8-27B with its DFlash2 drafter verify more drafted rows that did not land. Without it, Qwen3.8-27B on AMD Strix Halo (HIP, copies only, no model drafter) decodes 6-9% slower than 1.3.3 right after a fresh 2K prompt (13.8 against 14.7 and 13.9 against 15.2 tok/s).
This brings the pricing back only where a family opts in with
copy_guardand the stream has no model head or drafter. Every other family's and every drafted stream's lane decisions stay exactly as on main. 1.3.4 ships with this commit.Exactness
Pricing only changes which draft rows the target verifies; every reply stays token-equal.
Measured
Against v1.3.3, three runs a side, tokens equal:
Tests
copy_scope_test.zig(pricing on for HIP copies-only, off for every other family and for drafted streams), the restored lone-copy price and sampled tests, and the copies-only plain guard test.