DeepSeek-V4.1-Flash-1017 · dsx MXFP4 + 3-bit
0
7 commits
2 linked in READMEs
updated Oct 19, 2026
DeepSeek-V4.1-Flash-1017 (552B MoE + 196B Engram) in 270 GB, built to run entirely from the HBM of one AMD Instinct
MI325X with exact routing. Most routed experts keep the checkpoint's own MXFP4 weights; the least-used ones get a fitted
3-bit codebook. Runs on dsx's AMD runner (amd/, Rust + HIP). For a desktop with NVIDIA GPUs, see
the 2-bit build: lxe/DeepSeek-V4.1-Flash-1017-dsx-2bit.
| Size | 270 GB (6 GGUF shards) + the official Engram shards (203 GB) |
| Format | dense weights FP8 as in the checkpoint; 59% of routed experts MXFP4 (unchanged), 41% 3-bit codebook + e4m3 scale per 32 |
| Routing | exact: no expert pruning, no router bias |
| Quality vs FP8 | KL 0.049 · top-1 90.6% · perplexity 8.71 (FP8: 8.56) |
| Speed, 1x MI325X | 110-114 tok/s decode at 4K-256K context · 1,160-1,640 tok/s prefill |
| Runtime | dsx amd/ (OpenAI / Anthropic API, web UI) |
Measured on Lucebox's 1017 eval set: 8 × 1024 tokens against the FP8 model's top-256 log-probs, teacher-forced through the decoder.
| Size | KL ↓ | Top-1 ↑ | Perplexity ↓ | |
|---|---|---|---|---|
| FP8 / FP4 original | 299 GB | 0 | 100% | 8.56 |
| dsx MXFP4 + 3-bit | 270 GB | 0.049 | 90.6% | 8.71 |
| Lucebox ROCMFP23S | 179 GiB | 0.194 | 81.3% | 9.41 |
| Lucebox ROCMFP 2.5 bpw | 158 GiB | 0.253 | 78.7% | 9.78 |
| dsx 2-bit | 148 GB | 0.395 | 74.1% | 10.93 |
Sizes exclude the Engram tables (and, for the original, the vision and draft layers). Measured on these shards; another run gave KL 0.047: float atomics in the runner sum in varying order, which flips a few near-tied expert choices.
Greedy reasoning (temperature 0, thinking on, reasoning effort low), two competition-math prompts: 6,624 and 13,482 generated tokens with boxed answers. The hosted model needed 5.6K and 21K on the same prompts.
One MI325X (256 GiB HBM3E), greedy, exact routing.
| Context | Decode |
|---|---|
| 4K | 114.1 tok/s |
| 128K | 111.5 tok/s |
| 256K | 110.4 tok/s |
| Prompt | Prefill |
|---|---|
| 4K tokens | 1,640 tok/s |
| 16K tokens | 1,640 tok/s |
| 128K tokens | 1,160 tok/s |
Long prompts slow down with length because the attention indexer scores every earlier compressed position.
# the quant: GGUF shards, loaded as one model
hf download lxe/DeepSeek-V4.1-Flash-1017-dsx-mxfp4 --local-dir dsx-mxfp4
# config, tokenizer and Engram tables from the official checkpoint
hf download deepseek-ai/DeepSeek-V4.1-Flash-1017 --local-dir v41-1017 \
--include config.json tokenizer.json model.safetensors.index.json model-00047-of-00048.safetensors model-00048-of-00048.safetensors
cp dsx-mxfp4/dsx-engram.json v41-1017/
# dsx's AMD runner: ROCm 7 (gfx942), Rust
git clone https://github.com/lxe/dsx && cd dsx && cargo build --release -p dsx-amd
DSXA_WEIGHTS=../dsx-mxfp4/DeepSeek-V4.1-Flash-1017-dsx-mxfp4-00001-of-00006.gguf \
./target/release/dsx-amd serve --model ../v41-1017 --ctx 262144 --host 0.0.0.0 --port 8090
Open http://localhost:8090/ for the web UI, or point any OpenAI-compatible client at http://localhost:8090/v1.
One GPU with 256 GiB of memory (AMD Instinct MI325X, gfx942); the weights take 271.6 GB of HBM with context up to 256K tokens. The Engram tables (203 GB) are read from disk through the page cache, 48 rows per token; ~160 GB of RAM.
| File | |
|---|---|
DeepSeek-V4.1-Flash-1017-dsx-mxfp4-0000k-of-00006.gguf | the model in GGUF shards; the runner loads them from the first |
dsx-engram.json | Engram hashing constants (copy next to the official checkpoint files) |
SHA256SUMS | checksums of the shards |
expert-rank.json | expert hotness used to choose which experts stay MXFP4 |
config.json | build metadata |
results/ | raw quality, speed and reasoning-probe logs |
DeepSeek for the model (MIT) · Lucebox for the eval set · llama.cpp (Georgi Gerganov and the ggml authors, MIT) for the web UI.
DeepSeek-V4.1-Flash-1017 · dsx MXFP4 + 3-bit
0
7 commits
2 linked in READMEs
updated Oct 19, 2026
DeepSeek-V4.1-Flash-1017 (552B MoE + 196B Engram) in 270 GB, built to run entirely from the HBM of one AMD Instinct
MI325X with exact routing. Most routed experts keep the checkpoint's own MXFP4 weights; the least-used ones get a fitted
3-bit codebook. Runs on dsx's AMD runner (amd/, Rust + HIP). For a desktop with NVIDIA GPUs, see
the 2-bit build: lxe/DeepSeek-V4.1-Flash-1017-dsx-2bit.
| Size | 270 GB (6 GGUF shards) + the official Engram shards (203 GB) |
| Format | dense weights FP8 as in the checkpoint; 59% of routed experts MXFP4 (unchanged), 41% 3-bit codebook + e4m3 scale per 32 |
| Routing | exact: no expert pruning, no router bias |
| Quality vs FP8 | KL 0.049 · top-1 90.6% · perplexity 8.71 (FP8: 8.56) |
| Speed, 1x MI325X | 110-114 tok/s decode at 4K-256K context · 1,160-1,640 tok/s prefill |
| Runtime | dsx amd/ (OpenAI / Anthropic API, web UI) |
Measured on Lucebox's 1017 eval set: 8 × 1024 tokens against the FP8 model's top-256 log-probs, teacher-forced through the decoder.
| Size | KL ↓ | Top-1 ↑ | Perplexity ↓ | |
|---|---|---|---|---|
| FP8 / FP4 original | 299 GB | 0 | 100% | 8.56 |
| dsx MXFP4 + 3-bit | 270 GB | 0.049 | 90.6% | 8.71 |
| Lucebox ROCMFP23S | 179 GiB | 0.194 | 81.3% | 9.41 |
| Lucebox ROCMFP 2.5 bpw | 158 GiB | 0.253 | 78.7% | 9.78 |
| dsx 2-bit | 148 GB | 0.395 | 74.1% | 10.93 |
Sizes exclude the Engram tables (and, for the original, the vision and draft layers). Measured on these shards; another run gave KL 0.047: float atomics in the runner sum in varying order, which flips a few near-tied expert choices.
Greedy reasoning (temperature 0, thinking on, reasoning effort low), two competition-math prompts: 6,624 and 13,482 generated tokens with boxed answers. The hosted model needed 5.6K and 21K on the same prompts.
One MI325X (256 GiB HBM3E), greedy, exact routing.
| Context | Decode |
|---|---|
| 4K | 114.1 tok/s |
| 128K | 111.5 tok/s |
| 256K | 110.4 tok/s |
| Prompt | Prefill |
|---|---|
| 4K tokens | 1,640 tok/s |
| 16K tokens | 1,640 tok/s |
| 128K tokens | 1,160 tok/s |
Long prompts slow down with length because the attention indexer scores every earlier compressed position.
# the quant: GGUF shards, loaded as one model
hf download lxe/DeepSeek-V4.1-Flash-1017-dsx-mxfp4 --local-dir dsx-mxfp4
# config, tokenizer and Engram tables from the official checkpoint
hf download deepseek-ai/DeepSeek-V4.1-Flash-1017 --local-dir v41-1017 \
--include config.json tokenizer.json model.safetensors.index.json model-00047-of-00048.safetensors model-00048-of-00048.safetensors
cp dsx-mxfp4/dsx-engram.json v41-1017/
# dsx's AMD runner: ROCm 7 (gfx942), Rust
git clone https://github.com/lxe/dsx && cd dsx && cargo build --release -p dsx-amd
DSXA_WEIGHTS=../dsx-mxfp4/DeepSeek-V4.1-Flash-1017-dsx-mxfp4-00001-of-00006.gguf \
./target/release/dsx-amd serve --model ../v41-1017 --ctx 262144 --host 0.0.0.0 --port 8090
Open http://localhost:8090/ for the web UI, or point any OpenAI-compatible client at http://localhost:8090/v1.
One GPU with 256 GiB of memory (AMD Instinct MI325X, gfx942); the weights take 271.6 GB of HBM with context up to 256K tokens. The Engram tables (203 GB) are read from disk through the page cache, 48 rows per token; ~160 GB of RAM.
| File | |
|---|---|
DeepSeek-V4.1-Flash-1017-dsx-mxfp4-0000k-of-00006.gguf | the model in GGUF shards; the runner loads them from the first |
dsx-engram.json | Engram hashing constants (copy next to the official checkpoint files) |
SHA256SUMS | checksums of the shards |
expert-rank.json | expert hotness used to choose which experts stay MXFP4 |
config.json | build metadata |
results/ | raw quality, speed and reasoning-probe logs |
DeepSeek for the model (MIT) · Lucebox for the eval set · llama.cpp (Georgi Gerganov and the ggml authors, MIT) for the web UI.