Conversation
The b10018 upstream sync replaced the fork's speculative CLI with the upstream framework: the Gemma MTP and Qwen NextN paths both became draft-mtp, and --mtp-head disappeared. The docs and helper scripts kept the old names, so every command from README/MTP.md/NEXTN.md failed with 'invalid argument' (#37) or 'unknown speculative type' (#34). - map 'mtp' and 'nextn' to COMMON_SPECULATIVE_TYPE_DRAFT_MTP (duplicates are safe: type selection collapses into a bitmask) - add --mtp-head as an alias of --spec-draft-model/-md
--draft-max/--draft-min are removed-arg stubs and --draft-block-size no longer exists; all examples now use --spec-draft-n-max/--spec-draft-n-min (per-round chain length N = old block size B - 1).
DRAFT_BLOCK_SIZE keeps working (translated to --spec-draft-n-max B-1); the legacy DRAFT_MAX cap is no longer forwarded for Gemma helpers, and the Qwen NextN helper defaults to the documented n-max 2 / n-min 1.
The b10018 sync renamed the assistant tensors to NEXTN_*/MASKED_EMBD_* (which have their own mapping entries) but left the old MTP_* references behind; since MODEL_TENSOR.MTP_PRE_PROJECTION no longer exists, importing gguf crashed with AttributeError — taking every conversion script down with it.
The published assistant GGUFs predate the sync: different arch name
('gemma4_assistant'), kv namespace, and a different head architecture at
the tensor level (single mtp.* projections vs per-block nextn.*), so
they cannot be loaded by the upstream gemma4-assistant support. Replace
'unknown model architecture' with an actionable message pointing at
re-download/reconversion.
fix: restore mtp/nextn spec-type names, --mtp-head, and live draft flags in docs/scripts
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.
Promotes the merged #44 to master for the b10018-1.1.1 patch release.
--spec-type nextn(andmtp) accepted again as aliases ofdraft-mtp;--mtp-headrestored as-mdalias.