Skip to content
lighttransportPublic
forked from Niko1221/Strata

About

Strata-based GLM 5.3 Flash runner

Resources

Contributing

Security policy

Stars

21 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

6,911 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strata-fork of GLM-5.3-Flash and MiniMax M3.1 Flash runner

This fork runs two mixture-of-experts models from ordinary RAM with one or two GPUs (consumer cards or Tesla V100s): GLM-5.3-Flash (about 321B parameters with about 18B active per token) with the strata-glm engine, and MiniMax M3.1 Flash (Unsloth UD-Q2_K_XL) with the strata-m3 engine. Fixed layers, attention and batched prompt processing run on the GPU; the routed experts run from RAM on the CPU, with a GPU-resident tier for the hottest ones and GPU-drafted speculative decoding.

GLM-5.3-Flash is served in the fork's own Q2/Q3 expert quantization ("Q23"), either complete or with the least useful experts pruned away (REAP-224: 224 of 288 experts per layer, 95 GB; REAP-50: 144 experts, 63 GB). MiniMax M3.1 Flash pins a 124.7 GiB expert pack in RAM and uses the DSpark draft head, with FP8 K/V options for long context. The branch is still named glm53f (kept for now); it carries both runners.

Updates

  • 2026-11-04: MiniMax M3.1 Flash (UD-Q2_K_XL) on one Tesla V100 32 GB with strata-m3: decode 23-28 tok/s at short context (exact routing), 12.8 tok/s at 128K, 6.0 tok/s at 512K; prefill 634-640 tok/s at 16K (MiniMax release notes).
  • 2026-11-04: MiniMax M3.1 Flash two-V100 demo: exact routing 40.2 tok/s and --speed max 65.2 tok/s on the same C++ task (GIF, measurement); exact routing passes 41/46 C++ tasks, --speed max 38/46.
  • 2026-10-24: GLM-5.3-Flash native FP4 on 2x Tesla V100 32 GB: prefill 780 tok/s, decode 41 tok/s (8K prompt, experimental streamed prefill).

About 32 decode tok/s on Threadripper 1950X and RX 9070 XT

One desktop GPU, ~32 tok/s. Threadripper 1950X, 128 GB DDR4 and an RX 9070 XT 16 GB, REAP-224 Q23 with routing affinity 0.08, writing a C++ function for a 4K-token prompt; eight seconds of live decoding at original speed, loading and prompt processing omitted. The request decoded at 32.5 tok/s over 512 tokens. The generated function compiles cleanly and passes all 400,532 cases of the C++ oracle (one of three runs at this setting, all three passed). This setting scored 145/164 on HumanEval, below the 152 floor, so it is a demo setting rather than a qualified profile. Timing, how it was recorded.

GLM-5.3-Flash: how fast (single-stream decode and prompt processing, tokens per second; details, trials and the quality evidence for every row are in the release notes):

machine weights decode prompt quality evidence
Threadripper 1950X, 128 GB, RTX 5060 Ti 16 GB (one GPU) REAP-224 Q23 29-32 170-500 HumanEval 152/164, corpus gate passed
Threadripper 1950X, 128 GB, RX 9070 XT 16 GB (one GPU) REAP-224 Q23 34 560 same profile family, not separately gated
Threadripper 1950X, 128 GB, RTX 5060 Ti + RX 9070 XT (two GPUs) REAP-224 Q23 40-44 465 (decode orientation), 870 (prefill orientation) corpus gate passed; HumanEval 146/164, below the 152 floor
Ryzen 9 3950X, 64 GB, RX 9070 XT 16 GB REAP-50 Q23 10-16 230-250 coding-task review only; perplexity +30% vs the 2-bit original
Ryzen 9 3950X, 64 GB, RTX 3070 8 GB REAP-50 Q23 10-20 210-510 matched perplexity within +10% and a 30-task HumanEval subset
2x Xeon Gold 6240, 160 GB, 2x Tesla V100 32 GB full UD-Q2_K_XL 29 790 (16K) logit parity and 400k C++ oracle cases
2x Xeon Gold 6240, 181 GiB allocation, 2x Tesla V100 32 GB full ModelOpt FP4/FP8, experimental grouped profile 41.24 519.34 (8K) 8/8 long + 8/8 natural-length reused coding cases; Fresh20 unscored
2x Xeon Gold 6240, 181 GiB allocation, 2x Tesla V100 32 GB same, plus experimental streamed prefill 41.3-41.7 780-784 (8K) same panels on both sides of three same-job pairs; identical 512-token outputs
Ryzen 9 3950X, 64 GB, RX 570 16 GB, experimental Vulkan runner REAP-50 Q23 3.6 strict, 15.8 fast engine (short prompt) 34 not gated: the fast engine fails the numerical gate against strict

