WEX4 Expert Containers

Expert weights (and lossless packed GGUF containers) of 8 Mixture-of-Experts AI models (Qwen3.8-Flash-Next 125B-A6B, DeepSeek-V4.1-Flash-1017 REAP-192, DeepSeek-V4-Flash-0731, NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4, Cyber-Tiel-Coder-35B-A3B-MTP, LFM2.5-24B-A2B, Inkling-2-Mini, and Mellum2.1-12B-A2.5B-Thinking), stored in WEX4 containers with RAW, WBP1 (codec 6), WNR3 (codec 5) and WNR4 (codec 8: MX, NV, I4, GG) lossless compression.

Storing the weights in these files does not change the value of any weight. It is not a quantization. WEX4 is the file layout. WNR3, WNR4 and WBP1 are optional lossless codecs inside it, like ZIP. Unpacking gives back the same weights: the very same bytes for Qwen3.8-Flash-Next (MXFP4, INT4-g64, GSQ-IQ1_M), Nemotron-3.5-Super-VL, Inkling-2-Mini (NVFP4/MXFP8 and INT4-g64), Cyber-Tiel-Coder-35B-A3B-MTP, LFM2.5-24B-A2B, and Mellum2.1-12B-A2.5B-Thinking, and the very same numbers for DeepSeek-V4.1-Flash-1017 REAP-192 and DeepSeek-V4-Flash-0731 (a zero written as "-0" comes back written as "+0"; same number, explained below).

The weights are 4-bit (or 2-bit/6-bit for the GGUFs, and mixed NVFP4+MXFP8 for Inkling-2-Mini), and making them 4-bit/2-bit did lose some precision. That happened before the weights reached these files: AMD did it for Qwen3.8 MXFP4, DeepSeek did it for V4/V4.1, NVIDIA for Nemotron, Thinking Machines for Inkling-2-Mini, and the respective GGUF publishers for the GGUF quants. The table below says who did what.

In plain words

What is in these files. A Mixture-of-Experts model is split into hundreds of small blocks of weights called experts, and only a few of them work on each word. When a model is too big for a computer's memory, a program keeps some experts in memory and reads the others from the SSD the moment they are needed. These files hold those experts, laid out so that each one comes off the disk in a single read (full-model GGUF containers qwen38_flash_next_gsq_iq1m.wnr4gg.wex, lfm25_24b_a2b_q4kxl.wex4, and mellum21_12b_a25b_q6k.wex4 pack the entire GGUF losslessly so gguf2wex4.py unpack rebuilds the exact original GGUF file).

Think of a ZIP file. When you zip a document and unzip it later, you get the same document back, every letter in place; the ZIP was only a smaller way to keep it. WNR3, WNR4 and WBP1 do that for expert weights. Files with .nr3 or .wnr4 in their name use them and are 9-22% smaller. The RAW files are not compressed: they hold the weights' original bytes, one expert per slot.

Where precision was lost: before these files. To quantize is to round numbers to fewer bits so that they take less space; the rounding cannot be undone. Turning a model's original 16-bit or 8-bit weights into 4-bit or 2-bit numbers is a quantization, and it does lose some precision. That step happened before the weights reached these files.

