Ludovico commited on
Commit
fc462c2
·
verified ·
1 Parent(s): 500ca37

Publish verified WEX4 roots and remove private source references

Browse files
Files changed (1) hide show
  1. README.md +16 -20
README.md CHANGED
@@ -3,9 +3,9 @@ license: other
3
  library_name: colibri
4
  pipeline_tag: text-generation
5
  ---
6
- # KAIRA WEX4 expert containers
7
 
8
- Binary expert-weight assets for KAIRA/Colibri. These files are **not standalone Transformers checkpoints** and cannot be loaded with `from_pretrained()`.
9
 
10
  ## Contents
11
 
@@ -13,41 +13,37 @@ Binary expert-weight assets for KAIRA/Colibri. These files are **not standalone
13
  |---|---|---:|
14
  | `qwen38-mxfp4/q38_experts.wex` | Qwen 3.8 MXFP4 expert container | 64,251,047,936 |
15
  | `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek V4.1 Flash REAP-192, NR3 container | 123,312,910,336 |
16
- | `provenance/*.verified.pre-wex4` | Source/build verification notes supplied with the containers | — |
17
 
18
  ## Format and compatibility
19
 
20
- WEX4 is a self-describing container with a hashed header/index, SHA-256 digests for blobs and records, and 4 KiB aligned data. It can store raw records or WNR3 encoded expert records (NR3 is the codec used by the V4.1 file name above).
21
 
22
- WNR2 is a different, older codec: it is codec 4 in WEX3 containers. WEX4/NR3 should not be described as WNR2. KAIRA has WEX4-aware loaders in its DeepSeek V4.1 and Qwen3.8 engines. Use the matching KAIRA engine/helper build; a stock Colibri/WNR2 build is not sufficient. WEX4 file integrity uses the indexed SHA-256 values, and KAIRA can pin the container root with `COLI_WEX_ROOT`.
23
 
24
  ## Download
25
 
26
  Install the Hugging Face CLI and download the repository:
27
 
28
  ```powershell
29
- hf download Kaira666/Kaira-WEX4-Experts --repo-type model --local-dir .\Kaira-WEX4-Experts
30
  ```
31
 
32
- The containers are very large (about 187.6 GB decimal combined). Ensure enough free disk space before downloading.
33
 
34
- ## Verify and integrate
35
 
36
- The KAIRA source includes the WEX4 format/reader and a whole-file verifier. Build `tools/wex4_verify` from `src/colibri/c`, then run it on each downloaded `.wex` file. A successful run checks every blob and record against the indexed SHA-256 values and prints the WEX4 root. Set `COLI_WEX_ROOT` to that 64-digit root in a compatible KAIRA profile to pin the file; `COLI_WEX_VERIFY=1` enables first-read record hashing in the DeepSeek V4 engine. Qwen3.8 has its own WEX4 loader and configuration.
37
 
38
- - [KAIRA repository](https://github.com/KairaCode/KAIRA)
39
- - [WEX4 format reader](https://github.com/KairaCode/KAIRA/blob/main/src/colibri/c/wex4.h)
40
- - [WEX4 whole-file verifier](https://github.com/KairaCode/KAIRA/blob/main/src/colibri/c/tools/wex4_verify.c)
41
- - [WEX/WRN2 implementation repository](https://github.com/KairaCode/Wex-WRN2) (private; access required)
42
- - [WEX/WRN2 Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md) (private; access required)
43
 
44
- WNR2 is the older WEX3 codec (codec 4). The V4.1 file here uses WNR3-CZ records (codec 5) in WEX4; Qwen3.8 stores RAW MXFP4 records in WEX4. WNR2 engine/helper settings do not describe these files. For the exact engine hooks, profile variables, and verification flow, see the private [WEX/WRN2 Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md) and its [WEX4 specification](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WEX4-SPEC.md).
45
 
46
- ## Provenance and license
47
 
48
- The `.verified.pre-wex4` sidecars are included as supplied. The V4.1 sidecar reports that all 7,680 source records were read back and decoded as expected; the Qwen sidecar records a source-copy SHA-256. These are pre-WEX4 provenance notes, not whole-file WEX4 verification. WEX4 root hashes will be added after running the current verifier on the final containers.
49
-
50
- No license has been specified for these model assets. Public availability does not grant permission to use, modify, or redistribute them; please add the applicable license before reuse.
51
-
52
 
53
 
 
3
  library_name: colibri
4
  pipeline_tag: text-generation
5
  ---
6
+ # WEX4 expert containers
7
 
8
+ Binary expert-weight assets. These are **not standalone Transformers checkpoints** and cannot be loaded with `from_pretrained()`.
9
 
10
  ## Contents
11
 
 
13
  |---|---|---:|
14
  | `qwen38-mxfp4/q38_experts.wex` | Qwen 3.8 MXFP4 expert container | 64,251,047,936 |
15
  | `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek V4.1 Flash REAP-192, NR3 container | 123,312,910,336 |
16
+ | `provenance/*.verified.pre-wex4` | Supplied source/build verification notes | — |
17
 
18
  ## Format and compatibility
19
 
20
+ WEX4 is a self-describing container with a hashed header/index, SHA-256 digests for blobs and records, and 4 KiB aligned data. It stores raw records or WNR3 encoded expert records. The Qwen file stores RAW MXFP4 records; the V4.1 file stores WNR3-CZ records.
21
 
22
+ WNR2 is a different, older codec used inside WEX3 containers. Neither file in this repository uses WNR2. Use a runtime build that explicitly supports WEX4 for the corresponding model family. A generic Transformers runtime or an older WEX/WNR2-only build cannot load these files.
23
 
24
  ## Download
25
 
26
  Install the Hugging Face CLI and download the repository:
27
 
28
  ```powershell
29
+ hf download Kaira666/Kaira-WEX4-Experts --repo-type model --local-dir .\WEX4-Experts
30
  ```
31
 
32
+ The containers total about 187.6 GB decimal. Ensure sufficient free disk space before downloading.
33
 
34
+ ## Integrity and runtime configuration
35
 
36
+ The WEX4 whole-file verifier checks the header, index, blobs, records, padding, and indexed SHA-256 values, then prints the 64-digit container root. Run it on each downloaded file before use. In a compatible runtime, `COLI_WEX_ROOT` pins the expected root; `COLI_WEX_VERIFY=1` enables first-read record hashing where supported.
37
 
38
+ | Container | Verified WEX4 root | Content digest |
39
+ |---|---|---|
40
+ | `q38_experts.wex` | `db5389f699abb49a164a9e73d925b5b629b0ce6de430a553388ba3e1cae5c0df` | `0d752bbf2d169b611ac79b005f07d0b9152c0591b23b65cbd12e06ea8300ec77` |
41
+ | `v4_flash_experts.nr3.wex` | `f0f78a84d040a3b336f3abef3cf8b0a36c649deb38586c813e94d35dea3beeb1` | `fb085e127ba980214f106313e9af578b18e5ebac4cde7ecb9730b1a0f78ae512` |
 
42
 
43
+ The supplied `.verified.pre-wex4` files record provenance before/alongside WEX4 conversion. The Qwen file passed whole-file verification: all 24,576 records decoded and all indexed hashes matched. The V4.1 file passed whole-file verification: all 7,680 records decoded and all indexed hashes matched.
44
 
45
+ ## License
46
 
47
+ No license has been specified for these model assets. Public availability does not grant permission to use, modify, or redistribute them. Add the applicable license before reuse.
 
 
 
48
 
49