DeanoCalver commited on
Commit
37c8d3a
·
verified ·
1 Parent(s): 1a03d36

card: clean v3-only read

Browse files
Files changed (1) hide show
  1. README.md +49 -42
README.md CHANGED
@@ -4,61 +4,68 @@ base_model: deepseek-ai/DeepSeek-V4-Flash-0731
4
  tags: [gguf, rocmfpx, strix-halo, mixed-precision, quantization]
5
  ---
6
 
7
- # DeepSeek-V4-Flash-0731 — ROCmFPX mixed-precision
8
 
9
- Mixed-precision GGUFs of DeepSeek-V4-Flash-0731 for AMD Strix Halo (gfx1151).
10
- Every byte allocation is decided by a measured whole-file knapsack (geo-quant
11
- `auto` / `gguf_rewrite`): layer-output damage under real routing, per tensor,
12
- under a sourced deployment byte ceiling — no hand-picked formats.
13
 
14
- ## v3 (recommended): `ds4-0731-gu106down-v3.gguf` — 98.29 GB, single file
 
 
 
 
15
 
16
- Sized for the Strix Halo **96 GiB single-allocation window** (`amdgpu.gttsize=98304`):
17
- loads UNSPLIT on the iGPU with stock parameters. All codebooks are embedded as GGUF
18
- KV — **no sidecar files**.
19
 
20
- | | v3 | v1 | published reference |
21
- |---|---|---|---|
22
- | bytes | **98,294,917,184** | 102,321,006,592 | 102.3 GB |
23
- | COMPSEC-17 (think 15488) | **17/17** | 16/17 | 17/17 |
24
- | full ds4-eval 92 | **82/92** | 79/92 | 82/92 |
25
- | eval items in calibration | **0/92** | 0/92 | 75/92 |
26
- | fits 96 GiB GTT unsplit | **yes** | no | no |
27
 