File What changed the weights before they reached our file, losing precision, and who did it What our file does to them
qwen38-mxfp4/q38_experts.wex AMD rounded the experts of Qwen3.8-Flash-Next (125B-A6B) to 4 bits (MXFP4) and published them as amd/Qwen3.8-Flash-Next-Quark-MXFP4 Not compressed (RAW). Keeps AMD's bytes as they are (compared with AMD's files when it was built: every expert of the first and the last layer, and the first and last expert of every layer)
qwen38-mxfp4/q38_experts.nr3.wex the same AMD 4-bit MXFP4 weights WNR3 (codec 5): compressed to 88.0% of the uncompressed file. Unpacking gives exactly the same bytes
qwen38-mxfp4/q38_experts.wnr4.wex the same AMD 4-bit MXFP4 weights WNR4-MX (codec 8, kind 0): 32-lane GPU-parallel rANS tiles (up to 209 GB/s kernel decode on RTX 5090), 88.5% of the uncompressed file. Byte-exact
qwen38-int4g64/qwen38_flash_next_int4g64.wnr4i4.wex INT4-g64 export of Qwen3.8-Flash-Next (125B-A6B) routed experts (symmetric int4, 1 F32 scale per 64 weights) WNR4-I4 (codec 8, kind 3): compressed to 79.4% of its 68.0 GB RAW container (-14.0 GB / -20.6%), low-latency production repack (G=4). Verified 24,576/24,576 records byte-exact
qwen38-gsq-iq1m/qwen38_flash_next_gsq_iq1m.wnr4gg.wex 2-bit GGUF quantization (Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M, 2 shards) WNR4-GG (codec 8, kind 2): full packed WEX4 container of both GGUF shards (Q2_0/IQ4_NL expert slices coded, other slices verbatim), lossless
v41-reap/v4_flash_experts.nr3.wex DeepSeek publishes the experts of DeepSeek-V4.1-Flash-1017 already in 4 bits (MXFP4). Then a third party removed half of the experts and published the rest as patrickbdevaney/DeepSeek-V4.1-Flash-1017-REAP192-MXFP4 ("REAP" pruning: 192 of 384 experts kept in each layer, the kept ones copied unchanged). Removing experts loses quality. Previous WNR3 build of v41-reap/v4_flash_experts.wnr4.wex, kept for reference WNR3-CZ (codec 5): compressed to 85.4% of the size. Every weight is the same number (canonical zero: -0 β†’ +0)
v41-reap/v4_flash_experts.wnr4.wex the same DeepSeek-V4.1-Flash-1017 REAP-192 MXFP4 weights WNR4-MX (codec 8, kind 0): 32-lane GPU-parallel rANS tiles (188 GB/s kernel decode on RTX 5090), compressed to 85.1% (122.87 GB, -21.52 GB vs safetensors). Value-exact (canonical zero)
deepseek-v4-flash-0731/v4_flash_0731_experts.wnr4.wex DeepSeek published DeepSeek-V4-Flash-0731 with all 43 backbone layers Γ— 256 routed experts (11,008 unpruned experts) natively in 4-bit MXFP4 (F8_E8M0 scales + I8 weights) WNR4-MX (codec 8, kind 0, pb=5, G=32, CZ): compressed to 83.7% (123.12 GB vs 147.17 GB raw, -24.05 GB). Value-exact (canonical zero), verified 11,008/11,008 decoded via wex4_tools.dll + wex4_verify
nemotron-3.5-super-vl/nemotron35_super_vl_nvfp4.wnr4nv.wex NVIDIA published NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4 with 4-bit NVFP4 LatentMoE routed experts (40 MoE layers Γ— 512 experts, per-16 E4M3 scales + F32 weight_scale_2) WNR4-NV (codec 8, kind 1, pb=5, G=64): compressed to 91.37% (57.98 GB / 54.00 GiB vs 63.42 GB raw, -5.44 GB). Includes all 40,960 weight_scale_2 scalars in the final RAW record. Verified 20,480/20,480 byte-exact
inkling-2-mini/inkling2_mini_nvfp4.wnr4nv.wex Thinking Machines published thinkingmachines/Inkling-2-Mini (26.4B-A3.4B looped multimodal MoE) with mixed precision routed experts: layers 0–19 in NVFP4 (20 Γ— 128) and layers 20–23 in MXFP8 (4 Γ— 128) WNR4-NV + WBP1 (codec 8 kind 1 pb=5 G=64 + codec 6): compressed to 89.6% (14.05 GB vs 15.68 GB raw, -1.63 GB). Includes all 80 F32 amax/outer_scale_denominator tensors in the final RAW record. Verified 3,073/3,073 byte-exact via wex4.py verify --dll wex4_tools.dll
inkling-2-mini/inkling2_mini_int4g64.wnr4i4.wex INT4-g64 export of Inkling-2-Mini routed experts across all 24 layers (24 Γ— 128, planar 4-bit codes + per-64 F32 scales) WNR4-I4 (codec 8, kind 3, planar, G=32): compressed to 88.0% (12.11 GB vs 13.77 GB raw, -1.66 GB). Verified 3,072/3,072 byte-exact via wnr4i4.py verify + wex4_verify
cyber-tiel-coder-35b-a3b/cyber_tiel_coder_35b_a3b_mtp.wex4 UD-Q4_K_XL GGUF quantization (peculiar-ragdoll/Cyber-Tiel-Coder-35B-A3B-GGUF-MTP, Qwen3.5-MoE 41L Γ— 256E with MTP) WEX4 RAW experts container (20.03 GB, 10,496 aligned expert records + GGUF header blob for Colibri qwen36 Q36_WEX4). Byte-exact, verified via wex4_verify
lfm2.5-24b-a2b/lfm25_24b_a2b_q4kxl.wex4 UD-Q4_K_XL GGUF quantization of LiquidAI/LFM2.5-24B-A2B-Base (38 MoE layers Γ— 64 experts) Full lossless GGUF WEX4 (14.88 GB, 2,750 records, gguf2wex4.py pack). Verified byte-exact (gguf2wex4.py unpack --check rebuilds the exact original GGUF SHA-256) + wex4_verify
mellum-2.1-12b-a2.5b/mellum21_12b_a25b_q6k.wex4 Q6_K GGUF quantization of JetBrains/Mellum2.1-12B-A2.5B-Thinking (28 MoE layers Γ— 64 experts) Full lossless GGUF WEX4 (10.89 GB, 2,051 records, gguf2wex4.py pack). Verified byte-exact (gguf2wex4.py unpack --check rebuilds the exact original GGUF SHA-256) + wex4_verify

