Ludovico commited on
Document WEX4 integration and add provenance notes
Browse filesFiles changed (3)
2 unmodified lines345678910111213141516171819202122232425262 unmodified lineslibrary_name: colibripipeline_tag: text-generation---# KAIRA WEX expert containersThis repository contains KAIRA/Colibri WEX expert containers. These are binary expert-weight assets for the KAIRA Colibri runtime; they are not standalone Hugging Face Transformers checkpoints and cannot be loaded with `from_pretrained()`.## Files| File | Model family / build | Size ||---|---|---:|| `q38_experts.wex` | Qwen 3.8 MXFP4 expert container | 64,251,047,936 bytes || `v4_flash_experts.nr3.wex` | DeepSeek V4.1 Flash REAP, NR3 | 123,312,910,336 bytes || `*.verified.pre-wex4` | Existing source/build verification notes supplied with the files | small |The `.wex` containers use the WEX4 container format. Use them with a compatible KAIRA/Colibri build and its WEX4 verification support. Consult the KAIRA repository for runtime setup and compatibility details: https://github.com/KairaCode/KAIRA## IntegrityThe accompanying `*.verified.pre-wex4` files are provenance notes from before/alongside the WEX4 conversion. They are included as supplied and are not a substitute for running the current WEX4 verifier on the final containers. This repository does not yet publish verified WEX4 root hashes.## LicenseNo license has been specified for these model assets. All rights remain with their respective rights holders; public availability does not grant permission to use, modify, or redistribute them. Please add the applicable license before reuse.2 unmodified lines345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152532 unmodified lineslibrary_name: colibripipeline_tag: text-generation---# KAIRA WEX4 expert containersBinary expert-weight assets for KAIRA/Colibri. These files are **not standalone Transformers checkpoints** and cannot be loaded with `from_pretrained()`.## Contents| File | Model/build | Bytes ||---|---|---:|| `qwen38-mxfp4/q38_experts.wex` | Qwen 3.8 MXFP4 expert container | 64,251,047,936 || `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek V4.1 Flash REAP-192, NR3 container | 123,312,910,336 || `provenance/*.verified.pre-wex4` | Source/build verification notes supplied with the containers | — |## Format and compatibilityWEX4 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).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`.## DownloadInstall the Hugging Face CLI and download the repository:```powershellhf download Kaira666/Kaira-WEX4-Experts --repo-type model --local-dir .\Kaira-WEX4-Experts```The containers are very large (about 187.6 GB decimal combined). Ensure enough free disk space before downloading.## Verify and integrateThe 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.- [KAIRA repository](https://github.com/KairaCode/KAIRA)- [WEX4 format reader](https://github.com/KairaCode/KAIRA/blob/main/src/colibri/c/wex4.h)- [WEX4 whole-file verifier](https://github.com/KairaCode/KAIRA/blob/main/src/colibri/c/tools/wex4_verify.c)- [WEX/WRN2 implementation repository](https://github.com/KairaCode/Wex-WRN2) (private; access required)- [WEX/WRN2 Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md) (private; access required)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).## Provenance and licenseThe `.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.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.
1sha256 a2d0f67f2fcbe7239b40b0bfad0baa67f5a78ec081bcecaaf7c72c0a842c21e9 copy of U:\kaira_wex\qwen38-mxfp4\q38_experts.wex1sha256 490E820835E63154F5AA4B4D40E9AE3FF88AC7785F80A9940793AD28A2E71E71 built 2026-11-10 by build_nr3.py (worktree cade51d), 7680/7680 records read back and decoded = expectedREADME.md+39-12
provenance/q38_experts.wex.verified.pre-wex4Added+1
provenance/v4_flash_experts.nr3.wex.verified.pre-wex4Added+1