[GH-ISSUE #151] degenerate, prompt-independent output with unsloth UD-IQ3_XXS on gfx1100 HIP #53

Closed
opened 2026-10-29 21:19:48 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Angular-Angel on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/151

Had GLM 5.3 Flash try and get this running, and it had some difficulties:

Symptom: the engine boots, serves and is fast — decode 38–47 tok/s, prefill 105–133 tok/s (short
prompts), expert-cache hit 99–100% — but every completion collapses to the same gibberish attractor
(`eloseloselo…estruc…`), independent of prompt, thinking on/off, hipBLASLt tuning, and shard metadata
completeness. `drafts accepted 0 of 0` (the MTP drafter never proposes), so the target path itself
produces the tokens.

Reproducer: pack built per ORCA.md from `unsloth/Qwen3.8-Flash-Next-GGUF` **UD-IQ3_XXS**
(`iq_pack.py --compat-bf16 --experts-bin`; conversion stats byte-match ORCA.md's validated numbers:
460 tensors, 1.39 GiB, 1.43 GiB dense arena); config as in ORCA.md adapted per Issue A workarounds;
`--spec 4 --spec-min-p 0.5 --prefill 8192 --max-context 32768 --kv int8 --mtp mtp/rt`.

Key difference vs the validated pack — unsloth's experts are **not** IQ3_XXS: the pack's own
`native_experts.txt` shows per-layer `gu_type` of **22 (IQ2_S) or 21 (IQ3_S)** with `d_type 20
(IQ4_NL)` (ORCA.md's validated orcarouter pack: "IQ3_XXS gate/up and IQ4_NL down", line 90).
Question: is the native/R4 expert path (and the AVX2 CPU lane) validated for IQ2_S/IQ3_S gate-up
expert rows, or is orcarouter-style IQ3_XXS the only supported expert format?

Ruled out on our side: chat template (renders correctly), geometry (engine canonical defaults match
Flash-Next exactly), speculation (0 drafts), PLE/metadata completeness (splice changed nothing),
hipBLASLt tuning, governor/memlock. Disclosed: we requantized the embedding to IQ4_NL ourselves
(per-block cosine ≥ 0.98 vs the Q6_K source via gguf-py's reference decoder) — we cannot fully
exclude a contribution, but the fixed attractor pattern and the checks above point elsewhere.

This was with v1.1.4 (github.com/mw00/project-maya@a30160c071), on the following system:

OS: MX x86_64 
Host: Z790 AORUS ELITE AX 
Kernel: 7.2.9-2-liquorix-amd64 
Uptime: 2 hours, 59 mins 
Packages: 3731 (dpkg), 26 (flatpak) 
Shell: bash 5.2.15 
Resolution: 1920x1080 
DE: Xfce 4.20 
WM: Xfwm4 
WM Theme: mx-comfort 
Theme: mx-comfort [GTK2/3] 
Icons: Papirus-mxblue-darkpanes [GTK2/3] 
Terminal: xfce4-terminal 
Terminal Font: Liberation Mono 11 
CPU: Intel i9-14900KF (16) @ 3.201GHz 
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M 
Memory: 62591MiB / 64121MiB
Originally created by @Angular-Angel on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/151 Had GLM 5.3 Flash try and get this running, and it had some difficulties: ``` Symptom: the engine boots, serves and is fast — decode 38–47 tok/s, prefill 105–133 tok/s (short prompts), expert-cache hit 99–100% — but every completion collapses to the same gibberish attractor (`eloseloselo…estruc…`), independent of prompt, thinking on/off, hipBLASLt tuning, and shard metadata completeness. `drafts accepted 0 of 0` (the MTP drafter never proposes), so the target path itself produces the tokens. Reproducer: pack built per ORCA.md from `unsloth/Qwen3.8-Flash-Next-GGUF` **UD-IQ3_XXS** (`iq_pack.py --compat-bf16 --experts-bin`; conversion stats byte-match ORCA.md's validated numbers: 460 tensors, 1.39 GiB, 1.43 GiB dense arena); config as in ORCA.md adapted per Issue A workarounds; `--spec 4 --spec-min-p 0.5 --prefill 8192 --max-context 32768 --kv int8 --mtp mtp/rt`. Key difference vs the validated pack — unsloth's experts are **not** IQ3_XXS: the pack's own `native_experts.txt` shows per-layer `gu_type` of **22 (IQ2_S) or 21 (IQ3_S)** with `d_type 20 (IQ4_NL)` (ORCA.md's validated orcarouter pack: "IQ3_XXS gate/up and IQ4_NL down", line 90). Question: is the native/R4 expert path (and the AVX2 CPU lane) validated for IQ2_S/IQ3_S gate-up expert rows, or is orcarouter-style IQ3_XXS the only supported expert format? Ruled out on our side: chat template (renders correctly), geometry (engine canonical defaults match Flash-Next exactly), speculation (0 drafts), PLE/metadata completeness (splice changed nothing), hipBLASLt tuning, governor/memlock. Disclosed: we requantized the embedding to IQ4_NL ourselves (per-block cosine ≥ 0.98 vs the Q6_K source via gguf-py's reference decoder) — we cannot fully exclude a contribution, but the fixed attractor pattern and the checks above point elsewhere. ``` This was with v1.1.4 (https://github.com/mw00/project-maya/commit/a30160c07135484385b7330dd06a9fdd38bf0b09), on the following system: ``` OS: MX x86_64 Host: Z790 AORUS ELITE AX Kernel: 7.2.9-2-liquorix-amd64 Uptime: 2 hours, 59 mins Packages: 3731 (dpkg), 26 (flatpak) Shell: bash 5.2.15 Resolution: 1920x1080 DE: Xfce 4.20 WM: Xfwm4 WM Theme: mx-comfort Theme: mx-comfort [GTK2/3] Icons: Papirus-mxblue-darkpanes [GTK2/3] Terminal: xfce4-terminal Terminal Font: Liberation Mono 11 CPU: Intel i9-14900KF (16) @ 3.201GHz GPU: AMD ATI Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M Memory: 62591MiB / 64121MiB ```
Author
Owner

@mw00 commented on GitHub (Oct 13, 2026):

Thanks for the careful elimination work. Same answer as #150, I'm afraid: this is the Qwen3.8-Flash-Next path, which Maya doesn't support. Maya runs GLM-5.3-Flash only, and that path isn't maintained or tested here, so we can't say which expert formats it handles correctly. We'll remove the docs that suggest otherwise.

If you'd like to run Maya itself on that card, docs/AMD_MAYA.md is the tested route (Maya-S24 suits a 20-24 GB card), and we'd be glad of a report from it.

<!-- gh-comment-id:6147952602 --> @mw00 commented on GitHub (Oct 13, 2026): Thanks for the careful elimination work. Same answer as #150, I'm afraid: this is the Qwen3.8-Flash-Next path, which Maya doesn't support. Maya runs GLM-5.3-Flash only, and that path isn't maintained or tested here, so we can't say which expert formats it handles correctly. We'll remove the docs that suggest otherwise. If you'd like to run Maya itself on that card, [docs/AMD_MAYA.md](https://github.com/mw00/project-maya/blob/main/docs/AMD_MAYA.md) is the tested route (Maya-S24 suits a 20-24 GB card), and we'd be glad of a report from it.
Author
Owner

@mw00 commented on GitHub (Oct 13, 2026):

The old Qwen/Orca docs are now out of the repo (a709524). Closing, since Maya runs GLM-5.3-Flash only - thanks again for the detailed reports.

<!-- gh-comment-id:6149456662 --> @mw00 commented on GitHub (Oct 13, 2026): The old Qwen/Orca docs are now out of the repo (a709524). Closing, since Maya runs GLM-5.3-Flash only - thanks again for the detailed reports.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#53
No description provided.