Is this a quantization? No.

Does WEX4 or WNR3/WNR4 reduce the precision of the weights? No. Quantization rounds every weight to a number with fewer bits, so the numbers change. WEX4, WBP1, WNR3 and WNR4 round nothing: unpack a stored expert and you have the weights that were put in.

Then why is a WNR3/WNR4 file smaller? For the same reason a ZIP is smaller. In real weights some 4-bit values occur much more often than others. WNR3/WNR4 gives the common values short codes and the rare values long codes. It uses a table that says how common each value usually is; if the table guesses wrong, the file only gets bigger, never different. Nothing is generated or predicted by an AI: it is plain arithmetic, and a stored expert that would not get smaller is kept uncompressed.

So why does it say "MXFP4" and "4-bit" everywhere? Because the weights were already 4-bit when we got them (Qwen3.8 MXFP4, DeepSeek V4/V4.1, Nemotron NVFP4, Inkling-2-Mini). We keep them exactly in that form.

Is anything lossy, then? Yes, the steps in the table, all of them before our files: DeepSeek's own 4-bit release, AMD's 4-bit rounding of Qwen3.8-Flash-Next, the REAP pruning of DeepSeek V4.1, and the upstream GGUF/INT4 quantizations. Nothing is lossy in the WEX4 layout or in the WBP1/WNR3/WNR4 compression.

What does "value-exact" mean for the DeepSeek files? In 4-bit floating point, zero can be written two ways, +0 and -0, and both are the same number. It is like writing 0 or -0 on paper: the amount is the same. To save space (83.7–85.4% of the size instead of about 88%), WNR3/WNR4-MX CZ writes every -0 as +0. Every weight unpacks to the same number; only the way some zeros are written differs from the source files. We ran the model from this file and from a byte-exact copy: its output scores were identical to the last bit on 7 short prompts (64 tokens each), and a long 1,886-token conversation turn produced the same text (report). All non-CZ files are byte-exact.

Why are there multiple files of the same Qwen / Inkling experts? Each format matches a different precision or runtime trade-off (RAW for zero decode CPU/GPU overhead, WNR3 for legacy codec-5 readers, WNR4-MX/NV/I4 for high-bandwidth RTX GPU warp decode with 10–22% smaller disk & PCIe footprint).

The words, one sentence each

  • Lossy: some detail is rounded off or dropped and cannot be recovered.
  • Quantization (requantize): rounding weights to fewer bits to make them smaller; it is lossy. To requantize is to do it again to weights that were already rounded once, for example from 8 bits to 4.
  • Lossless: unpacking gives back exactly what was packed, with nothing rounded or dropped.
  • Byte-exact: every byte is the same; a byte-by-byte comparison finds zero differences.
  • Value-exact: every weight unpacks to the same number; only the way zero is written (+0 or -0) may differ.
  • Token: a piece of a word; models read and write text in tokens.
  • SHA-256 per record: each stored expert has a fingerprint (SHA-256) in the file's table of contents; if even one bit of the stored data changes, the fingerprint no longer matches, so a damaged download is caught. This proves the file is intact; proving that unpacking is exact is a separate check (below).
  • Root: one fingerprint for the whole file; if any part of the file changed, the root changes too.
  • Content digest: one fingerprint of all the unpacked weights; two files that unpack to the same weights give the same content digest, compressed or not.

Check it yourself

Each check answers a different question. The tools are open source in KairaCode/Wex-WRN2 (Apache-2.0).

1. Is my download intact? Nothing to build:

sha256sum q38_experts.nr3.wex     # must equal the SHA-256 that Hugging Face lists for the file (Integrity table below)

2. Is every stored expert undamaged? wex4_verify checks every stored record against its fingerprint and prints the root. It does not unpack anything. Needs git and gcc with OpenMP:

git clone https://github.com/KairaCode/Wex-WRN2 && cd Wex-WRN2
gcc -O2 -fopenmp c/tools/wex4_verify.c -o wex4_verify
./wex4_verify v4_flash_0731_experts.wnr4.wex

3. Does unpacking give exactly the same weights? wex4.py verify (for RAW/WBP1/WNR3/WNR4-MX/WNR4-NV), wnr4i4.py verify (for WNR4-I4), and gguf2wex4.py unpack --check (for full GGUF containers) unpack every record and verify every byte:

bash scripts/check_all.sh
python -I wex4/wex4.py verify q38_experts.wex                   --dll wex4/out/wex4_tools.dll
python -I wex4/wex4.py verify inkling2_mini_nvfp4.wnr4nv.wex    --dll wex4/out/wex4_tools.dll
python -I wex4/wnr4i4.py verify inkling2_mini_int4g64.wnr4i4.wex --dll out/wnr4i4-test/wnr4_i4_tools.dll
python -I wex4/gguf2wex4.py unpack lfm25_24b_a2b_q4kxl.wex4     --check
python -I wex4/gguf2wex4.py unpack mellum21_12b_a25b_q6k.wex4   --check

