[Bug][GPU]: int8 Qwen3-Coder-30B-A3B on Arc 140T fails long prompts — grouped MoE gemm has no dispatchable kernel ("could not create a primitive descriptor for the matmul primitive")
Windows 11, Intel Arc 140T iGPU (Core Ultra 9 285H, Xe-LPG+, has XMX), driver 32.0.101.x. OpenVINO 2026.3.1 through openvino-genai 2026.3.1; the GPU plugin's oneDNN reports v3.13.0. Model: OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int8-ov. The reporter's own optimum-intel export of the same model as symmetric int8 (--sym --group-size -1) fails the same way; the int4 export of the same model works.
What happens
Long prompts (roughly 15k tokens and up, a real agent session from OpenCode) fail on the GPU with
Exception from src\inference\src\cpp\infer_request.cpp:224:
could not create a primitive descriptor for the matmul primitive.Short prompts on the same pipeline are fine. ONEDNN_VERBOSE=1 shows it is always the same primitive: the grouped MoE expert matmul, 2048x2048:128x2048x768 (128 experts, hidden 2048, intermediate 768), f16 sparse:grouped src/dst with int8 weights. Every implementation refuses it:
create:dispatch,matmul,gpu,matmul,gemm_t,undef,src:f16::sparse:grouped::f0 wei:u8::blocked:acb::f0 dst:f16::sparse:grouped::f0,attr-fpmath:f16:true attr-scales:wei:5:f16 attr-zero-points:wei:5:u8,,2048x2048:128x2048x768,unsupported sparse md configuration,src\gpu/intel/matmul/gemm.hpp:68
create:dispatch,matmul,gpu,matmul,ocl:ref:any,undef,...,unsupported datatype combination,src\gpu/intel/matmul/sparse_ref.hpp:55
attempting heuristic strategy: offseta[g1x2048,o] gemm oHS T@8N@16N 8 16 1 0 aB64{cc} aB32#0,4{cc} rb#8,0 cab1 ks64 wg 2x2 sys dw k2048 grf256 vav di dm sr nch fm np bm8192 bn8192 bk16777216
strategy failed(Insufficient registers in requested bundle):offseta[g1x2048,o] gemm oHS T@8N@16N 8 16 1 0 ...
create:dispatch,matmul,gemm microkernel generation failure with message: No matching kernel,src\gpu\intel\matmul\grouped_micro_gemm.cpp:271
create:dispatch,matmul,gpu,matmul,ocl:ref_grouped:any,undef,...,unsupported datatype combination,src\gpu/intel/matmul/ref_grouped_gemm.hpp:76
create:dispatch,matmul,gpu,matmul,ocl:ref:any,undef,...,unsupported sparse md configuration,src\gpu/intel/matmul/ref.hpp:58That is from Intel's u8 model. The symmetric s8 export gives the same four refusals without the attr-zero-points. (The many CL_PROFILING_INFO_NOT_AVAILABLE lines in a full verbose log are unrelated; they appear on runs that succeed too.)
What does and does not reproduce
- Passes on the same machine and weights: a plain
LLMPipelinefed a synthetic 60k- and 120k-character prompt (one sentence repeated). - Fails on the same machine and weights:
ContinuousBatchingPipelinewith the real ~100k-character agent prompt, every time. A plainLLMPipelinewith the same real prompt failed one run out of two. - Does not reproduce on Xe2 (Arc Pro B60, Arc 140V) or on the XMX-less Xe-LPG in a Core Ultra 9 285K: dense int8 up to 120k characters, and a 32-expert int8 MoE (LFM2-8B-A1B) up to 100k characters, all clean on 2026.3.0 and 2026.3.1.
Our reading: on Xe-LPG+ the MoE fusion engages (XMX is there), the gemm generator has no strategy that fits the register budget for this grouped shape, and both reference fallbacks reject int8 weights in the grouped layout, so there is nothing left to dispatch to. On the 285K the fused path never engages and on Xe2 the kernels exist, which is why neither shows it. The synthetic-prompt pass suggests the token-per-expert distribution is part of it: a repeated sentence routes to very few experts. Nobody on our side owns a 140T, so the reporter's log is the whole reproduction.
Steps
- Download
OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int8-ov. openvino_genai.LLMPipeline(model_dir, "GPU")on an Arc 140T; generate from a real prompt of ~15k tokens or more (natural text or code, not a repeated phrase).ONEDNN_VERBOSE=1for the dispatch lines above.
Full thread, the complete ONEDNN_VERBOSE=all log and the negative runs: https://github.com/aweussom/NoLlama/issues/33
Source: openvinotoolkit/openvino