[GH-ISSUE #4319] [Engine] Proposal: add GLM-5.3-Flash and MiniMax-M3.1-Flash as model families (from Project Maya) #1903

Closed
opened 2026-11-04 01:55:12 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @yudhanjaya on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4319

Problem and user need

Strata runs Qwen3.8, Qwen3.6 and DeepSeek V4.1-Flash. Users who want GLM-5.3-Flash (321 B, MIT) or MiniMax-M3.1-Flash on the same hardware have to use Project Maya (https://github.com/mw00/project-maya, MIT), which is built on Strata. Both projects are converging on Deepseek - this is duplicating functionality.

Proposal for discussion

Add each model as a self-contained, opt-in family, following the strata:src/dsv41 pattern:

  • GLM-5.3-Flash: engine and CMake target first (build only), then wiring into strata launch --family and serve/.
  • MiniMax-M3.1-Flash: the same steps.
  • Server features as separate small PRs (to stick to the one-PR issue)

Existing Qwen and DeepSeek paths, defaults and packages would not change. Copied files would keep Maya's copyright notice and be listed in strata:third_party/project-maya/NOTICE.md (the same way the DeepSeek engine is).

Problem:

However, this is not a one-PR issue . . . Maya and Strata have many files at the same path that have diverged. I compared Maya's src/ and serve/ source files with Strata's. Of Maya's 265 files, 137 have the same path in Strata and only 34 are identical. The big differences are:

File Location Lines that differ
generate.cpp src/program/ ~17k
server.py serve/ ~10.5k (4,916 lines in Maya, 8,718 in Strata)
expert_source.cpp src/core/ ~5.5k
prefill.cpp src/prefill/ ~4k
verify.cpp src/core/ ~3.8k
CMake (CMakeLists.txt) repo root 1,302 lines in Maya versus 2,409 in Strata

So Maya's GLM and MiniMax code would have to be rebuilt on top of Strata's versions of these files. Dropping Maya's copies in would overwrite Strata's Qwen and DeepSeek behaviour.

What would have to be imported

What Source (Maya) Proposed destination (Strata) Size in Maya Exists in Strata today?
GLM-5.3-Flash engine maya:src/core/glm_*, plus GLM files under maya:tests, maya:tools, maya:serve new strata:src/glm5 (name open), own CMake target ~48k code lines No
MiniMax-M3.1-Flash engine maya:src/mm3, plus MM3 files under maya:tests, maya:tools, maya:serve new strata:src/mm3, own CMake target ~23k code lines No
Server features: loop guard, /v1/responses store and jobs maya:serve/loop_guard.py, maya:serve/responses.py, maya:serve/response_*.py rewritten against strata:serve/server.py small to medium Partly (strata:serve/responses.py exists)
DeepSeek changes after v1.1.26 maya:src/ds4 updates to strata:src/dsv41 part of ~41k Partly. Strata took v1.1.17 plus hand re-implementations.
EXL3 quant support maya:third_party/exllamav3, maya:src/*exl3* open question 4 below n/a No

Questions for Niko:

  1. Do you want GLM and MiniMax in Strata at all, or should they stay in Maya?
  2. If yes, are two new src/<family> directories acceptable, in the staged order above?
  3. Platforms: Maya's engines are CUDA/HIP only, with no Metal or SYCL. Is NVIDIA/AMD-only acceptable for new families, or must Metal and SYCL be covered first?
  4. Quant sources: Maya uses its own GGUF and EXL3 quants. Should Strata recommend those for these families, or follow the ISTA-DASLab → Unsloth → Gyro order? Should EXL3 support come in at all?
  5. Coordinate with Project Maya's maintainers (@mw00, @needmorevram) before any code lands, to avoid a third diverging copy?

Testing:

Nothing has been built or run yet. I can test CUDA on this machine:

OS Zorin OS 18.1 (Linux 7.0.0-38-generic)
CPU AMD Ryzen 7 5800X3D, 8 cores / 16 threads
RAM 64 GB (62 GiB reported)
GPU 0 NVIDIA GeForce RTX 3080, 10 GB, compute capability 8.6
GPU 1 NVIDIA GeForce RTX 4080 SUPER, 16 GB, compute capability 8.9
Total VRAM 26 GB across two GPUs
Driver / CUDA 580.178.04, driver supports CUDA 13.0; installed nvcc is 12.0
Storage SATA SSDs and one NVMe drive

Expected limits: the smallest quants Maya lists for these models are about 93 GB (MiniMax Maya-XS) and 96.5 GB (GLM Maya-S),. They are larger than my PC's 26 GB of VRAM plus 64 GB of RAM (90 GB), so part of the model streams from SSD and speeds are low (10 tok/s on average).

Originally created by @yudhanjaya on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4319 **Problem and user need** Strata runs Qwen3.8, Qwen3.6 and DeepSeek V4.1-Flash. Users who want GLM-5.3-Flash (321 B, MIT) or MiniMax-M3.1-Flash on the same hardware have to use Project Maya (https://github.com/mw00/project-maya, MIT), which is built on Strata. Both projects are converging on Deepseek - this is duplicating functionality. **Proposal for discussion** Add each model as a self-contained, opt-in family, following the `strata:src/dsv41` pattern: - GLM-5.3-Flash: engine and CMake target first (build only), then wiring into `strata launch --family` and `serve/`. - MiniMax-M3.1-Flash: the same steps. - Server features as separate small PRs (to stick to the one-PR issue) Existing Qwen and DeepSeek paths, defaults and packages would not change. Copied files would keep Maya's copyright notice and be listed in `strata:third_party/project-maya/NOTICE.md` (the same way the DeepSeek engine is). **Problem:** However, this is not a one-PR issue . . . Maya and Strata have many files at the same path that have diverged. I compared Maya's `src/` and `serve/` source files with Strata's. Of Maya's 265 files, 137 have the same path in Strata and only 34 are identical. The big differences are: | File | Location | Lines that differ | |---|---|---:| | `generate.cpp` | `src/program/` | ~17k | | `server.py` | `serve/` | ~10.5k (4,916 lines in Maya, 8,718 in Strata) | | `expert_source.cpp` | `src/core/` | ~5.5k | | `prefill.cpp` | `src/prefill/` | ~4k | | `verify.cpp` | `src/core/` | ~3.8k | | CMake (`CMakeLists.txt`) | repo root | 1,302 lines in Maya versus 2,409 in Strata | So Maya's GLM and MiniMax code would have to be rebuilt on top of Strata's versions of these files. Dropping Maya's copies in would overwrite Strata's Qwen and DeepSeek behaviour. **What would have to be imported** | What | Source (Maya) | Proposed destination (Strata) | Size in Maya | Exists in Strata today? | |---|---|---|---|---| | GLM-5.3-Flash engine | `maya:src/core/glm_*`, plus GLM files under `maya:tests`, `maya:tools`, `maya:serve` | new `strata:src/glm5` (name open), own CMake target | ~48k code lines | No | | MiniMax-M3.1-Flash engine | `maya:src/mm3`, plus MM3 files under `maya:tests`, `maya:tools`, `maya:serve` | new `strata:src/mm3`, own CMake target | ~23k code lines | No | | Server features: loop guard, `/v1/responses` store and jobs | `maya:serve/loop_guard.py`, `maya:serve/responses.py`, `maya:serve/response_*.py` | rewritten against `strata:serve/server.py` | small to medium | Partly (`strata:serve/responses.py` exists) | | DeepSeek changes after v1.1.26 | `maya:src/ds4` | updates to `strata:src/dsv41` | part of ~41k | Partly. Strata took v1.1.17 plus hand re-implementations. | | EXL3 quant support | `maya:third_party/exllamav3`, `maya:src/*exl3*` | open question 4 below | n/a | No | **Questions for Niko:** 1. Do you want GLM and MiniMax in Strata at all, or should they stay in Maya? 2. If yes, are two new `src/<family>` directories acceptable, in the staged order above? 3. Platforms: Maya's engines are CUDA/HIP only, with no Metal or SYCL. Is NVIDIA/AMD-only acceptable for new families, or must Metal and SYCL be covered first? 4. Quant sources: Maya uses its own GGUF and EXL3 quants. Should Strata recommend those for these families, or follow the ISTA-DASLab → Unsloth → Gyro order? Should EXL3 support come in at all? 5. Coordinate with Project Maya's maintainers (@mw00, @needmorevram) before any code lands, to avoid a third diverging copy? **Testing:** Nothing has been built or run yet. I can test CUDA on this machine: | | | |---|---| | OS | Zorin OS 18.1 (Linux 7.0.0-38-generic) | | CPU | AMD Ryzen 7 5800X3D, 8 cores / 16 threads | | RAM | 64 GB (62 GiB reported) | | GPU 0 | NVIDIA GeForce RTX 3080, 10 GB, compute capability 8.6 | | GPU 1 | NVIDIA GeForce RTX 4080 SUPER, 16 GB, compute capability 8.9 | | Total VRAM | 26 GB across two GPUs | | Driver / CUDA | 580.178.04, driver supports CUDA 13.0; installed `nvcc` is 12.0 | | Storage | SATA SSDs and one NVMe drive | Expected limits: the smallest quants Maya lists for these models are about 93 GB (MiniMax Maya-XS) and 96.5 GB (GLM Maya-S),. They are larger than my PC's 26 GB of VRAM plus 64 GB of RAM (90 GB), so part of the model streams from SSD and speeds are low (10 tok/s on average).
Author
Owner

@Peter-He-Rui commented on GitHub (Oct 29, 2026):

I really hope that Strata natively supports GLM 5.3 Flash, because my computer runs Deepseek 4.1 Flash slowly, with only a few tokens per second. Anyway, I want to thank all the contributors to this project.

<!-- gh-comment-id:6485570392 --> @Peter-He-Rui commented on GitHub (Oct 29, 2026): I really hope that Strata natively supports GLM 5.3 Flash, because my computer runs Deepseek 4.1 Flash slowly, with only a few tokens per second. Anyway, I want to thank all the contributors to this project.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. 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:6660254120 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. 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).
Author
Owner

@yudhanjaya commented on GitHub (Nov 6, 2026):

/reopen

<!-- gh-comment-id:6675780258 --> @yudhanjaya commented on GitHub (Nov 6, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Nov 6, 2026):

Not reopened yet. Still missing:

  • Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead.

Edit the issue and comment /reopen again. Details: CONTRIBUTING.md

<!-- gh-comment-id:6675782910 --> @github-actions[bot] commented on GitHub (Nov 6, 2026): Not reopened yet. Still missing: - [ ] Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead. Edit the issue and comment `/reopen` again. Details: [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#1903
No description provided.