The rest of this card is technical detail.

Files

Path Model and layout Records Size Upstream license
qwen38-mxfp4/q38_experts.wex Qwen3.8-Flash-Next (125B-A6B) routed experts, AMD-Quark MXFP4; WEX4, RAW records 24,576 (48 layers Γ— 512 experts) 64,251,047,936 B (64.25 GB) Qwen Community License 1.0
qwen38-mxfp4/q38_experts.nr3.wex the same experts; WEX4, WNR3 (codec 5), byte-exact 24,576 (48 Γ— 512) 56,558,764,032 B (56.56 GB) Qwen Community License 1.0
qwen38-mxfp4/q38_experts.wnr4.wex the same experts; WEX4, WNR4-MX (codec 8, kind 0), byte-exact 24,576 (48 Γ— 512) 56,847,855,616 B (56.85 GB) Qwen Community License 1.0
qwen38-int4g64/qwen38_flash_next_int4g64.wnr4i4.wex Qwen3.8-Flash-Next (125B-A6B) routed experts, INT4-g64; WEX4, WNR4-I4 (codec 8, kind 3), byte-exact, G=4 24,576 (48 Γ— 512) 53,961,261,056 B (53.96 GB) Qwen Community License 1.0
qwen38-gsq-iq1m/qwen38_flash_next_gsq_iq1m.wnr4gg.wex Qwen3.8-Flash-Next GSQ-RCO-IQ1_M (2-shard GGUF, full model); WEX4, WNR4-GG (codec 8, kind 2), byte-exact 13,809 (37,944 tensors) 57,821,315,072 B (57.82 GB) Qwen Community License 1.0
v41-reap/v4_flash_experts.nr3.wex DeepSeek-V4.1-Flash-1017 REAP-192 routed experts, MXFP4; WEX4, WNR3-CZ (codec 5, value-exact) 7,680 (40 Γ— 192) 123,312,910,336 B (123.31 GB) MIT
v41-reap/v4_flash_experts.wnr4.wex the same DeepSeek-V4.1-Flash-1017 REAP-192 experts; WEX4, WNR4-MX (codec 8, kind 0, value-exact) 7,680 (40 Γ— 192) 122,872,295,424 B (122.87 GB) MIT
deepseek-v4-flash-0731/v4_flash_0731_experts.wnr4.wex DeepSeek-V4-Flash-0731 full unpruned routed experts, MXFP4; WEX4, WNR4-MX (codec 8, kind 0, pb=5, G=32, CZ value-exact) 11,008 (43 Γ— 256) 123,115,499,520 B (123.12 GB) MIT
nemotron-3.5-super-vl/nemotron35_super_vl_nvfp4.wnr4nv.wex NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4 LatentMoE routed experts + weight_scale_2; WEX4, WNR4-NV (codec 8, kind 1, byte-exact) 20,481 (40 Γ— 512 + 1 scale2 RAW) 57,976,958,976 B (57.98 GB / 54.00 GiB) NVIDIA Open Model License
inkling-2-mini/inkling2_mini_nvfp4.wnr4nv.wex Inkling-2-Mini (26.4B-A3.4B) routed experts: L0–19 NVFP4 + L20–23 MXFP8 + L0–19 F32 scalars; WEX4, WNR4-NV (codec 8, kind 1) + WBP1 (codec 6), byte-exact 3,073 (20Γ—128 NV + 4Γ—128 MXFP8 + 1 RAW) 14,048,350,208 B (14.05 GB) Apache-2.0
inkling-2-mini/inkling2_mini_int4g64.wnr4i4.wex Inkling-2-Mini (26.4B-A3.4B) routed experts, INT4-g64 planar; WEX4, WNR4-I4 (codec 8, kind 3), byte-exact 3,072 (24 Γ— 128) 12,109,963,264 B (12.11 GB) Apache-2.0
cyber-tiel-coder-35b-a3b/cyber_tiel_coder_35b_a3b_mtp.wex4 Cyber-Tiel-Coder-35B-A3B-MTP UD-Q4_K_XL (Qwen3.5-MoE) routed experts + GGUF header blob; WEX4, RAW, byte-exact 10,496 (41 Γ— 256) 20,033,175,552 B (20.03 GB) MIT
lfm2.5-24b-a2b/lfm25_24b_a2b_q4kxl.wex4 LFM2.5-24B-A2B UD-Q4_K_XL (full GGUF packed with gguf2wex4.py); WEX4, RAW, byte-exact 2,750 (38 expert layers, 7,610 tensors) 14,878,310,400 B (14.88 GB) LFM Open License 1.0
mellum-2.1-12b-a2.5b/mellum21_12b_a25b_q6k.wex4 Mellum2.1-12B-A2.5B-Thinking Q6_K (full GGUF packed with gguf2wex4.py); WEX4, RAW, byte-exact 2,051 (28 expert layers, 5,631 tensors) 10,885,849,088 B (10.89 GB) Apache-2.0
provenance/q38_experts.wex.verified.pre-wex4 SHA-256 of the WEX1 copy the Qwen RAW file was upgraded from β€” 123 B β€”
provenance/v4_flash_experts.nr3.wex.verified.pre-wex4 build and read-back note of the DeepSeek file β€” 177 B β€”