Decode numbers are at 1K-8K context with 256-512 generated tokens; prompt numbers at 2K-16K prompts. The TR16 two-GPU decode and prompt rates come from two different primary cards and are not available in one process. The Vulkan row is a separate experimental runner (GLM_VULKAN.md) that needs no CUDA or ROCm. With the fastest (ungated) two-GPU settings the desktop reaches 49 tok/s at 1K; that configuration fails the quality gate and is not shipped. Removing every approximation leaves 20 tok/s.

The native FP4 result measures both phases with the same opt-in profile: three full warmups and three timed 8,192-input / 512-output requests. It uses approximate CPU Q8, bounded decode routing and soft MTP acceptance; it has no HumanEval score. Streamed prefill (how) raised prompt processing from 520-523 to 780-784 tok/s in four same-job pairs at a 12K context; the 800 tok/s target is met only in a 1M-context pair (807 tok/s).

MiniMax M3.1 Flash: how fast (strata-m3, Unsloth UD-Q2_K_XL, 124.7 GiB expert pack pinned in RAM, DSpark draft head; 2x Xeon Gold 6240, 181 GB, one or two Tesla V100 PCIe 32 GB). Single-stream decode in tokens per second; details in the MiniMax release notes:

Two Tesla V100s decoding the same C++ task: exact routing at 40.2 tokens/s and --speed max at 65.2 tokens/s

Two V100s, same C++ task, two settings. Both panels run the same 335-token dijkstra request: exact routing at 40.2 tok/s and --speed max at 65.2 tok/s, each from its own decode start at original speed, over 500 generated tokens. Both answers pass the task. On two V100s, --speed max passes 38 of 46 C++ tasks versus 41 for exact routing. Measurement.

context configuration decode quality evidence
short (335-token prompts) exact routing (default), one V100 23-28 41/46 C++ tasks
short --speed max (top-2, VRAM-only experts), one V100 56 36-39/46 C++ tasks
short exact routing, two V100 (STRATA_M3_GPU1=1) 38.7-40.2 41/46 C++ tasks
short --speed max, two V100 59.3-65.2 38/46 C++ tasks
128K FP8 K/V and FP8 index keys in VRAM (--kv-fp8 --idx-fp8) 12.8 needle found; KL 1.06e-3 on a 7K prompt
256K FP8 K/V in host RAM + VRAM block cache (--kv-host --kv-fp8) 8.5 needle found
512K same 6.0 needle found

Prefill is 634-640 tok/s for a 16K prompt and 541-547 tok/s at 8K. Short-context numbers are 200 generated tokens on four C++ prompts; the two-V100 demo rows use 500 generated tokens on the dijkstra prompt. The long-context numbers come from the answer to a needle-in-a-haystack prompt. 1M context does not fit next to the pinned expert pack in 181 GB and was not tested.

Acknowledgement. Several ideas in this work were studied in Project Maya by peasantsmith (MIT License), an independent Strata derivative for GLM-5.3-Flash with its own engine and quantizations: its layer-range split across GPUs, aged route-count admission for GPU-resident experts, CPU-versus-transfer lane pricing and its measurement practice informed our designs. No Maya code or weights are used here; how the two projects differ is described in the release notes.

Original Strata README: Qwen3.8-Flash-Next

The existing README is preserved below. Its Qwen installation flow, performance claims and model requirements describe the original engine. Use the GLM and MiniMax sections above for this fork's current configuration and results.


Strata

Run powerful AI on your own computer.

Chat, code and work with images, locally.

Models · Install · Hardware · Tools · Help · Support

Download Strata MIT license Sponsor Strata on GitHub Sponsors Support Strata on Buy Me a Coffee

English · 简体中文 · 日本語 · Deutsch · Français · Español · Português · Polski

Free, open source, and yours to run. Use Strata on your desktop or with your favorite coding tools. No account needed.

Experimental native GGUF backends for GLM-5.3-Flash (CUDA and HIP) and MiniMax M3.1 Flash (CUDA) are available. See the GLM-5.3-Flash release notes and the MiniMax M3.1 Flash release notes.

Models

We recommend ISTA-DASLab first, then Unsloth and other providers, where a compatible model fits.

 Qwen3.8-Flash-Next
Provider Choices
ISTA-DASLab · recommended Q2_0, IQ2_XS, IQ3_XXS, IQ3_S. Coder: IQ1_M for coding.
Unsloth UD-IQ4_XS, UD-Q4_K_XL, UD-Q5_K_XL, UD-Q6_K_XL, Q8_0
Gyro · agentionai Gyro-S, Gyro-M. Lower memory use but slower.
Other options Swift 1.5, NVFP4, OrcaRouter

