Qwen3.8-27B at ~210 tokens/s for code and ~145 for chat, with the full 262K-token context, on one 24 GB RTX 3090.
M3TiS is a series of builds tuned for the RTX 3090. This first release contains no new weights. It is a server build of TensorFold's native Zig engine with 3090-specific changes, plus the compiled 3090 kernels and a one-line launcher. It runs these existing weights:
Vontra/Qwen3.8-27B-MLX-4bit: the model, 4-bit (~15 GB)z-lab/Qwen3.8-27B-DFlash2: a small draft model that
guesses several tokens ahead. The 27B checks every guess, so the output is the same as without it.pip install -U huggingface_hub # for `hf download`
hf download CanadaApollo6/Qwen3.8-27B-M3TiS-3090 --local-dir m3tis
cd m3tis && chmod +x m3tis-serve.sh bin/tensorfold-native
./m3tis-serve.sh # first run downloads ~19 GB of weights
It serves an OpenAI-compatible API at http://127.0.0.1:8080/v1 (/chat/completions, /completions, /models).
PORT=… and CONTEXT=… change the port and window, and extra flags pass through to tensorfold-native serve
(--no-thinking, --temperature, --api-key, …). Thinking is on by default, as in Qwen's chat template.
The 262K window, 4-bit context store, 256-token replies, median of 3, single user:
| Tokens/s | Greedy | Sampled (T=1.0) |
|---|---|---|
| Code (write a Fibonacci function) | 208 | 202 |
| Chat (explain GPUs, no thinking) | 147 | 135 |
| Plain decoding, no draft model (for reference) | 45 |
TF_QWEN27_KV_BITS=16 and a window of
about 32K.Built from TensorFold PR #608's Zig engine with these changes (source: SOURCE.md):
| Path | What |
|---|---|
m3tis-serve.sh |
Downloads the weights, sets the 4-bit store, starts the server |
bin/tensorfold-native |
The server (7 MB, static except libc; loads libcuda at run time) |
share/tensorfold/cuda/sm86/ |
Precompiled sm_86 kernels (1.7 MB) |
LICENSE, NOTICE, THIRD_PARTY_NOTICES.md, LICENSES/ |
TensorFold's licenses (Apache-2.0) |
Apache-2.0, as are all the parts: Qwen3.8-27B by the Qwen team; the 4-bit weights by Vontra; DFlash2 by z-lab / Inco AI; TensorFold by its authors. M3TiS is an independent build by CanadaApollo6 and is not affiliated with any of them.
Qwen/Qwen3.8-27B