mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3898] Strata on Mac with Orcarouter has issue #1667
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#1667
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 @agapess on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3898
Apple M5 Ultra 96 GB, Strata 0.1.48-metal,
OrcaRouter Qwen3.8 Flash Next IQ3_XXS,
engine loads successfully but first request fails with:
mtl: no function gemv_18_16_1_4_1
Function gemv_18_16_1_4_1 was not found in the library
@github-actions[bot] commented on GitHub (Oct 24, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@Jonathan0827 commented on GitHub (Oct 24, 2026):
I also got this issue
@tamacolet commented on GitHub (Oct 28, 2026):
Reproduced locally, with root cause and a fix that worked for me.
Setup: Apple M5 Max 128 GB · macOS 27.2 · Strata 0.2.7 from source (
setup.sh, commit5e8a4cc) · engine 0.1.52-metal · OrcaRouter Qwen3.8-Flash-Next-Uncensored IQ3_XXS (2 shards), repacked withmetal_repack.py --verify, packed withiq_pack.py --compat-bf16, 32K context.What happened: The engine loads, then the first request exits it (code 3) with
no function gemv_18_16_1_4_1. After adding IQ3_XXS, the next request failed withno function gemv_22_16_1_4_1(IQ2_S, which the OrcaRouter file uses forattn_q/attn_k).Cause: The OrcaRouter GGUF stores some dense (non-expert) tensors as IQ3_XXS and IQ2_S. The Metal kernels already have the dequant code for both types (the expert path uses them), but the dense instantiation lists in
gemv.metal,dense_mm.metalandmma.metalonly list them up toT_IQ3_S.Fix: Add
T_IQ3_XXSandT_IQ2_Snext toT_IQ3_Sin those lists. The kernels compile at engine start, so no rebuild was needed.Result with the patch: Answers are correct (capital of Japan, a Python primes one-liner, a 400-character story, a 2,835-token summary). Decode runs at 95–107 tok/s, and prompt reading at ~1,240 tok/s warm (385 tok/s on the first cold request). Engine RSS is ~57.6 GB.
Related docs gap:
docs/ORCA.mdonly covers CUDA, whiledocs/MAC.mdreads as if IQ3_XXS works on Metal.@github-actions[bot] commented on GitHub (Oct 29, 2026):
Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.
To bring it back: fix the title (area prefix) and the missing parts, then comment
/reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.