Compare sizes, memory needs and compatibility.

 Qwen3.6-35B-A3B

Unsloth: UD-Q4_K_XL, UD-Q6_K_XL, Q8_0. These are the currently documented packs for this model.

Model guide and compatibility.

 DeepSeekV4.1-Flash-1017

In the desktop app and the Terminal. What does not fit in memory is read from your SSD, so it needs a lot of free disk space.

Set (ISTA-DAS) Download Free disk needed
1.75 bpw 239 GB about 245 GB
2.00 bpw 257 GB about 265 GB
2.25 bpw 274 GB about 280 GB
ISTA-DAS Coder (half of the experts removed) 191 GB about 197 GB

Runs on NVIDIA RTX 30, 40 and 50 series (Windows and Linux), AMD Radeon AI PRO R9700 (Linux), AMD Ryzen AI Max — Strix Halo (Windows), and Apple Silicon Macs with 64 GB or more, text only (Mac). Setup downloads the files and the DeepSeek engine, then starts the model.

strata launch --family deepseek41 --model ist-das-2.00bpw --plan

Measured with the 2.00 bpw set on Strata 0.2.5 (Strix Halo: 0.2.7). Output is the speed of the answer, prompt is how fast Strata reads your input.

Hardware Output Prompt
RTX 5070 12 GB, 64 GB RAM 4 to 6 tokens/s about 110 tokens/s (4K)
RTX 3060 12 GB, 46 GB RAM 9 to 11 tokens/s about 155 tokens/s (4K)
1x Radeon AI PRO R9700, 251 GB RAM 21 to 25 tokens/s 320 to 360 tokens/s (8K)
4x Radeon AI PRO R9700 74 to 77 tokens/s 400 to 450 tokens/s (8K)
Ryzen AI Max+ 395 (Strix Halo), 128 GB unified 19 to 21 tokens/s (code), 11 (chat) 87 tokens/s (4K), 125 tokens/s (8K)

Memory, disk and details · Release notes

Not sure what fits? Choose a model for your computer.

Install

Desktop app

Download Strata for Windows, Linux or Mac →

Install the app, choose a model, and start chatting. There is one installer for each system. On first start the app downloads the engine for your graphics card. Help with the installer.

Files: Strata-0.2.9-windows-x64-setup.exe · Strata-0.2.9-linux-x86_64.AppImage · Strata-0.2.9-macos-arm64.dmg

Strata desktop app with a chat and live code preview side by side
Chat, files and a live preview in one window.

Terminal app

Prefer the terminal? Install Strata, then run strata launch.

Install commands

Linux / Mac

curl -fsSL https://github.com/Niko1221/Strata/releases/latest/download/install.sh -o install.sh && sh install.sh

Windows PowerShell

irm https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex

On Windows, open a new terminal afterwards. Then:

strata launch

Follow the prompts to download and start a model. Terminal guide.

Strata terminal app showing model activity, speed, memory and recent requests
Watch your model and hardware while it runs.

Build from source · Docker · Full install guide

Hardware

Supported hardware Guide
NVIDIA GeForce RTX 20 / 30 / 40 / 50 series NVIDIA setup
AMD Radeon RX 7700 / 7800 / 7900, RX 9060 / 9070, AI PRO R9700 AMD setup
AMD Radeon RX 6800 / 6900 · experimental RX 6000 setup
Intel Arc · Linux Intel setup
Apple Silicon · M1 or newer Mac setup
AMD Ryzen AI Max · Strix Halo Strix Halo setup
NVIDIA DGX Spark · Linux DGX Spark setup

Tools

Claude Code · Codex CLI · OpenCode · oh-my-pi · pi.dev · Hermes Agent · OpenClaw, and more through the OpenAI- and Anthropic-compatible APIs.

Run strata connect to see setup instructions for your tool. Connection guide.

Help

All guides · Troubleshooting · Report a bug · Benchmarks · How it works · Contribute

Support Strata

Help keep local AI open to everyone. A GitHub sponsorship or a coffee helps fund development and testing on more hardware.

GitHub Sponsors: sponsor Strata Buy Me a Coffee: support Strata

Loyal supporters

Thank you to everyone who supports Strata.

ryan4yin

MIT license · Credits and model licenses · Privacy

For AI tools and automated readers: technical reference · setup instructions.

Sponsorships, hardware partnerships or collaborations: niko.veit@outlook.com.

About

Strata-based GLM 5.3 Flash runner

Resources

Contributing

Security policy

Stars

21 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages