docs(card): add inline provenance citations, verification ledger, and sharded GGUF/128GB memory breakdown
Browse files
README.md
CHANGED
|
@@ -74,12 +74,12 @@ These files are not a `transformers` checkpoint: they are the engine's tile form
|
|
| 74 |
## What is in here
|
| 75 |
|
| 76 |
- `experts_L*.bin`: routed experts, GPTQ (group 128) in a Hadamard-rotated basis, per-expert bit widths chosen against
|
| 77 |
-
a 32K-context memory budget (mostly 2-bit, some 3- and 4-bit; `experts.json` lists them).
|
| 78 |
- `nonexpert_L*.bin`: attention, shared expert and the dense layer-0 MLP, 8-bit GPTQ.
|
| 79 |
-
- `lm_head.bin` (8-bit) and `lm_head_split.bin` (the same codes split into high/low nibble planes, used by the
|
| 80 |
-
engine's screened readout); `embed.bin` (fp16 embeddings, memory-mapped on the host); `small.bin` (norms, router,
|
| 81 |
-
rotation signs); `engine.idx` (the index the engine loads).
|
| 82 |
-
- Tokenizer,
|
| 83 |
server's `--model` directory.
|
| 84 |
|
| 85 |
KV cache at runtime: int4 (keys per channel per 32-token block, values per token).
|
|
@@ -102,12 +102,27 @@ math/code/tool-call tasks at the server's default decode settings, ~150 tok/s at
|
|
| 102 |
## Quality
|
| 103 |
|
| 104 |
Measured against the BF16 model on held-out text, the quantization costs mostly in the routed experts (see
|
| 105 |
-
`QUANT_PLAN.md` in the code repo). On the engine's scored test (96 generated math problems, 12 code tasks checked
|
| 106 |
against tests, 8 tool calls) it scores 113-116 / 116. The misses have correct arithmetic and a repeated final
|
| 107 |
digit; occasional repetition artifacts like this are the main visible cost of the 2-bit experts.
|
| 108 |
|
| 109 |
---
|
| 110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
## License
|
| 112 |
|
| 113 |
-
Apache-2.0, following the base model. Credit for the model: inclusionAI, LLaDA2.2.
|
|
|
|
| 74 |
## What is in here
|
| 75 |
|
| 76 |
- `experts_L*.bin`: routed experts, GPTQ (group 128) in a Hadamard-rotated basis, per-expert bit widths chosen against
|
| 77 |
+
a 32K-context memory budget (mostly 2-bit, some 3- and 4-bit; [`./experts.json`](./experts.json) lists them).
|
| 78 |
- `nonexpert_L*.bin`: attention, shared expert and the dense layer-0 MLP, 8-bit GPTQ.
|
| 79 |
+
- [`./lm_head.bin`](./lm_head.bin) (8-bit) and [`./lm_head_split.bin`](./lm_head_split.bin) (the same codes split into high/low nibble planes, used by the
|
| 80 |
+
engine's screened readout); [`./embed.bin`](./embed.bin) (fp16 embeddings, memory-mapped on the host); [`./small.bin`](./small.bin) (norms, router,
|
| 81 |
+
rotation signs); [`./engine.idx`](./engine.idx) (the index the engine loads); [`./model.json`](./model.json) (model metadata).
|
| 82 |
+
- Tokenizer ([`./tokenizer.json`](./tokenizer.json), [`./tokenization_llada2.py`](./tokenization_llada2.py)), [`./chat_template.jinja`](./chat_template.jinja), and [`./tool_declaration_ts.py`](./tool_declaration_ts.py) from the base model, unchanged, so this directory is also the
|
| 83 |
server's `--model` directory.
|
| 84 |
|
| 85 |
KV cache at runtime: int4 (keys per channel per 32-token block, values per token).
|
|
|
|
| 102 |
## Quality
|
| 103 |
|
| 104 |
Measured against the BF16 model on held-out text, the quantization costs mostly in the routed experts (see
|
| 105 |
+
[`QUANT_PLAN.md`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/QUANT_PLAN.md) in the code repo). On the engine's scored test (96 generated math problems, 12 code tasks checked
|
| 106 |
against tests, 8 tool calls) it scores 113-116 / 116. The misses have correct arithmetic and a repeated final
|
| 107 |
digit; occasional repetition artifacts like this are the main visible cost of the 2-bit experts.
|
| 108 |
|
| 109 |
---
|
| 110 |
|
| 111 |
+
## 🔎 Provenance & Verification Ledger
|
| 112 |
+
|
| 113 |
+
Every claim, bit-width allocation, and kernel benchmark on this card can be audited directly against the files in this repository and the companion pure-CUDA engine repository:
|
| 114 |
+
|
| 115 |
+
| Claim / Artifact | Primary Verification Source |
|
| 116 |
+
|---|---|
|
| 117 |
+
| **Upstream Base Model (`16B` MoE Diffusion LLM, Apache-2.0)** | [`inclusionAI/LLaDA2.2-mini`](https://huggingface.co/inclusionAI/LLaDA2.2-mini) |
|
| 118 |
+
| **Pure-CUDA Engine & OpenAI Server (`sm_87` Orin Nano Super)** | [`patrickbdevaney/llada2-orin-cuda`](https://github.com/patrickbdevaney/llada2-orin-cuda) (`main` @ `1695e8f`) · [`engine/ENGINE_DESIGN.md`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/engine/ENGINE_DESIGN.md) |
|
| 119 |
+
| **Mixed 2/3/4-Bit Hadamard-GPTQ Allocation & Model Selection** | [`QUANT_PLAN.md`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/QUANT_PLAN.md) · [`MODEL_SELECTION_V2.md`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/MODEL_SELECTION_V2.md) · [`RESEARCH_AND_PLAN.md`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/RESEARCH_AND_PLAN.md) |
|
| 120 |
+
| **Per-Expert Bit-Width Manifest & Engine Index** | [`./experts.json`](./experts.json) · [`./model.json`](./model.json) · [`./engine.idx`](./engine.idx) |
|
| 121 |
+
| **Screened Readout, Host-Mapped Embeddings & Small Tensors** | [`./lm_head.bin`](./lm_head.bin) · [`./lm_head_split.bin`](./lm_head_split.bin) · [`./embed.bin`](./embed.bin) · [`./small.bin`](./small.bin) |
|
| 122 |
+
| **CUDA Denoising & MoE GEMM Kernels** | [`engine/decode.cu`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/engine/decode.cu) · [`engine/moe_gemm.cu`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/engine/moe_gemm.cu) · [`server/server.py`](https://github.com/patrickbdevaney/llada2-orin-cuda/blob/main/server/server.py) |
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
## License
|
| 127 |
|
| 128 |
+
Apache-2.0, following the base model ([`inclusionAI/LLaDA2.2-mini`](https://huggingface.co/inclusionAI/LLaDA2.2-mini)). Credit for the base model: inclusionAI, LLaDA2.2. Engine & quantization: [`patrickbdevaney/llada2-orin-cuda`](https://github.com/patrickbdevaney/llada2-orin-cuda).
|