Ludovico commited on
Commit
1263a7a
·
verified ·
1 Parent(s): b59dbd8

Document NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4 WEX4+WNR4-NV container (root, SHA-256, ratio, license)

Browse files
Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -10,6 +10,7 @@ tags:
10
  - lossless-compression
11
  - mixture-of-experts
12
  - mxfp4
 
13
  - int4
14
  - gguf
15
  - expert-weights
@@ -17,7 +18,7 @@ tags:
17
  ---
18
  # WEX4 Expert Containers
19
 
20
- Expert weights of two Mixture-of-Experts AI models (**Qwen3.8-Flash-Next 125B-A6B** and **DeepSeek-V4.1-Flash-1017 REAP-192**), stored in **WEX4** containers with **RAW**, **WNR3 (codec 5)** and **WNR4 (codec 8: MX, I4, GG)** lossless compression.
21
 
22
  **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 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).
23
 
@@ -40,6 +41,7 @@ The weights are 4-bit (or 2-bit for the GSQ-IQ1_M GGUF), and making them 4-bit/2
40
  | `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 |
41
  | `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) |
42
  | `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) |
 
43
 
44
  ## Is this a quantization? No.
45
 
@@ -118,6 +120,7 @@ The rest of this card is technical detail.
118
  | `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) |
119
  | `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) |
120
  | `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) |
 
121
  | `provenance/q38_experts.wex.verified.pre-wex4` | SHA-256 of the WEX1 copy the Qwen RAW file was upgraded from | — | 123 B | — |
122
  | `provenance/v4_flash_experts.nr3.wex.verified.pre-wex4` | build and read-back note of the DeepSeek file | — | 177 B | — |
123
 
@@ -140,6 +143,7 @@ WEX4 and WNR3 are separate layers:
140
  | `qwen38_flash_next_gsq_iq1m.wnr4gg.wex` | `fbc259fdc37a672b039276d167cd84376422514fa4d192776852b94b6911ef12` | `df943c94067445cb59f6979a27dfef001f89f7edf9497597317e4ffff5e388a3` | 13,809 records (2-shard full GGUF packed with `wex4/wnr4gg.py`), header & root verified |
141
  | `v4_flash_experts.nr3.wex` | `f0f78a84d040a3b336f3abef3cf8b0a36c649deb38586c813e94d35dea3beeb1` | `203d55dc96f5c2fe16716cef2c767fa63c387e8cbbbe98991ecd4f7039c7e4b2` | 7,680 records decoded, every hash matches the index; content digest `fb085e127ba980214f106313e9af578b18e5ebac4cde7ecb9730b1a0f78ae512` |
142
  | `v4_flash_experts.wnr4.wex` | `75520a3b0a52f161a02cafebc94d57e58ef2c4ccfbff5b4ba637cc3d66252e30` | `bebd6fd2171514c5158dd629a4225350ac922e9accae9c23fff177cf9e4543b1` | 7,680 WNR4-MX records (40 × 192), header & root verified |
 
143
 
144
  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](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WEX4-SPEC.md) section 5). The WNR3 builder decodes every record on the CPU and refuses to write one that does not decode back exactly. A damaged WNR3 record is caught twice: by the stream hashes (0 of 2,231,336 wrong single-bit flips accepted on the GPU, 0 of 3,000 on the CPU, [WNR3-VERIFY](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/reports/WNR3-VERIFY.md)) and by the record's SHA-256 in the index.
145
 
@@ -153,6 +157,7 @@ The root is the SHA-256 of the first 4,064 bytes of the header page. The record
153
  | 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** |
154
  | DeepSeek-V4.1-Flash-1017 REAP-192, WNR3-CZ against raw WEX1 | 123,312,910,336 B | 144,389,472,256 B | **0.854** |
155
  | DeepSeek-V4.1-Flash-1017 REAP-192, **WNR4-MX (CZ)** against raw | 122,872,295,424 B | 144,388,915,200 B | **0.851** |
 
156
  | DeepSeek-V4.1-Flash-1017 REAP-192, WNR3 byte-exact (40 held-out experts, not a full file) | | | about 0.882 |
157
  | Qwen3.8-Flash-Next RAW | | | 1.000 (not compressed) |
158
 
@@ -196,6 +201,7 @@ hf download Kaira666/Kaira-WEX4-Experts qwen38-mxfp4/q38_experts.wnr4.wex --loca
196
  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)
197
  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)
198
  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)
 