The full-model GGUF containers (qwen38_flash_next_gsq_iq1m.wnr4gg.wex, lfm25_24b_a2b_q4kxl.wex4, mellum21_12b_a25b_q6k.wex4) hold the complete GGUF file(s). The other files hold routed experts only: a runtime takes the rest of the model (dense weights, attention, engram, head, tokenizer) from the original checkpoint. None of them loads with transformers.from_pretrained().

WEX4, WNR3 and WNR4 are separate layers:

  • WEX4 is the container: one record per expert (or per tensor group), 4096-byte aligned so that an expert is one aligned read; a self-describing tensor index; a SHA-256 of the stored bytes of every record and blob; and a root, the SHA-256 of the header page, that names the whole file. WEX4 does not compress, except with the optional WBP1 (codec 6), which is lossless byte-plane rANS for BF16, FP8, F32 and integer tensors.
  • WNR3 (codec 5) is a lossless codec for MXFP4 expert records (FP4 E2M1 weights and E8M0 scales): context-modelled rANS entropy coding with a 59,408-byte table of value statistics (the WNM2 model, a count table, not a neural network) stored once in the file, a 23-bit hash in every stream, and a CPU decoder and an NVIDIA GPU decoder. With canonical zero it stores FP4 -0 as +0 (value-exact); without it, it is byte-exact.
  • WNR4 (codec 8) is the GPU-parallel successor of WNR3 (WNR4-SPEC): tiles of 32 rANS lanes sharing one 16-bit word stream decoded by one GPU warp (up to 209 GB/s kernel decode on RTX 5090, 0.19 ms single-record latency at G = 32), with a 32-bit hash per tile and a WNM4 model blob (kind 3). It supports four kinds: MX (kind 0, MXFP4), NV (kind 1, NVFP4), GG (kind 2, GGUF Q2_0/IQ4_NL slices), and I4 (kind 3, int4-g64 experts with FP8 block-scaled lattice scales).

Integrity

