mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1329] [CLOSED] Fix batch MTP shared draft head type #3388
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#3388
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1329
Author: @zetlaw
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:fix/batch-mtp-shared-draft-head📝 Commits (1)
a4dd2c5Fix shared MTP draft head type for batch slots📊 Changes
2 files changed (+9 additions, -0 deletions)
View changed files
📝
docs/BATCHING.md(+8 -0)📝
src/core/mtp.cpp(+1 -0)📄 Description
Problem
On a single GPU,
--batch 2 --batch-mtpwith a populatedrt/draft_vocab.binstarts with two slots but aborts the first batch admission withmtp: unsupported native MMVQ GGML type. The subset head is Q5_K, which the kernel already supports. A slot drafter shares the owner's subset-head weights and vocabulary but leavesdhead_type_at its default-1.Fix
Copy the subset-head GGML type when binding a shared MTP drafter. Document the existing model-backed two-slot regression command.
Verification
tools/batch_test.py --batch 2 --n 2 --max-new 64 --extra "--batch-mtp --pcie-frac 0 --adapt-every 1000000"produced 64 tokens identical to solo decoding in each slot.1,1,0,0).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.