28
- v3 matches the published reference's 82/92 with a fully held-out calibration
29
- (the reference's own calibration contained 75 of the 92 eval items), at 4 GB
30
- smaller. Measured on gfx1151 (Radeon 8060S, 128 GB): **18.1 tok/s median AR
31
- decode** (no draft), coherent long-form output, fused decode off.
 
32
 
33
- ### Allocation (v3)
 
 
 
 
 
 
 
 
 
34
 
35
  | family | format | bpw |
36
  |---|---|---|
37
- | routed gate/up experts (86 tensors) | Q2_1_ROCMFP2_MIX (106) — learned per-expert codebooks | 2.50 |
38
- | routed down experts, 15 layers (0,2-4,6,10,11,17-20,39-42) | Q2_1_ROCMFP2_MIX (106) | 2.50 |
39
  | routed down experts, 28 layers | Q3_1_ROCMFP3_MIX (105) — adaptive | 3.50 |
40
- | attention / dense / shared | Q4_0_ROCMFP4_FAST (101) | 4.25 |
 
41
 
42
- ### Serving v3
 
43
 
44
- Requires a dflash build with **gumix surface=2 (down-expert) registration** and the
45
- mix-qtype monolithic-load fallback — branch `feat/qtype106-down-surface` on
46
- `GeometricAGI/lucebox-hub`. On Strix Halo run with stock parameters (auto-UMA on;
47
- `HIP_VISIBLE_DEVICES=<iGPU>` recommended if a dGPU is present). Loader must report
48
- `registered 101 qtype-106` and `registered 28 qtype-105`.
49
 
50
- ## v1: `ds4-0731-gu106-v1.gguf` — 102.32 GB (+ `.gumix.bin` sidecar, REQUIRED)
 
 
51
 
52
- The original repair artifact at the blog's 102.32 GB budget (16/17, 79/92). Kept for
53
- reproducibility; superseded by v3 on every measured axis. Requires the
54
- `ds4-0731-gu106-v1.gguf.gumix.bin` sidecar next to the GGUF (86 gate/up codebook
55
- entries); down codebooks are embedded in-GGUF.
56
 
57
- ## Provenance
 
 
 
 
 
58
 
59
- An earlier revision shipped gate/up as uniform absmax (qtype 107) — a family-level
60
- GGUF bisection convicted that choice of a 9/17 → 17/17 COMPSEC gap. v1 was the repair
61
- (same bytes, +8 questions). v3 re-allocated the down surface under the 96 GiB window
62
- ceiling using the same measured pipeline, and gates on a registered golden
63
- (positive-control validated) before shipping. Q8_0 attention was measured (+2.4 GB):
64
- lossless on perplexity, no task-level gain (78 vs 79/92) — rejected.
 
4
  tags: [gguf, rocmfpx, strix-halo, mixed-precision, quantization]
5
  ---
6
 
7
+ # DeepSeek-V4-Flash-0731 — ROCmFPX mixed precision for Strix Halo
8
 
9
+ **File: `ds4-0731-gu106down-v3.gguf` — 98.29 GB, single file, no sidecars.**
 
 
 
10
 
11
+ A mixed-precision GGUF of DeepSeek-V4-Flash-0731 (660B MoE) sized for the AMD
12
+ Strix Halo **96 GiB single-allocation window**: it loads **unsplit on the iGPU**
13
+ of a 128 GB Strix Halo box (Ryzen AI MAX+ 395 / Radeon 8060S) with stock
14
+ parameters, leaving headroom for a speculative-decode draft. All codebooks are
15
+ embedded in the GGUF as KV — download one file and serve.
16
 
17
+ ## Quality
 
 
18
 
19
+ | suite | score |
20
+ |---|---|
21
+ | COMPSEC-17 (think budget 15488) | **17/17** |
22
+ | full ds4-eval 92 (COMPSEC + AIME2025 + GPQA-Diamond + SuperGPQA) | **82/92** |
 
 
 
23
 
24
+ 82/92 equals the published reference artifact for this checkpoint — with one
25
+ important difference: **this model's calibration holds out all 92 eval items**
26
+ (the reference's calibration set contained 75 of them). Scores were produced with
27
+ the reference's own grader (`ds4-eval --regrade-trace`, self-check 92/92) at the
28
+ matched thinking budget, serving on dflash with fused decode off.
29
 
30
+ ## Speed (measured, Radeon 8060S iGPU, 128 GB)
31
+
32
+ - **18.1 tok/s** median decode (plain autoregressive, no draft), 1200-token
33
+ generations, coherent long-form output; prefill ~1.1 s on short prompts.
34
+
35
+ ## Bit allocation
36
+
37
+ Every tensor's format is chosen by a measured allocator (layer-output damage
38
+ under real MoE routing, one knapsack over the whole file under the 98.4e9-byte
39
+ ceiling) — nothing is hand-picked. The result:
40
 
41
  | family | format | bpw |
42
  |---|---|---|
43
+ | routed gate/up experts (all 43 layers) | Q2_1_ROCMFP2_MIX (106) — learned per-expert codebooks | 2.50 |
44
+ | routed down experts, 15 layers | Q2_1_ROCMFP2_MIX (106) | 2.50 |
45
  | routed down experts, 28 layers | Q3_1_ROCMFP3_MIX (105) — adaptive | 3.50 |
46
+ | attention / dense / shared expert | Q4_0_ROCMFP4_FAST (101) | 4.25 |
47
+ | norms / router / scaffolding | F32 / 101 passthrough | — |
48
 
49
+ The artifact is gated before release: a registered golden probe (COMPSEC ≥16
50
+ bar, positive-control validated) must pass at the byte ceiling.
51
 
52
+ ## Serving
 
 
 
 
53
 
54
+ Needs a dflash build with qtype-106 down-expert (gumix surface=2) registration
55
+ and the mix-qtype monolithic-load fallback — branch `feat/qtype106-down-surface`
56
+ of `GeometricAGI/lucebox-hub`.
57
 
58
+ ```
59
+ dflash_server ds4-0731-gu106down-v3.gguf --target-device hip:0 --max-ctx 8192
60
+ ```
 
61
 
62
+ On Strix Halo use stock settings (auto-UMA on). If a discrete GPU is present,
63
+ mask it (`HIP_VISIBLE_DEVICES=<iGPU index>`) or pick the iGPU explicitly. A
64
+ healthy load prints `registered 101 qtype-106` and `registered 28 qtype-105`,
65
+ then serves with fused decode off.
66
+
67
+ ---
68
 
69
+ <sub>The repo also carries `ds4-0731-gu106-v1.gguf` (+ its `.gumix.bin`
70
+ sidecar), an earlier 102.32 GB revision kept for reproducibility — superseded
71
+ by v3 on size, quality, and deployability.</sub>