Baekpica commited on
Commit
bf141d7
·
verified ·
1 Parent(s): fcc06ed

Add mixed quantization report

Browse files
Files changed (1) hide show
  1. MIXED-QUANT.md +105 -0
MIXED-QUANT.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Solar Open 2 250B MXQ-v1 artifact report
2
+
3
+ Built with Solar.
4
+
5
+ ## Result
6
+
7
+ `MXQ-v1` is the single locked mixed-quantization candidate for
8
+ `upstage/Solar-Open2-250B@9190fbe63a2ad8e17fc766ccceb36de7c66f004b`.
9
+ It preserves all 48 layers, all 320 routed experts per layer, the shared
10
+ expert, and the original hybrid GQA/KDA schedule.
11
+
12
+ The final artifact is 11 GGUF shards totaling `95,533,532,160` bytes
13
+ (`88.972535133362 GiB`). This is `3.027465 GiB` below the `92 GiB` hard
14
+ limit. Static verification passed for all `1,083` GGUF tensors. Per-shard
15
+ SHA-256 values are recorded in `manifests/sha256-v1.txt`.
16
+
17
+ ## Locked target precision schedule
18
+
19
+ | Target module family | Precision |
20
+ |---|---|
21
+ | Token embedding and LM head | `Q8_0` |
22
+ | GQA q/k/v/o/g projections | `Q8_0` |
23
+ | KDA matrix projections | `Q8_0` |
24
+ | Shared expert gate/up/down | `Q8_0` |
25
+ | Routed expert gate/up, middle layers 4–43 | `IQ2_XXS` + imatrix |
26
+ | Routed expert down, middle layers 4–43 | `Q3_K` + imatrix |
27
+ | Routed expert gate/up/down, edge layers 0–3 and 44–47 | `Q4_K` + imatrix |
28
+ | Router weights/correction bias | `F32` |
29
+ | Norms and small KDA control/norm/depthwise-convolution tensors | `F32` |
30
+
31
+ No lower-precision fallback candidate was generated. The complete override
32
+ list and machine-readable recipe are in `manifests/quant-overrides-v1.txt`
33
+ and `manifests/quant-recipe-v1.yaml`.
34
+
35
+ The verified tensor-type distribution is:
36
+
37
+ | GGUF type | Tensor count |
38
+ |---|---:|
39
+ | `F32` | 409 |
40
+ | `Q8_0` | 530 |
41
+ | `IQ2_XXS` | 80 |
42
+ | `Q3_K` | 40 |
43
+ | `Q4_K` | 24 |
44
+
45
+ ## Calibration and imatrix
46
+
47
+ The calibration mix follows the published target token shares from
48
+ `Baekpica/Solar-Open2-120B-A15B-REAM-148E-Healing-Mix@1931f3a40cc3463217f9c7d25906f80ded029264`:
49
+
50
+ | Bucket | Token share |
51
+ |---|---:|
52
+ | Instruction-following chat | 22% |
53
+ | Cascade stage 1 reasoning | 16% |
54
+ | Cascade stage 2 reasoning | 16% |
55
+ | Korean | 16% |
56
+ | Other multilingual | 12% |
57
+ | Finance | 6% |
58
+ | SWE agentic | 6% |
59
+ | Algorithmic code | 6% |
60
+
61
+ The rendered corpus contains 1,641 documents, 4,056,882 official-tokenizer
62
+ tokens, and 15,401,547 bytes. The final imatrix processed 590 chunks of 512
63
+ tokens (`302,080` tokens) and is `590,796,096` bytes with SHA-256
64
+ `1ee8f4d69e9e7478f9ff23159e0a08f2306f176e9d52cf85bac38151963a56e7`.
65
+
66
+ Coverage is accepted with one explicit exception: layer 0 has 29 of 320
67
+ routed experts with zero activation in this pinned corpus. Layers 1–47 have
68
+ strict 320/320 coverage. The verifier rejects any larger layer-0 exception or
69
+ any zero-coverage expert in layers 1–47; the exact expert IDs are retained in
70
+ `manifests/verify-imatrix.json`.
71
+
72
+ ## H100 verification
73
+
74
+ - Quantization completed in `3,021.266` seconds (`50m21s`).
75
+ - Structural verification found zero errors across all 11 shards.
76
+ - llama.cpp loaded the artifact over four H100 NVLs and generated all quality
77
+ fixtures; the observed decode rate was about 71 tokens/s and is reported as
78
+ H100 development evidence only.
79
+ - All 32 short deterministic outputs were non-empty with valid token IDs;
80
+ versus the full-model `Q8_0` reference, 26/32 first tokens and 11/32 complete
81
+ 32-token sequences matched.
82
+ - All eight longer no-think fatal/content/format sanity checks passed,
83
+ including Korean and Japanese answers, arithmetic, typed code, exact JSON,
84
+ and list-format constraints.
85
+ - ds4 mapped the complete artifact on one H100, validated all mixed weights,
86
+ and passed snapshot/restore, recurrent-state, replay, and cold-rebuild
87
+ regressions. See `reports/CUDA-KDA.md` for numerical details.
88
+
89
+ These checks establish artifact integrity and H100 execution sanity. They are
90
+ not a benchmark-grade semantic evaluation and do not establish DGX Spark
91
+ compatibility or one-million-token serving.
92
+
93
+ ## Reproduction gates
94
+
95
+ ```bash
96
+ scripts/verify_imatrix.sh
97
+ scripts/verify_artifact.sh v1
98
+ scripts/run_v1_quality.sh
99
+ CUDA_VISIBLE_DEVICES=0 \
100
+ DS4_SOLAR_MODEL=/path/to/Solar-Open2-250B-MXQ-v1-00001-of-00011.gguf \
101
+ JOBS=32 scripts/run_h100_regression.sh
102
+ ```
103
+
104
+ Pinned inputs, exact projections, quality summaries, and raw H100 logs are in
105
+ `manifests/`, `fixtures/reference/`, and `benchmarks/h100/`.