kingjones777 commited on
Commit
d27bcbc
·
verified ·
1 Parent(s): b2fe02d

space: homepage

Browse files
Files changed (1) hide show
  1. index.html +213 -18
index.html CHANGED
@@ -1,19 +1,214 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>KingJones ROCmFP4 &amp; NVFP4 quant lab</title>
7
+ <meta name="description" content="ROCmFP4 quantized models for AMD Strix Halo (Ryzen AI Max+ 395, gfx1151) and NVFP4 for NVIDIA. Measured results, including the ones that did not work.">
8
+ <style>
9
+ :root{
10
+ --bg:#0d1117; --panel:#151b23; --line:#2a3441; --tx:#e6edf3; --dim:#9aa7b4;
11
+ --accent:#ff8a3d; --good:#3fb950; --bad:#f85149; --link:#79c0ff;
12
+ }
13
+ @media (prefers-color-scheme: light){
14
+ :root{ --bg:#ffffff; --panel:#f6f8fa; --line:#d8dee4; --tx:#1f2328;
15
+ --dim:#59636e; --accent:#bc4c00; --good:#1a7f37; --bad:#cf222e; --link:#0969da; }
16
+ }
17
+ *{box-sizing:border-box}
18
+ body{margin:0;background:var(--bg);color:var(--tx);
19
+ font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif}
20
+ .wrap{max-width:920px;margin:0 auto;padding:56px 22px 90px}
21
+ h1{font-size:2.6rem;line-height:1.1;margin:0 0 .4rem;letter-spacing:-.02em}
22
+ h2{font-size:1.35rem;margin:3rem 0 .9rem;letter-spacing:-.01em;
23
+ padding-bottom:.45rem;border-bottom:1px solid var(--line)}
24
+ h3{font-size:1.02rem;margin:1.8rem 0 .5rem;color:var(--dim);
25
+ text-transform:uppercase;letter-spacing:.08em}
26
+ p{margin:0 0 1rem}
27
+ a{color:var(--link);text-decoration:none}
28
+ a:hover{text-decoration:underline}
29
+ .lede{font-size:1.2rem;color:var(--dim);margin-bottom:1.6rem}
30
+ .rule{color:var(--accent);font-weight:600}
31
+ .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
32
+ gap:12px;margin:1.8rem 0 .5rem}
33
+ .stat{background:var(--panel);border:1px solid var(--line);border-radius:10px;
34
+ padding:14px 16px}
35
+ .stat b{display:block;font-size:1.7rem;line-height:1.15;letter-spacing:-.02em}
36
+ .stat span{font-size:.78rem;color:var(--dim);text-transform:uppercase;
37
+ letter-spacing:.06em}
38
+ .tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1rem 0}
39
+ table{border-collapse:collapse;width:100%;font-size:.92rem;min-width:560px}
40
+ th,td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left}
41
+ th{color:var(--dim);font-weight:600;font-size:.78rem;text-transform:uppercase;
42
+ letter-spacing:.05em;white-space:nowrap}
43
+ td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
44
+ .win{color:var(--good);font-weight:600}
45
+ .loss{color:var(--bad);font-weight:600}
46
+ code{background:var(--panel);border:1px solid var(--line);border-radius:5px;
47
+ padding:1px 6px;font-size:.86em;
48
+ font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
49
+ .note{background:var(--panel);border-left:3px solid var(--accent);
50
+ border-radius:0 8px 8px 0;padding:14px 18px;margin:1.3rem 0}
51
+ .note p:last-child{margin-bottom:0}
52
+ ul{padding-left:1.15rem;margin:0 0 1rem}
53
+ li{margin-bottom:.55rem}
54
+ .pills{display:flex;flex-wrap:wrap;gap:7px;margin:.7rem 0 1.4rem}
55
+ .pill{background:var(--panel);border:1px solid var(--line);border-radius:999px;
56
+ padding:4px 12px;font-size:.82rem;color:var(--dim)}
57
+ footer{margin-top:3.5rem;padding-top:1.4rem;border-top:1px solid var(--line);
58
+ color:var(--dim);font-size:.88rem}
59
+ </style>
60
+ </head>
61
+ <body>
62
+ <div class="wrap">
63
+
64
+ <h1>KingJones</h1>
65
+ <p class="lede">Quantizing large models for hardware most people don't benchmark on —
66
+ and publishing the results that <em>didn't</em> work.</p>
67
+
68
+ <div class="pills">
69
+ <span class="pill">Ryzen AI Max+ 395</span>
70
+ <span class="pill">Strix Halo · gfx1151</span>
71
+ <span class="pill">Radeon 8060S</span>
72
+ <span class="pill">ROCm 7.2.4</span>
73
+ <span class="pill">128 GB unified</span>
74
+ <span class="pill">NVFP4 · NVIDIA</span>
75
+ </div>
76
+
77
+ <div class="stats">
78
+ <div class="stat"><b>18</b><span>repositories</span></div>
79
+ <div class="stat"><b>846</b><span>GiB published</span></div>
80
+ <div class="stat"><b>14</b><span>base models</span></div>
81
+ <div class="stat"><b>13</b><span>ROCmFP4 builds</span></div>
82
+ </div>
83
+
84
+ <h2>What I actually found</h2>
85
+ <p>ROCmFP4 does <span class="rule">not</span> universally speed up decode. That's the
86
+ most useful thing I can tell you, and it took four builds and one discarded model
87
+ to learn it.</p>
88
+
89
+ <div class="tablewrap">
90
+ <table>
91
+ <thead><tr>
92
+ <th>Model</th><th>Architecture</th><th class="num">Active</th>
93
+ <th class="num">Decode, short ctx</th><th class="num">Decode, long ctx</th><th>Verdict</th>
94
+ </tr></thead>
95
+ <tbody>
96
+ <tr><td>Laguna-S-2.1 118B-A8B</td><td><code>laguna</code></td><td class="num">~8B</td>
97
+ <td class="num win">+62.6%</td><td class="num win">+43.6%</td><td>ship it</td></tr>
98
+ <tr><td>Step-3.7-Flash 198B MoE</td><td><code>step35</code></td><td class="num">~11B</td>
99
+ <td class="num win">+18%</td><td class="num win">+20%</td><td>ship it</td></tr>
100
+ <tr><td>Leanstral-1.5 119B-A6B</td><td><code>deepseek2</code> · MLA</td><td class="num">~6.5B</td>
101
+ <td class="num">+1.5%</td><td class="num loss">−8.2%</td><td>size only</td></tr>
102
+ <tr><td>KAT-Coder-V2.5-Dev 35B-A3B</td><td>hybrid linear</td><td class="num">~3B</td>
103
+ <td class="num">+12%</td><td class="num loss">−37%</td><td><strong>discarded</strong></td></tr>
104
+ </tbody>
105
+ </table>
106
+ </div>
107
+
108
+ <p>The builds that gained were the ones pushing more active parameters through the
109
+ FP4 FFN kernels. MLA and hybrid-linear attention shift work <em>away</em> from that
110
+ path and gained nothing — one regressed badly as context grew.</p>
111
+
112
+ <div class="note">
113
+ <p><strong>Benchmarking at one context length will lie to you.</strong> KAT-Coder
114
+ looks like a 12% win at short context. At long context it's 37% slower. I nearly
115
+ shipped it.</p>
116
+ <p><strong>Attention type and active-param count are confounded in this sample.</strong>
117
+ Four data points is a hypothesis, not a proof. I'd rather it be tested than believed.</p>
118
+ </div>
119
+
120
+ <h2>How I measure</h2>
121
+ <p>Numbers are worth exactly as much as the discipline behind them.</p>
122
+ <ul>
123
+ <li><strong>Equal generation length</strong> — every run emits exactly 256 tokens with
124
+ <code>ignore_eos</code>. Comparing tok/s across runs with different token counts is
125
+ meaningless; one early run of mine was soft because a baseline stopped after 4 tokens.</li>
126
+ <li><strong>Nonce-prefixed prompts</strong> — every prompt opens with a fresh UUID so the
127
+ prefix cache can't serve a seen prefix and inflate prefill. <code>cached_tokens</code>
128
+ is recorded each run so you can check it was 0. I caught a contaminated campaign this way.</li>
129
+ <li><strong>Two context lengths minimum</strong> — see KAT-Coder.</li>
130
+ <li><strong>One model resident, cold-loaded, three runs, median</strong> — on 128 GB
131
+ unified memory two large models won't coexist, and a half-swapped model produces noise.</li>
132
+ <li><strong>Failures published</strong> — OOM, crash and regression get a row in the
133
+ table, not a deletion. Where a run shared the machine with other traffic, the card
134
+ says the ordering is reliable but the exact ratios aren't.</li>
135
+ </ul>
136
+
137
+ <h2>The builds</h2>
138
+
139
+ <h3>ROCmFP4 — AMD Strix Halo</h3>
140
+ <p>Requires the <a href="https://github.com/charlie12345/ROCmFPX">ROCmFPX fork</a>.
141
+ These will not load in stock llama.cpp, Ollama or LM Studio.</p>
142
+ <div class="tablewrap">
143
+ <table>
144
+ <thead><tr><th>Model</th><th>Base</th><th class="num">Repo size</th><th>Contents</th></tr></thead>
145
+ <tbody>
146
+ <tr><td><a href="https://huggingface.co/kingjones777/Muse-Glimmer-30B-ROCmFP4-Strix-Halo-DFlash-GGUF">Muse-Glimmer-30B</a></td><td>meta-models</td><td class="num">63.0 GiB</td><td>4 variants · drafter · vision</td></tr>
147
+ <tr><td><a href="https://huggingface.co/kingjones777/Laguna-S-2.1-ROCmFP4-STRIX_LEAN-GGUF">Laguna-S-2.1</a></td><td>poolside</td><td class="num">58.3 GiB</td><td>STRIX_LEAN</td></tr>
148
+ <tr><td><a href="https://huggingface.co/kingjones777/Leanstral-1.5-119B-A6B-ROCmFP4-STRIX_LEAN-GGUF">Leanstral-1.5-119B-A6B</a></td><td>mistralai</td><td class="num">59.0 GiB</td><td>STRIX_LEAN</td></tr>
149
+ <tr><td><a href="https://huggingface.co/kingjones777/Step-3.7-Flash-ROCmFP4-STRIX_LEAN-GGUF">Step-3.7-Flash</a></td><td>stepfun-ai</td><td class="num">101.4 GiB</td><td>STRIX_LEAN · vision</td></tr>
150
+ <tr><td><a href="https://huggingface.co/kingjones777/DeepSeek-V4-Flash-180B-ROCmFP4-STRIX_LEAN-GGUF">DeepSeek-V4-Flash-180B</a></td><td>deepseek-ai</td><td class="num">181.7 GiB</td><td>2 variants</td></tr>
151
+ <tr><td><a href="https://huggingface.co/kingjones777/DeepSeek-V4-Flash-0731-ROCmFP4">DeepSeek-V4-Flash-0731</a></td><td>deepseek-ai</td><td class="num">100.4 GiB</td><td>ROCmFP4</td></tr>
152
+ <tr><td><a href="https://huggingface.co/kingjones777/Qwen3-Next-80B-A3B-Instruct-ROCmFP4-STRIX-GGUF">Qwen3-Next-80B-A3B</a></td><td>Qwen</td><td class="num">39.7 GiB</td><td>STRIX</td></tr>
153
+ <tr><td><a href="https://huggingface.co/kingjones777/BTL-4-ROCmFP4-STRIX-GGUF">BTL-4</a></td><td>badtheorylabs</td><td class="num">18.2 GiB</td><td>STRIX · vision</td></tr>
154
+ <tr><td><a href="https://huggingface.co/kingjones777/North-Mini-Code-1.0-ROCmFP4-STRIX-GGUF">North-Mini-Code-1.0</a></td><td>CohereLabs</td><td class="num">15.3 GiB</td><td>STRIX</td></tr>
155
+ <tr><td><a href="https://huggingface.co/kingjones777/GLM-4.7-Flash-ROCmFP4-STRIX-GGUF">GLM-4.7-Flash</a></td><td>zai-org</td><td class="num">14.9 GiB</td><td>STRIX</td></tr>
156
+ <tr><td><a href="https://huggingface.co/kingjones777/Instella-ToolCall-16B-A3B-ROCmFP4-STRIX-GGUF">Instella-ToolCall-16B-A3B</a></td><td>amd</td><td class="num">8.0 GiB</td><td>STRIX</td></tr>
157
+ <tr><td><a href="https://huggingface.co/kingjones777/Instella-MoE-16B-A3B-Think-ROCmFP4-STRIX-GGUF">Instella-MoE-16B-A3B-Think</a></td><td>amd</td><td class="num">7.9 GiB</td><td>STRIX</td></tr>
158
+ </tbody>
159
+ </table>
160
+ </div>
161
+
162
+ <h3>NVFP4 — NVIDIA</h3>
163
+ <div class="tablewrap">
164
+ <table>
165
+ <thead><tr><th>Model</th><th>Base</th><th class="num">Repo size</th><th>Notes</th></tr></thead>
166
+ <tbody>
167
+ <tr><td><a href="https://huggingface.co/kingjones777/Ling-3.0-flash-NVFP4-SGLang-MTP">Ling-3.0-flash</a></td><td>inclusionAI</td><td class="num">75.8 GiB</td><td>SGLang · MTP working</td></tr>
168
+ <tr><td><a href="https://huggingface.co/kingjones777/Frontis-MA1-35B-NVFP4">Frontis-MA1-35B</a></td><td>FrontisAI</td><td class="num">23.3 GiB</td><td>with MTP</td></tr>
169
+ <tr><td><a href="https://huggingface.co/kingjones777/Macaron-V1-Tall-NVFP4">Macaron-V1-Tall</a></td><td>mindlab-research</td><td class="num">23.3 GiB</td><td>MTP · LoRA-compatible</td></tr>
170
+ <tr><td><a href="https://huggingface.co/kingjones777/Instella-ToolCall-16B-A3B-NVFP4">Instella-ToolCall-16B-A3B</a></td><td>amd</td><td class="num">9.0 GiB</td><td>tool calling</td></tr>
171
+ </tbody>
172
+ </table>
173
+ </div>
174
+
175
+ <h2>Things that cost me time, so they don't cost you any</h2>
176
+ <ul>
177
+ <li><strong>A vision port can compile cleanly and be completely wrong.</strong>
178
+ Muse Glimmer needs per-layer sparse-window attention masks. Drop them and the build
179
+ works, runs, and describes images fluently and incorrectly. A four-quadrant colour
180
+ test catches it — a broken mask names the colours right and puts them in the wrong
181
+ corners. "Describe this image" does not catch it.</li>
182
+ <li><strong>Per-token acceptance is the wrong metric for a block drafter.</strong>
183
+ DFlash proposes 15 tokens per pass; ~21% acceptance sounds broken and actually means
184
+ ~4.13 tokens landing per target pass, which is healthy. Read tokens-per-pass.</li>
185
+ <li><strong>A higher acceptance rate can be slower.</strong> n-gram speculation hit
186
+ 42.9% acceptance against DFlash's 21% and ran 45% slower, because it proposes far
187
+ fewer tokens per pass.</li>
188
+ <li><strong>Check what else is on the box.</strong> An identical request measured 40s
189
+ on a quiet machine and 118s while another model was resident. Contention will invent
190
+ a result and hand it to you with a straight face.</li>
191
+ </ul>
192
+
193
+ <h2>Credit</h2>
194
+ <p>The ROCmFP4 / ROCmFPX tensor formats are <strong>not my work</strong> — they're
195
+ <a href="https://github.com/charlie12345">charlie12345</a> / <code>caf</code>'s
196
+ <a href="https://github.com/charlie12345/ROCmFPX">ROCmFPX</a> fork of llama.cpp, with
197
+ contributions from <code>ciru-ai</code>, Tom Turney, <code>PlunderStruck</code> and
198
+ Aydan S. Every ROCmFP4 file here was produced with their quantizer and runs on their
199
+ runtime. If these builds are useful to you, star that repo.</p>
200
+ <p>Built on <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a> and
201
+ <a href="https://github.com/ROCm/ROCm">AMD ROCm</a>. All base model weights, licences
202
+ and capabilities belong to their original authors — I contribute quantisation and
203
+ measurement only.</p>
204
+
205
+ <footer>
206
+ <p><a href="https://huggingface.co/kingjones777">All models on Hugging Face</a> ·
207
+ <a href="https://github.com/kingjones30/strix-halo-quant-lab">Benchmark harness &amp; raw results</a></p>
208
+ <p>If you reproduce one of these builds on your own hardware, please open a discussion
209
+ on the model — independent numbers are worth more than another round of mine.</p>
210
+ </footer>
211
+
212
+ </div>
213
+ </body>
214
  </html>