File WEX4 root (COLI_WEX_ROOT) SHA-256 of the whole file (as listed by Hugging Face) Checked
q38_experts.wex db5389f699abb49a164a9e73d925b5b629b0ce6de430a553388ba3e1cae5c0df 9f6caa9a1e4e5ffe300108d3865ad0c4a246862c86ddaea2d3ee56b37e286bbf 24,576 records, every hash matches the index; content digest 0d752bbf2d169b611ac79b005f07d0b9152c0591b23b65cbd12e06ea8300ec77. Against AMD's tensors: all 512 records of layers 0 and 47, and the first and last record of every layer, byte-identical when the file was built
q38_experts.nr3.wex 7d78e6ccfb8dee558a08371da86d275d53b7356d255d25ae4cac831dabd3e7f9 abddc4243b56a109d74973cee324b19296db0cf5b996f2e8a5585b798e29255b at build time, layers 0, 10, 23 and 47 decoded on the GPU and compared with the RAW records; repaired copy passed full check across all 48 layers
q38_experts.wnr4.wex ce8bca0d8a025c52aaa3a0da6f665567afef77f7a95627015c159457920ee3cf 8135a6a84b10ee19034278393c6d41aa45264dc9a02d159a0cee94ff197ab618 24,576 WNR4-MX records (48 Γ— 512), header & root verified; strict WEX4 (required_features 0x4), re-stamped 2026-11-28, records unchanged
qwen38_flash_next_int4g64.wnr4i4.wex 4893128789aebf5b258a702503c77afeab7a1f304971a942238cf5477e775d7c 1979814f9ce470127dcbefc6b14083ed36c65efcd957d4249ccedffd01948efd 24,576 WNR4-I4 records verified 24,576/24,576 byte-exact against RAW (wex4/wnr4i4.py verify --source)
qwen38_flash_next_gsq_iq1m.wnr4gg.wex fbc259fdc37a672b039276d167cd84376422514fa4d192776852b94b6911ef12 df943c94067445cb59f6979a27dfef001f89f7edf9497597317e4ffff5e388a3 13,809 records (2-shard full GGUF packed with wex4/wnr4gg.py), header & root verified
v4_flash_experts.nr3.wex f0f78a84d040a3b336f3abef3cf8b0a36c649deb38586c813e94d35dea3beeb1 203d55dc96f5c2fe16716cef2c767fa63c387e8cbbbe98991ecd4f7039c7e4b2 7,680 records decoded, every hash matches the index; content digest fb085e127ba980214f106313e9af578b18e5ebac4cde7ecb9730b1a0f78ae512
v4_flash_experts.wnr4.wex f98cddf3785851205ad2a13746700520a321189a6a57fc9acc1d371d5f8b7353 67bdd39119e728da5f29c1a8e5e727653e4ad0fdf7d47877dbfa43ac48651b88 7,680 WNR4-MX records (40 Γ— 192), header & root verified; strict WEX4 (required_features 0x5), re-stamped 2026-11-28, records unchanged
v4_flash_0731_experts.wnr4.wex 2205858fc24d26c012ff4d436f01ea43e3ca055ff6d8cb34254665fcdc7353b7 f4178513030ec33e0c83bfdfc0c61001ff0cbd729779f7530210522818516194 11,008 WNR4-MX CZ records (43 Γ— 256), verified 11,008/11,008 value-exact round-trip at build time + wex4_verify (123.12 GB) + full read-back decode via C wex4_tools.dll
nemotron35_super_vl_nvfp4.wnr4nv.wex d5c8cb449797d8385aba3ad03202fad9fa623af12c7175b2cb2e87861c7df9c5 1d9a8d5733b35f5a6a90a6b398b088d6fe5fdc5ee1e6259b2c7385af6cc44b3b 20,480 WNR4-NV records (40 Γ— 512) + 1 RAW weight_scale_2 record (40,960 scalars); verified 20,480/20,480 byte-exact round-trip + wex4.Reader validated
inkling2_mini_nvfp4.wnr4nv.wex fc9a162838fcf2d0d4c8cd5117a4b4177dd0f10a106d65ac66a2ffbc6b748585 99f96dda3e7e0d72e207e86d20dbe6ee4da042f7c4297a066091c703b2dd70da 2,560 WNR4-NV (L0–19) + 512 WBP1 MXFP8 (L20–23) + 1 RAW scalar record; verified 3,073/3,073 byte-exact via wex4_verify + wex4.py verify --dll wex4_tools.dll (content digest d07fd228224a610add02984861d395a459614d0ea866dbf0ada009fe7a7c7e0e)
inkling2_mini_int4g64.wnr4i4.wex 01ee37273615f1e826fcbac8e894fdf823cdd0fca614af85636327d7be9253e2 6bde80144512f06672892f4caaa92f05b321cac49cd0d2c8c222899d09d330f3 3,072 WNR4-I4 planar records (24 Γ— 128); verified 3,072/3,072 byte-exact via wex4_verify + wnr4i4.py verify
cyber_tiel_coder_35b_a3b_mtp.wex4 0aaecf2470b99e8e26f4fdaa954df0ee05711e2a6f7c89bddf67c8c73cefd950 4cbfe5e2f78fe9df770a76941d05f34ec26567555406fcd035ec1035fb32dabb 10,496 RAW expert records (41 Γ— 256) + GGUF header blob; verified via wex4_verify (20.03 GB)
lfm25_24b_a2b_q4kxl.wex4 cbcd7d58072b7146f9205b146367f467737d84b1fe8e9491296ac98306d8efcd a4c560dd3828ad908031b203881766ae9a1ceb45a67cc35e88175c17c0ac1b13 2,750 records (full GGUF); verified via gguf2wex4.py unpack --check (source SHA-256 a235d23638cc5549cb1ff61da7522c8a7e97f056f27093462a1e56f35aba91d8 identical) + wex4_verify
mellum21_12b_a25b_q6k.wex4 575cb024b7ee9f8719c8d114e34cd697fbfb87d9b9cb9d676d269290c4ae1e98 b7a8e914dac272801304f3133f7625d7f84f34d1c9a9d12ea8fa2455ff1b6de7 2,051 records (full GGUF); verified via gguf2wex4.py unpack --check (source SHA-256 12aec619f6a2c82b1ea8998f03665b3b5fc5bb758af97efdf4b1ec7a822b8668 identical) + wex4_verify

The root is the SHA-256 of the first 4,064 bytes of the header page. The record SHA-256 covers the stored bytes, so wex4_verify proves the file is intact, not that decoding is exact. The content digest is the SHA-256 over, for each tensor in table order, its name, dtype, shape, size and decoded bytes; it does not cover metadata, blobs or feature bits (WEX4-SPEC section 5).

Size

