Ludovico commited on
docs: update README for WNR4 (MX, I4, GG) containers and Qwen3.8-Flash-Next (125B-A6B) naming
Browse files5 unmodified lines678910111213141516171819202122237 unmodified lines31323334353637383973 unmodified lines1131141151161171181191201217 unmodified lines1291301311321331341351 unmodified line1371381391401411421434 unmodified lines14814915015115215315415515615715815931 unmodified lines1911921931941951961971981992002012022032042052062072085 unmodified linestags:- wex4- wnr3- lossless-compression- mixture-of-experts- mxfp4- int4- expert-weights- colibri---# WEX4 Expert ContainersExpert weights of three Mixture-of-Experts AI models (Qwen3.8-Flash-Next, DeepSeek V4.1 REAP-192 and Sage-S2.1-Flash), stored in WEX4 files.**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 is optional compression inside it, like ZIP. Unpacking gives back the same weights: the very same bytes for the two Qwen files, and the very same numbers for the DeepSeek file (a zero written as "-0" comes back written as "+0"; same number, explained below).The weights are 4-bit, and making them 4-bit did lose some precision. That happened *before* the weights reached these files: AMD did it for Qwen, DeepSeek did it for its own model, and we did it ourselves for Sage. The table below says who did what.7 unmodified lines| 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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) to 4 bits (MXFP4) and published them as [amd/Qwen3.8-Flash-Next-Quark-MXFP4](https://huggingface.co/amd/Qwen3.8-Flash-Next-Quark-MXFP4) | Not compressed. 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 weights | Compressed to 88% of the uncompressed file. Unpacking gives exactly the same bytes || `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek publishes the experts of [DeepSeek-V4.1-Flash-1017](https://huggingface.co/deepseek-ai/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](https://huggingface.co/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 | Compressed to 85% of the size. Every weight is the same number (one detail about zero, see below) || `Sage-S2.1-Flash-int4/Sage-S2.1-Flash-int4.wex4` | Shanghai AI Laboratory published [Sage-S2.1-Flash](https://huggingface.co/internlm/Sage-S2.1-Flash) and an official 8-bit version, [internlm/Sage-S2.1-Flash-FP8](https://huggingface.co/internlm/Sage-S2.1-Flash-FP8). **We** rounded its experts to 4-bit integers (int4) and turned its other 8-bit tensors into 16-bit BF16, which can round too. **Lossy; we have not measured the quality** | Keeps our int4 files unchanged. A small part is compressed ZIP-style (WBP1), and that is lossless too || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.wex` | the same official 8-bit version; **we** rounded its experts to MXFP4. **Lossy; we have not measured the quality** | Not compressed. Uses the older WEX1 layout, which has no fingerprints inside; the manifest file next to it has them || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.nr3.wex` | exactly the same Sage MXFP4 weights as the file above | Compressed to 83% of the older file, in the newer WEX4 layout with a fingerprint for every expert. Unpacking gives exactly the same bytes: all 12,096 experts were unpacked and compared byte for byte with the source files, 0 differences |73 unmodified lines| Path | Model and layout | Records | Size | Upstream license ||---|---|---:|---:|---|| `qwen38-mxfp4/q38_experts.wex` | Qwen3.8-Flash-Next 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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `qwen38-mxfp4/q38_experts.nr3.wex` | the same experts; WEX4, WNR3 records, byte-exact | 24,576 (48 × 512) | 56,558,764,032 B (56.56 GB) | [Qwen Community License 1.0](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek-V4.1-Flash-1017 REAP-192 routed experts, MXFP4; WEX4, WNR3 records with canonical zero (value-exact) | 7,680 (40 × 192) | 123,312,910,336 B (123.31 GB) | [MIT](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017/blob/main/LICENSE) || `Sage-S2.1-Flash-int4/Sage-S2.1-Flash-int4.wex4` | our int4 requantization of the 62 model shards of Sage-S2.1-Flash-FP8 (see below); WEX4 holding 62 safetensors files (ST_SOURCES) | 75,273 (74,304 RAW, 969 WBP1); 75,922 tensors, of which 12,384 routed experts (43 × 288) | 187,770,384,384 B (187.77 GB) | [MIT](https://huggingface.co/internlm/Sage-S2.1-Flash-FP8#license) || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.wex` | Sage-S2.1-Flash routed experts of layers 3-44 in our MXFP4 requantization; WEX1 (older layout: no index fingerprints) | 12,096 (42 × 288), 13,369,344 B each | 161,716,523,008 B (161.72 GB) | [MIT](https://huggingface.co/internlm/Sage-S2.1-Flash-FP8#license) || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.wex.manifest.json` | SHA-256 of each layer's records and of the header page and table of the WEX1 file | — | 10,924 B | — |7 unmodified linesWEX4 and WNR3 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, which is lossless byte-plane rANS for BF16, FP8, F32 and integer tensors.- **WNR3** 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.## Integrity1 unmodified line|---|---|---|---|| `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. An archive copy was later found damaged (11,666 records zeroed, old root `cd47fa8b…`, not valid) and was repaired; on 2026-11-20 the repaired local copy passed a full check and all 48 layers decoded equal to the RAW file. The upload itself was not re-verified (only its SHA-256 is known) || `v4_flash_experts.nr3.wex` | `f0f78a84d040a3b336f3abef3cf8b0a36c649deb38586c813e94d35dea3beeb1` | `203d55dc96f5c2fe16716cef2c767fa63c387e8cbbbe98991ecd4f7039c7e4b2` | 7,680 records decoded, every hash matches the index; content digest `fb085e127ba980214f106313e9af578b18e5ebac4cde7ecb9730b1a0f78ae512` || `Sage-S2.1-Flash-int4.wex4` | `85246e738032d8734d27575448952f69f49308f8cb5caaba7b281b13ce25bf0d` | `bbfa112154425fb73339ebd1b05d3d53f987b8374a2e5481ba5c1f3e8e3e0747` | a SHA-256 for each of the 62 source files is inside; no full check of this file is on record, so run `wex4_verify` or `unpack` || `Sage-S2.1-Flash-MXFP4.wex` | none (WEX1) | `cae23f8575f92f29be895ef460caf1d66d764a870389b6a234a1aff876949249` | a local copy was re-hashed against this manifest (header page and table `ef4b66cfcc72f539367eaffc64bbb18ddb442b90ecd06a63a5169bea8596a158`) || `Sage-S2.1-Flash-MXFP4.nr3.wex` | `35de35aa5766e8f4a7e4fa69c695d83d69648b6ceb6a7c4624f4bf20b1a689dd` | `96d9124e3d4fd9fc1b2f3812f39d374e41b21ab91a4381fe7f2f9fe1bfc1436d` | `wex4_verify`: every blob and record matches the index; all 12,096 records decoded and compared byte for byte with the 62 source safetensors files (161.7 GB, 0 failures); every layer's records hash equal to the WEX1 manifest above. The root was read back from the hub after upload |4 unmodified lines| File | Stored | Original bytes | Ratio ||---|---:|---:|---:|| Qwen3.8, WNR3 file against the RAW file | 56,558,764,032 B | 64,251,047,936 B | **0.880** || DeepSeek V4.1 REAP-192, WNR3 with canonical zero, against the raw WEX1 container of the same experts | 123,312,910,336 B | 144,389,472,256 B | **0.854** || DeepSeek V4.1 REAP-192, WNR3 byte-exact (40 held-out experts, not a full file) | | | about 0.882 || Sage int4, against its 62 source safetensors files | 187,770,384,384 B | 194,727,333,920 B | 0.964 || Sage MXFP4, WNR3 file against the older WEX1 file of the same experts | 134,545,358,848 B | 161,716,523,008 B | **0.832** || Qwen3.8 RAW and Sage MXFP4 WEX1 | | | 1.000 (not compressed) |## Quality of the 4-bit weights (steps taken before the container)31 unmodified lines## Download```shhf download Kaira666/Kaira-WEX4-Experts --local-dir WEX4-Experts # everything, about 594 GBhf download Kaira666/Kaira-WEX4-Experts v41-reap/v4_flash_experts.nr3.wex --local-dir WEX4-Experts # one filehf download Kaira666/Kaira-WEX4-Experts qwen38-mxfp4/q38_experts.nr3.wex --local-dir WEX4-Experts```## Source and specificationsThe 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](https://github.com/KairaCode/Wex-WRN2):- [WEX4-SPEC](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WEX4-SPEC.md) and [WNR3-SPEC](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WNR3-SPEC.md)- [Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md)- `wex4/wex4_convert.py`: `pack` a safetensors checkpoint into WEX4 (RAW or WNR3 experts), `unpack` it back byte for byte## Licenses5 unmodified lines6789101112131415161718192021222324257 unmodified lines3334353637383940414243444573 unmodified lines1191201211221231241251261271281291301317 unmodified lines1391401411421431441451461 unmodified line1481491501511521531541551561571584 unmodified lines16316416516616716816917017117217317417517617717831 unmodified lines2102112122132142152162172182192202212222232242252262272282295 unmodified linestags:- wex4- wnr3- wnr4- lossless-compression- mixture-of-experts- mxfp4- int4- gguf- expert-weights- colibri---# WEX4 Expert ContainersExpert weights of three Mixture-of-Experts AI models (**Qwen3.8-Flash-Next 125B-A6B**, **DeepSeek-V4.1-Flash-1017 REAP-192** and **Sage-S2.1-Flash**), stored in **WEX4** containers with **RAW**, **WNR3 (codec 5)** and **WNR4 (codec 8: MX, 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 and WNR4 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) and Sage, and the very same numbers for DeepSeek-V4.1-Flash-1017 REAP-192 (a zero written as "-0" comes back written as "+0"; same number, explained below).The weights are 4-bit, and making them 4-bit did lose some precision. That happened *before* the weights reached these files: AMD did it for Qwen, DeepSeek did it for its own model, and we did it ourselves for Sage. The table below says who did what.7 unmodified lines| 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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) (125B-A6B) to 4 bits (MXFP4) and published them as [amd/Qwen3.8-Flash-Next-Quark-MXFP4](https://huggingface.co/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 **78.4%** of its 68.0 GB RAW container (-14.7 GB / -21.6%). 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](https://huggingface.co/deepseek-ai/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](https://huggingface.co/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 | 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) || `Sage-S2.1-Flash-int4/Sage-S2.1-Flash-int4.wex4` | Shanghai AI Laboratory published [Sage-S2.1-Flash](https://huggingface.co/internlm/Sage-S2.1-Flash) and an official 8-bit version, [internlm/Sage-S2.1-Flash-FP8](https://huggingface.co/internlm/Sage-S2.1-Flash-FP8). **We** rounded its experts to 4-bit integers (int4) and turned its other 8-bit tensors into 16-bit BF16, which can round too. **Lossy; we have not measured the quality** | Keeps our int4 files unchanged. A small part is compressed ZIP-style (WBP1), and that is lossless too || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.wex` | the same official 8-bit version; **we** rounded its experts to MXFP4. **Lossy; we have not measured the quality** | Not compressed. Uses the older WEX1 layout, which has no fingerprints inside; the manifest file next to it has them || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.nr3.wex` | exactly the same Sage MXFP4 weights as the file above | Compressed to 83% of the older file, in the newer WEX4 layout with a fingerprint for every expert. Unpacking gives exactly the same bytes: all 12,096 experts were unpacked and compared byte for byte with the source files, 0 differences |73 unmodified lines| 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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `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 | 24,576 (48 × 512) | 53,294,047,232 B (53.29 GB) | [Qwen Community License 1.0](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `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](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE) || `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](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017/blob/main/LICENSE) || `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](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017/blob/main/LICENSE) || `Sage-S2.1-Flash-int4/Sage-S2.1-Flash-int4.wex4` | our int4 requantization of the 62 model shards of Sage-S2.1-Flash-FP8 (see below); WEX4 holding 62 safetensors files (ST_SOURCES) | 75,273 (74,304 RAW, 969 WBP1); 75,922 tensors, of which 12,384 routed experts (43 × 288) | 187,770,384,384 B (187.77 GB) | [MIT](https://huggingface.co/internlm/Sage-S2.1-Flash-FP8#license) || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.wex` | Sage-S2.1-Flash routed experts of layers 3-44 in our MXFP4 requantization; WEX1 (older layout: no index fingerprints) | 12,096 (42 × 288), 13,369,344 B each | 161,716,523,008 B (161.72 GB) | [MIT](https://huggingface.co/internlm/Sage-S2.1-Flash-FP8#license) || `Sage-S2.1-Flash-MXFP4/Sage-S2.1-Flash-MXFP4.wex.manifest.json` | SHA-256 of each layer's records and of the header page and table of the WEX1 file | — | 10,924 B | — |7 unmodified linesWEX4 and WNR3 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, 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](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WNR4-SPEC.md)): 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).## Integrity1 unmodified line|---|---|---|---|| `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. An archive copy was later found damaged (11,666 records zeroed, old root `cd47fa8b…`, not valid) and was repaired; on 2026-11-20 the repaired local copy passed a full check and all 48 layers decoded equal to the RAW file. The upload itself was not re-verified (only its SHA-256 is known) || `q38_experts.wnr4.wex` | `68745b781dd947e57c4cacabe2c87e21bfa606559320cf3486ba87ee051d87b9` | *(see HF file page)* | 24,576 WNR4-MX records (48 × 512), header & root verified || `qwen38_flash_next_int4g64.wnr4i4.wex` | `6545bff2dd755ed1660a18feff75406829dc9b25b1bed2f4f6a0ee2532b1098f` | *(see HF file page)* | 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` | *(see HF file page)* | 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` | `75520a3b0a52f161a02cafebc94d57e58ef2c4ccfbff5b4ba637cc3d66252e30` | *(see HF file page)* | 7,680 WNR4-MX records (40 × 192), header & root verified || `Sage-S2.1-Flash-int4.wex4` | `85246e738032d8734d27575448952f69f49308f8cb5caaba7b281b13ce25bf0d` | `bbfa112154425fb73339ebd1b05d3d53f987b8374a2e5481ba5c1f3e8e3e0747` | a SHA-256 for each of the 62 source files is inside; no full check of this file is on record, so run `wex4_verify` or `unpack` || `Sage-S2.1-Flash-MXFP4.wex` | none (WEX1) | `cae23f8575f92f29be895ef460caf1d66d764a870389b6a234a1aff876949249` | a local copy was re-hashed against this manifest (header page and table `ef4b66cfcc72f539367eaffc64bbb18ddb442b90ecd06a63a5169bea8596a158`) || `Sage-S2.1-Flash-MXFP4.nr3.wex` | `35de35aa5766e8f4a7e4fa69c695d83d69648b6ceb6a7c4624f4bf20b1a689dd` | `96d9124e3d4fd9fc1b2f3812f39d374e41b21ab91a4381fe7f2f9fe1bfc1436d` | `wex4_verify`: every blob and record matches the index; all 12,096 records decoded and compared byte for byte with the 62 source safetensors files (161.7 GB, 0 failures); every layer's records hash equal to the WEX1 manifest above. The root was read back from the hub after upload |4 unmodified lines| 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,294,047,232 B | 67,995,492,352 B | **0.784** || 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.1-Flash-1017 REAP-192, WNR3 byte-exact (40 held-out experts, not a full file) | | | about 0.882 || Sage int4, against its 62 source safetensors files | 187,770,384,384 B | 194,727,333,920 B | 0.964 || Sage MXFP4, WNR3 file against the older WEX1 file of the same experts | 134,545,358,848 B | 161,716,523,008 B | **0.832** || Qwen3.8-Flash-Next RAW and Sage MXFP4 WEX1 | | | 1.000 (not compressed) |## Quality of the 4-bit weights (steps taken before the container)31 unmodified lines## Download```shhf download Kaira666/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 Kaira666/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 Kaira666/Kaira-WEX4-Experts qwen38-int4g64/qwen38_flash_next_int4g64.wnr4i4.wex --local-dir WEX4-Experts # Qwen3.8-Flash-Next INT4-g64 WNR4-I4 (53.29 GB)hf download Kaira666/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 Kaira666/Kaira-WEX4-Experts v41-reap/v4_flash_experts.nr3.wex --local-dir WEX4-Experts # DeepSeek V4.1 REAP-192 WNR3-CZ (123.31 GB)```## Source and specificationsThe 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](https://github.com/KairaCode/Wex-WRN2):- [WEX4-SPEC](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WEX4-SPEC.md), [WNR3-SPEC](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WNR3-SPEC.md), and [WNR4-SPEC](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WNR4-SPEC.md)- [Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md)- `wex4/wex4_convert.py`, `wex4/wnr4gg.py`, `wex4/wnr4i4.py`: pack, verify and unpack WEX4 containers (RAW, WNR3, WNR4-GG, WNR4-I4)## Licenses
README.md+39-18