199
  ```
200
 
201
  ## Source and specifications
@@ -212,6 +218,7 @@ The files here carry different terms, so no single license is asserted for the r
212
 
213
  - Qwen3.8-Flash-Next expert weights (MXFP4, INT4-g64, GSQ-IQ1_M): [Qwen Community License 1.0](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE), the license of the base model and of AMD's release.
214
  - DeepSeek-V4.1-Flash-1017 REAP-192 expert weights: [MIT](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017/blob/main/LICENSE), Copyright (c) 2023 DeepSeek; the REAP-192 release is MIT too.
 
215
  - The WEX format, codecs, specifications and tools (not stored here): [Apache-2.0](https://github.com/KairaCode/Wex-WRN2/blob/main/LICENSE).
216
 
217
  The license texts are in [`licenses/`](licenses/NOTICE.md), copied unchanged from the upstream repositories.
 
10
  - lossless-compression
11
  - mixture-of-experts
12
  - mxfp4
13
+ - nvfp4
14
  - int4
15
  - gguf
16
  - expert-weights
 
18
  ---
19
  # WEX4 Expert Containers
20
 
21
+ Expert weights of three Mixture-of-Experts AI models (**Qwen3.8-Flash-Next 125B-A6B**, **DeepSeek-V4.1-Flash-1017 REAP-192**, and **NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4**), stored in **WEX4** containers with **RAW**, **WNR3 (codec 5)** and **WNR4 (codec 8: MX, NV, I4, GG)** lossless compression.
22
 
23
  **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 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).
24
 
 
41
  | `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 |
42
  | `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) |
43
  | `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) |
44
+ | `nemotron-3.5-super-vl/nemotron35_super_vl_nvfp4.wnr4nv.wex` | NVIDIA published [NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4](https://huggingface.co/nvidia/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** |
45
 
46
  ## Is this a quantization? No.
47
 
 
120
  | `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) |
121
  | `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) |
122
  | `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) |
123
+ | `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](https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4/blob/main/LICENSE) |
124
  | `provenance/q38_experts.wex.verified.pre-wex4` | SHA-256 of the WEX1 copy the Qwen RAW file was upgraded from | — | 123 B | — |
125
  | `provenance/v4_flash_experts.nr3.wex.verified.pre-wex4` | build and read-back note of the DeepSeek file | — | 177 B | — |
126
 
 
143
  | `qwen38_flash_next_gsq_iq1m.wnr4gg.wex` | `fbc259fdc37a672b039276d167cd84376422514fa4d192776852b94b6911ef12` | `df943c94067445cb59f6979a27dfef001f89f7edf9497597317e4ffff5e388a3` | 13,809 records (2-shard full GGUF packed with `wex4/wnr4gg.py`), header & root verified |
144
  | `v4_flash_experts.nr3.wex` | `f0f78a84d040a3b336f3abef3cf8b0a36c649deb38586c813e94d35dea3beeb1` | `203d55dc96f5c2fe16716cef2c767fa63c387e8cbbbe98991ecd4f7039c7e4b2` | 7,680 records decoded, every hash matches the index; content digest `fb085e127ba980214f106313e9af578b18e5ebac4cde7ecb9730b1a0f78ae512` |
145
  | `v4_flash_experts.wnr4.wex` | `75520a3b0a52f161a02cafebc94d57e58ef2c4ccfbff5b4ba637cc3d66252e30` | `bebd6fd2171514c5158dd629a4225350ac922e9accae9c23fff177cf9e4543b1` | 7,680 WNR4-MX records (40 × 192), header & root verified |
146
+ | `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 |
147
 
148
  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](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WEX4-SPEC.md) section 5). The WNR3 builder decodes every record on the CPU and refuses to write one that does not decode back exactly. A damaged WNR3 record is caught twice: by the stream hashes (0 of 2,231,336 wrong single-bit flips accepted on the GPU, 0 of 3,000 on the CPU, [WNR3-VERIFY](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/reports/WNR3-VERIFY.md)) and by the record's SHA-256 in the index.
149
 
 
157
  | 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** |
158
  | DeepSeek-V4.1-Flash-1017 REAP-192, WNR3-CZ against raw WEX1 | 123,312,910,336 B | 144,389,472,256 B | **0.854** |
159
  | DeepSeek-V4.1-Flash-1017 REAP-192, **WNR4-MX (CZ)** against raw | 122,872,295,424 B | 144,388,915,200 B | **0.851** |
160
+ | 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** |
161
  | DeepSeek-V4.1-Flash-1017 REAP-192, WNR3 byte-exact (40 held-out experts, not a full file) | | | about 0.882 |
162
  | Qwen3.8-Flash-Next RAW | | | 1.000 (not compressed) |
163
 
 
201
  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)
202
  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)
203
  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)
204
+ hf download Kaira666/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)
205
  ```
206
 
207
  ## Source and specifications
 
218
 
219
  - Qwen3.8-Flash-Next expert weights (MXFP4, INT4-g64, GSQ-IQ1_M): [Qwen Community License 1.0](https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE), the license of the base model and of AMD's release.
220
  - DeepSeek-V4.1-Flash-1017 REAP-192 expert weights: [MIT](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017/blob/main/LICENSE), Copyright (c) 2023 DeepSeek; the REAP-192 release is MIT too.
221
+ - NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4 expert weights: [NVIDIA Open Model License](https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4/blob/main/LICENSE).
222
  - The WEX format, codecs, specifications and tools (not stored here): [Apache-2.0](https://github.com/KairaCode/Wex-WRN2/blob/main/LICENSE).
223
 
224
  The license texts are in [`licenses/`](licenses/NOTICE.md), copied unchanged from the upstream repositories.