File Stored Original bytes Ratio
Qwen3.8-Flash-Next MXFP4, WNR3 against RAW 56,558,764,032 B 64,251,047,936 B 0.880
Qwen3.8-Flash-Next MXFP4, WNR4-MX against RAW 56,847,855,616 B 64,251,047,936 B 0.885
Qwen3.8-Flash-Next INT4-g64, WNR4-I4 against RAW 53,961,261,056 B 67,995,492,352 B 0.794
Qwen3.8-Flash-Next GSQ-RCO-IQ1_M (full 2-shard GGUF), WNR4-GG 57,821,315,072 B 58,397,560,320 B 0.990
DeepSeek-V4.1-Flash-1017 REAP-192, WNR3-CZ against raw WEX1 123,312,910,336 B 144,389,472,256 B 0.854
DeepSeek-V4.1-Flash-1017 REAP-192, WNR4-MX (CZ) against raw 122,872,295,424 B 144,388,915,200 B 0.851
DeepSeek-V4-Flash-0731 (full 43L Γ— 256E), WNR4-MX (CZ) against raw 123,115,499,520 B 147,169,738,752 B 0.837
NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4, WNR4-NV against raw NVFP4 57,976,958,976 B 63,417,876,480 B 0.914
Inkling-2-Mini (20L NVFP4 + 4L MXFP8), WNR4-NV + WBP1 against raw 14,048,350,208 B 15,676,235,776 B 0.896
Inkling-2-Mini INT4-g64 (24L Γ— 128E), WNR4-I4 against raw 12,109,963,264 B 13,765,705,728 B 0.880
Cyber-Tiel-Coder-35B-A3B-MTP UD-Q4_K_XL experts, RAW 20,033,175,552 B 20,033,175,552 B 1.000 (not compressed)
LFM2.5-24B-A2B UD-Q4_K_XL (full GGUF), RAW 14,878,310,400 B 14,878,310,400 B 1.000 (not compressed)
Mellum2.1-12B-A2.5B-Thinking Q6_K (full GGUF), RAW 10,885,849,088 B 10,885,849,088 B 1.000 (not compressed)
Qwen3.8-Flash-Next RAW 64,251,047,936 B 64,251,047,936 B 1.000 (not compressed)

Quality of the 4-bit weights (steps taken before the container)

The container adds no error, so these are the only quality questions, and they belong to the upstream steps:

  • Qwen3.8-Flash-Next, AMD's MXFP4. Close to the original model. AMD reports, against the original, among others: GSM8K 96.8 β†’ 96.5, GPQA Diamond 91.67 β†’ 91.67, AIME26 99.17 β†’ 98.33, IFBench 83.27 β†’ 82.67. These are 4 of AMD's 8 benchmarks; the largest drop is MMMU Pro vision, 78.38 β†’ 77.40; the full table is on AMD's card. Our own check against the official FP8 weights, very close: minimum cosine 0.9926 over the checked matrices of all 48 layers, and on 9 prompts a mean gap of 0.018 nats/token on text and 0.013 on chat (report).
  • DeepSeek-V4.1-Flash-1017, REAP-192 pruning. A measurable loss. The pruned model's author reports, teacher-forced against the unpruned model on 185,565 held-out tokens: top-1 agreement 0.798, KL on the top-32 support 0.44, NLL +0.27; multilingual top-1 0.52. The author states that the checkpoint failed its release gate as pre-registered and passed under an amendment made after the result (card).

Use with colibri

The WEX4/WNR4 series for colibri lives on the fork KairaCode/colibri (wex4-wnr4-test / main) and is proposed upstream in JustVugg/colibri#2920. Everything is opt-in: with COLI_WEX_PATH unset an engine behaves as before.

# DeepSeek V4-Flash-0731 (full 43L x 256E): trunk from the original checkpoint, routed experts from WNR4-MX
export COLI_WEX_PATH=/models/v4_flash_0731_experts.wnr4.wex
export COLI_WEX_ROOT=2205858fc24d26c012ff4d436f01ea43e3ca055ff6d8cb34254665fcdc7353b7
export COLI_WEX_CUDA_LIB=/path/to/kaira_wex_cuda.so   # optional: decode WNR3/WNR4 on an NVIDIA GPU

Quick Start: DeepSeek-V4.1-Flash REAP-192 + WNR4-MX

To run DeepSeek-V4.1-Flash-1017 REAP-192 with the WNR4-MX expert container (v41-reap/v4_flash_experts.wnr4.wex, 122.87 GB) and learned prefetch gates (v41-reap/v41_pred_gates.bin, 151 MB):

# 1. Download WNR4-MX expert container + learned prefetch gates from this repo
hf download KairaCode/Kaira-WEX4-Experts \
  v41-reap/v4_flash_experts.wnr4.wex \
  v41-reap/v41_pred_gates.bin \
  v41-reap/engram_pointer.json \
  v41-reap/dsv41_engram.json \
  --local-dir WEX4-Experts

# 2. Download the base REAP-192 checkpoint (dense attention/mHC/embed/lm_head/tokenizer)
hf download patrickbdevaney/DeepSeek-V4.1-Flash-1017-REAP192-MXFP4 --local-dir DeepSeek-V4.1-Flash-1017-REAP192-MXFP4

# 3. Download the two Engram shards from the official DeepSeek-V4.1-Flash-1017 repo (optional, recommended)
hf download deepseek-ai/DeepSeek-V4.1-Flash-1017 \
  model-00047-of-00048.safetensors \
  model-00048-of-00048.safetensors \
  --revision 1bae0e1088993b9b82de08f59de5be5a34e42170 \
  --local-dir DeepSeek-V4.1-Flash-1017-engram

