mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2504] Metal: an MTP draft layer with Q4_0 experts stops the engine at the first request ("no function moe_gu_2_32_1_4") #1018
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#1018
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 @joesinvestments on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2504
What happened
tools/mtp_pack.pyoffers--experts q2_0 | q4_0 | q8_0(its header namesmtp-q4_0.ggufthe acceptance comparisonarm). On the Metal engine a Q4_0 draft layer loads, then the engine exits with code 3 at the first request, on every pack
we tried (IQ3_XXS, IQ3_S, UD-Q4_K_XL). The Q2_0 layer that setup writes and a Q8_0 layer built the same way both work.
The log names the cause: the Metal library has no MoE gate/up kernel for that expert type and tile:
mtl: no function moe_gu_2_32_1_4 Function moe_gu_2_32_1_4 was not found in the library.If Q4_0 is not meant for Metal, a refusal at load (as for Qwen3.6) would be friendlier than an exit at the first request.
Steps:
Then any chat request. With
mtp-q8_0.ggufthe same config answers normally, and its output equals the no-MTP outputtoken for token on our three test prompts.
Strata version, GPU, OS
Strata v0.1.44 (
ed4773eb) built from source with./setup.sh, Metal engine. Mac Studio M5 Max (40-core GPU), 64 GB,macOS 27.0.1. Packs streaming from the SSD (
STRATA_METAL_STREAM=1).Engine log
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.