Repository navigation
Conversation
Main 881e224 added the prompt-tail slices retained by the rebase. Move the unchanged round fingerprint into its own module so the combined runner remains below 600 lines.
Main moved keysForward to prompt_tail.zig. This PR's copy passed the shifted norm and YaRN rope, so the moved one must too. Both default to the plain path, so other Qwen models are unchanged.
… each with its own host field and tap slots Main's 4f8b193/090c9c4a9 line serves Qwen3.8-27B's MTP head under --mtp-drafts (Host.mtp: qwen27_mtp.zig's Mtp, its taps through qwen27_features.zig's prepare and rows in the lane backend's table). This PR's head for SenseNova-Loop came with a Host.mtp of its own type and the same two table slots, plus prefill_features. - qwen27_served: the PR's head is Host.sn_mtp; it loads only when --mtp-drafts is off (so at most one head drafts), sets the backend's sn_features before its wrapper takes the backend's table, and frees as the PR placed it. - qwen27_lanes: Metal.sn_features picks the table. With it, the PR's slots (sensenova_features.zig's prefill_features, prepare_features and features); without it, main's table unchanged, so a Qwen3.8-27B prompt under --mtp-drafts keeps main's prompt pass (Drafted streams prompts through prefill_features whenever one is set). - residency: the PR's three resident-set lines name sn_mtp, the type whose buffers they add. Main's Qwen3.8-27B MTP, DFlash2 and plain paths keep main's code; SenseNova-Loop's keeps the PR's.
…main Main's growth beside this series' SenseNova-Loop lane changes put the file at 605 lines. The tail encoder's choice becomes one if/else line and the argmax tail's body one call; no behaviour changes.
…s solo prompt rows attention.zig, attention_plan.zig, decode_round.zig and qwen27_slots.zig now carry main's solo prompt rows with this stack's SenseNova-Loop changes; their pins are regenerated from the merged files, main's notes kept.
Owner
Author
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.
CI for a landing train: #3868 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.