Pin the WNR4-MX root hash and launch via KairaCode/KAIRA (build_native.ps1 builds deepseek_v4.exe, coli_cuda_dsv4*.dll, and kaira_wex_cuda.dll):

$env:COLI_FAMILY_ENGINE = "deepseek_v4"
$env:COLI_WEX_PATH = "WEX4-Experts\v41-reap\v4_flash_experts.wnr4.wex"
$env:COLI_WEX_ROOT = "f98cddf3785851205ad2a13746700520a321189a6a57fc9acc1d371d5f8b7353"
$env:COLI_MODEL_DIRS = "DeepSeek-V4.1-Flash-1017-engram"
$env:V4_NEXT_PREFETCH_GATES = "WEX4-Experts\v41-reap\v41_pred_gates.bin"
$env:COLI_WEX_GPU_DIRECT = "2"
$env:V4_WEX_BATCH = "1"
$env:V4_WEX_SHA_ASYNC = "1"
$env:V41_PACKED_STATE = "1"
$env:V41_PREFILL_OMP = "1"
$env:V41_HC_LITE = "1"
$env:DSV4_CUDA = "1"
$env:V41_GPU_MOE = "2"
$env:V41_ATTN_GPU = "1"

Download

hf download KairaCode/Kaira-WEX4-Experts deepseek-v4-flash-0731/v4_flash_0731_experts.wnr4.wex --local-dir WEX4-Experts   # DeepSeek-V4-Flash-0731 full 43LΓ—256E WNR4-MX (123.12 GB)
hf download KairaCode/Kaira-WEX4-Experts v41-reap/v4_flash_experts.wnr4.wex --local-dir WEX4-Experts                      # DeepSeek-V4.1 REAP-192 WNR4-MX (122.87 GB)
hf download KairaCode/Kaira-WEX4-Experts qwen38-mxfp4/q38_experts.wnr4.wex --local-dir WEX4-Experts                       # Qwen3.8-Flash-Next MXFP4 WNR4-MX (56.85 GB)
hf download KairaCode/Kaira-WEX4-Experts qwen38-int4g64/qwen38_flash_next_int4g64.wnr4i4.wex --local-dir WEX4-Experts     # Qwen3.8-Flash-Next INT4-g64 WNR4-I4 (53.96 GB)
hf download KairaCode/Kaira-WEX4-Experts qwen38-gsq-iq1m/qwen38_flash_next_gsq_iq1m.wnr4gg.wex --local-dir WEX4-Experts   # Qwen3.8-Flash-Next GSQ-IQ1_M WNR4-GG (57.82 GB)
hf download KairaCode/Kaira-WEX4-Experts nemotron-3.5-super-vl/nemotron35_super_vl_nvfp4.wnr4nv.wex --local-dir WEX4-Experts # Nemotron-3.5-Super-VL-120B NVFP4 WNR4-NV (57.98 GB)
hf download KairaCode/Kaira-WEX4-Experts inkling-2-mini/inkling2_mini_nvfp4.wnr4nv.wex --local-dir WEX4-Experts           # Inkling-2-Mini NVFP4+MXFP8 WNR4-NV+WBP1 (14.05 GB)
hf download KairaCode/Kaira-WEX4-Experts inkling-2-mini/inkling2_mini_int4g64.wnr4i4.wex --local-dir WEX4-Experts         # Inkling-2-Mini INT4-g64 WNR4-I4 (12.11 GB)
hf download KairaCode/Kaira-WEX4-Experts cyber-tiel-coder-35b-a3b/cyber_tiel_coder_35b_a3b_mtp.wex4 --local-dir WEX4-Experts # Cyber-Tiel-Coder-35B-A3B-MTP UD-Q4_K_XL experts (20.03 GB)
hf download KairaCode/Kaira-WEX4-Experts lfm2.5-24b-a2b/lfm25_24b_a2b_q4kxl.wex4 --local-dir WEX4-Experts                 # LFM2.5-24B-A2B UD-Q4_K_XL full GGUF WEX4 (14.88 GB)
hf download KairaCode/Kaira-WEX4-Experts mellum-2.1-12b-a2.5b/mellum21_12b_a25b_q6k.wex4 --local-dir WEX4-Experts         # Mellum2.1-12B-A2.5B-Thinking Q6_K full GGUF WEX4 (10.89 GB)

Source and specifications

The format, the codecs, the specifications, conformance vectors, four independent readers (C, Python, Go, Rust) and the converters are open source under Apache-2.0 in KairaCode/Wex-WRN2:

Licenses

The files here carry different terms, so no single license is asserted for the repository:

The license texts are in licenses/, copied unchanged from the upstream repositories.

Follow the license of each component.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support