[GH-ISSUE #2067] [Feature]: GLM-5.3-Flash (glm5next) support — the glm53f fork proves it works in Strata; AMD/HIP would make it unique #823

Closed
opened 2026-11-04 01:46:14 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @artfix on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2067

Hi! First: thank you for Strata. Real numbers from my machine first, per the house style:

  • My setup: RX 7900 XTX 24 GB, Ryzen 7 9700X, 32 GB RAM, Linux (Ubuntu 24.04), low-RAM mode, IQ2_XS.
  • Measured: 60–70 tok/s decode at 131K context. My daily assistant runs on it — a 125B MoE on a gaming PC at that speed still blows my mind.

The ask: GLM-5.3-Flash (glm5next) support in mainline Strata.

I checked the open issues first and couldn't find a GLM feature request — if one exists, I'm happy to move this there.

Why I think this is realistic and not just a wish:

  • The fork lighttransport/Strata (branch glm53f, "Strata-GLM53F") already implements a native GGUF backend for GLM-5.3-Flash inside Strata's codebase: measured ~29 tok/s decode (2× Tesla V100 32 GB + 160 GiB RAM, MTP depth 1) and ~7.5 tok/s (Threadripper 1950X, 160 GB DDR4, RTX 5060 Ti 16 GB), on mixed Q2_K_XL. Fixed layers + batched prefill on GPU, routed experts from RAM, optional GPU MTP drafting.
  • GLM-5.3-Flash is ~321B total / 18B active per token: 45 layers (34 Kimi-Delta-Attention linear layers + 11 sparse MLA), 8 of 288 experts + 1 shared expert per token, 1 MTP draft layer, vision encoder, 1M context. Strata already ships GDN (gated delta net) kernels — same gated-delta-rule family as KDA — plus hyper-connection handling and the whole MTP pipeline, so a big part of the hard work already exists in this repo.
  • Mainline llama.cpp still has glm5next only in an unmerged PR, and the EXL3 offload projects are CUDA-only. AMD owners currently have no local path to GLM-5.3-Flash at all. Strata with its HIP backend is the natural home for one — that combination would be unique.

Honest caveat from my side: my box has 32 GB RAM, so GLM on my machine would stream experts from the SSD and be much slower than Flash-Next — I know that. But AMD users with 64–128 GB (there are quite a few asking in r/LocalLLaMA — the "Project Maya" thread appeared this week) would get a real GLM runner, and I'd happily help test the low-RAM edge case too.

What I can offer: a real RX 7900 XTX test box, benchmarks following COMMUNITY_BENCHMARKS.md (same-day control runs, engine logs), patient bug reports with full logs, and beta testing whenever something is ready to try.

📧 Contact (click to reveal email)

artfix@protonmail.com

Originally created by @artfix on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2067 Hi! First: thank you for Strata. Real numbers from my machine first, per the house style: - **My setup:** RX 7900 XTX 24 GB, Ryzen 7 9700X, 32 GB RAM, Linux (Ubuntu 24.04), low-RAM mode, IQ2_XS. - **Measured:** 60–70 tok/s decode at 131K context. My daily assistant runs on it — a 125B MoE on a gaming PC at that speed still blows my mind. **The ask:** GLM-5.3-Flash (glm5next) support in mainline Strata. I checked the open issues first and couldn't find a GLM feature request — if one exists, I'm happy to move this there. **Why I think this is realistic and not just a wish:** - The fork [`lighttransport/Strata`](https://github.com/lighttransport/Strata) (branch `glm53f`, "Strata-GLM53F") already implements a native GGUF backend for GLM-5.3-Flash *inside Strata's codebase*: measured **~29 tok/s decode** (2× Tesla V100 32 GB + 160 GiB RAM, MTP depth 1) and **~7.5 tok/s** (Threadripper 1950X, 160 GB DDR4, RTX 5060 Ti 16 GB), on mixed Q2_K_XL. Fixed layers + batched prefill on GPU, routed experts from RAM, optional GPU MTP drafting. - GLM-5.3-Flash is ~321B total / 18B active per token: 45 layers (34 Kimi-Delta-Attention linear layers + 11 sparse MLA), 8 of 288 experts + 1 shared expert per token, 1 MTP draft layer, vision encoder, 1M context. Strata already ships GDN (gated delta net) kernels — same gated-delta-rule family as KDA — plus hyper-connection handling and the whole MTP pipeline, so a big part of the hard work already exists in this repo. - Mainline llama.cpp still has glm5next only in an unmerged PR, and the EXL3 offload projects are CUDA-only. **AMD owners currently have no local path to GLM-5.3-Flash at all.** Strata with its HIP backend is the natural home for one — that combination would be unique. **Honest caveat from my side:** my box has 32 GB RAM, so GLM on *my* machine would stream experts from the SSD and be much slower than Flash-Next — I know that. But AMD users with 64–128 GB (there are quite a few asking in r/LocalLLaMA — the "Project Maya" thread appeared this week) would get a real GLM runner, and I'd happily help test the low-RAM edge case too. **What I can offer:** a real RX 7900 XTX test box, benchmarks following COMMUNITY_BENCHMARKS.md (same-day control runs, engine logs), patient bug reports with full logs, and beta testing whenever something is ready to try. <details> <summary>📧 Contact (click to reveal email)</summary> artfix@protonmail.com </details>
Author
Owner

@NenadSteric commented on GitHub (Oct 14, 2026):

Adding to this request. I have been running GLM 5.3 Flash on PolyStrata, VecSzn's fork of Strata. Its repository and releases disappeared around 2026-10-13, and I cannot reach the author. I have its last source (b0e3b57a, MIT, built on Strata) and have merged your current main (v0.1.44.1) into it. I would like to help get GLM into mainline Strata rather than keep a fork.

There are now two GLM engines built on Strata's code, each a separate binary beside strata:

  • lighttransport's glm53f (strata-glm-decode, linked above): GLM only, with CUDA, a measured HIP build on AMD and an experimental Vulkan runner, its own repacked Q23 files and expert-pruning work. Its server path is experimental: greedy decoding only, no tool calls yet.
  • PolyStrata's strata-poly (it started out as strata-glm): reads the GGUF in place (GSQ-RCO 3.0bit, UD-IQ2_XXS, REAP50 Q3_K_M) with the model's draft block, runs the experts the GPU does not hold on the CPU through ggml with an expert profile deciding which stay on the card, can split the model by layers over several GPUs, and has a complete server path for GLM (sampling, its tool-call format, stop tokens) plus setup/MCP entries. Its HIP backend is iMil's (iMilnb) work, merged into PolyStrata before it disappeared. The engine also runs other architectures, so GLM would have to be carved out of it.

They look more complementary than competing: one has the complete serving path and setup, the other Vulkan, its own repacked files and AMD measurements; both have HIP builds.

@Niko1221, questions before anyone writes pull requests:

  1. Would you take GLM 5.3 Flash into mainline at all?
  2. If yes, which shape fits your plans: a GLM engine of its own beside strata (in the pattern of strata-q36), or something else?
  3. Would you rather start from one of the two implementations, or a combination? If you would like a combination and the glm53f author is available and interested, I would be glad to work on it together; otherwise I can prepare a series from PolyStrata's side alone.

Nothing has to stay compatible with PolyStrata's installs. I would split the work into pull requests that each stand on their own, opt-in, with the default path byte-identical and every touched backend built (I can build CUDA; HIP and SYCL would need help or CI). The code is prepared with an AI coding assistant (Claude Code); I review, build and test it.

🤖 Generated with Claude Code

<!-- gh-comment-id:6166019903 --> @NenadSteric commented on GitHub (Oct 14, 2026): Adding to this request. I have been running GLM 5.3 Flash on PolyStrata, VecSzn's fork of Strata. Its repository and releases disappeared around 2026-10-13, and I cannot reach the author. I have its last source (b0e3b57a, MIT, built on Strata) and have merged your current main (v0.1.44.1) into it. I would like to help get GLM into mainline Strata rather than keep a fork. There are now two GLM engines built on Strata's code, each a separate binary beside `strata`: - **lighttransport's `glm53f`** (`strata-glm-decode`, linked above): GLM only, with CUDA, a measured HIP build on AMD and an experimental Vulkan runner, its own repacked Q23 files and expert-pruning work. Its server path is experimental: greedy decoding only, no tool calls yet. - **PolyStrata's `strata-poly`** (it started out as `strata-glm`): reads the GGUF in place (GSQ-RCO 3.0bit, UD-IQ2_XXS, REAP50 Q3_K_M) with the model's draft block, runs the experts the GPU does not hold on the CPU through ggml with an expert profile deciding which stay on the card, can split the model by layers over several GPUs, and has a complete server path for GLM (sampling, its tool-call format, stop tokens) plus setup/MCP entries. Its HIP backend is iMil's (iMilnb) work, merged into PolyStrata before it disappeared. The engine also runs other architectures, so GLM would have to be carved out of it. They look more complementary than competing: one has the complete serving path and setup, the other Vulkan, its own repacked files and AMD measurements; both have HIP builds. @Niko1221, questions before anyone writes pull requests: 1. Would you take GLM 5.3 Flash into mainline at all? 2. If yes, which shape fits your plans: a GLM engine of its own beside `strata` (in the pattern of `strata-q36`), or something else? 3. Would you rather start from one of the two implementations, or a combination? If you would like a combination and the `glm53f` author is available and interested, I would be glad to work on it together; otherwise I can prepare a series from PolyStrata's side alone. Nothing has to stay compatible with PolyStrata's installs. I would split the work into pull requests that each stand on their own, opt-in, with the default path byte-identical and every touched backend built (I can build CUDA; HIP and SYCL would need help or CI). The code is prepared with an AI coding assistant (Claude Code); I review, build and test it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@merbanan commented on GitHub (Oct 14, 2026):

https://github.com/mw00/project-maya also exists.

<!-- gh-comment-id:6176111287 --> @merbanan commented on GitHub (Oct 14, 2026): https://github.com/mw00/project-maya also exists.
Author
Owner

@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:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270774628 --> @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: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
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
Niko1221/Strata#823
No description provided.