sawansri commited on
Commit
53127fe
·
verified ·
1 Parent(s): 73b6d82

Faster decode (+15.4%), code decode (+15.1%) and prefill at 8k (+4.5%), correctness fixes

Browse files

Promoted from dev 2e5ffb830755d61f60c7860be537700212da1289 (main was 73b6d8257495), after these checks on the same package (programs e6bb54d16cf4):
- Full gates (LEVEL=full, local, hrx-loom 0.3.0): golden pass, compare pass (24/24), vision pass (6/6), consistency pass, spec pass, agent pass (6/6), agent think off pass (6/6), sampling pass, context admit pass (262,065/262,144).
- Self-consistency (halo3, hrx-loom 0.3.0): drafted == undrafted 100/100 seed for seed, logits bitwise 18/18 (max abs 0).
- Faster than the previous main (halo3, 6 pairs, hrx-loom 0.3.0): dec_tps +1.56% [0.98, 2.15], code_tps +5.27% [4.60, 5.95], code_step_ms -2.83% [-3.45, -2.21], pf2k_tps +1.19% [0.80, 1.59].

Changes since the main release, newest first:
- Faster decode at 64k context: Stage long-context attention keys and values cooperatively through fast on-chip memory to eliminate register spills, and streamline the draft head projection, speeding up 64k decode losslessly (measured decode at 64k context +2.1%, decode at 32k context +1.9%, prefill at 64k +0.2%)
- Faster code decode: Computes Rényi-2 collision index coll_d = Z2/Z1^2 inside full_vocab_gumbel_ir (2 extra float ops, 0us, VGPR=16, 0… (measured code decode +4.5%, decode +2.3%)
- Faster prefill at 2k: GEMM_M256_XCLAMP=0 removes 8 VGPRs and 30 ins on dense g_gemm_q8_0_store_m256 (measured prefill at 2k +1.4%, prefill at 8k +1.2%)
- Faster prefill at 8k: Overlaps 8x b128 activation (X) global loads behind 64 WMMAs (1024 cycles) on every K-step of ggu_m256i (19% pf8k) and… (measured prefill at 8k +0.9%, prefill at 2k +0.5%)
- Faster prefill at 2k: Eliminates 48 g_row_scale_f16 launches and 1.2 GB/chunk FP32 %att traffic (measured prefill at 2k +1.6%, prefill at 8k +1.4%)
- Correctness fix: Row-local SWA/FULL split-K and page partitions (pos//1024+1 with %same_bk FAR fast path), exact scalar.rsqrtf across… (kept for correctness, not speed)
- and 6 earlier change(s)

Quality: gates at LEVEL=full: golden pass, compare pass (24/24), vision pass (6/6), consistency pass, agent pass (6/6), agent think off pass (6/6), sampling pass.
Self-consistency (drafted == undrafted, seed for seed): pass, 17/17 completions identical, sampled 7/7.
Context admission: admitted 262,065/262,144 tokens.

Requirements: hrx-loom 0.3.0 or newer; GGUF source unsloth/Inkling-2-Mini-GGUF@8078d149286eec7193795413b9e0643da6d11fa1.
Card: performance section pending re-measurement for these programs.

Promoted from dev 2e5ffb830755d61f60c7860be537700212da1289 after the comprehensive checks on this exact package (programs e6bb54d16cf4, hrx-loom 0.3.0):
- Gates LEVEL=full: golden pass, compare pass (24/24), vision pass (6/6), consistency pass, spec pass, agent pass (6/6), agent_think_off pass (6/6), sampling pass, context_admit pass
- Self-consistency on halo3: drafted == undrafted 100/100, logits bitwise 18/18
- Speed vs the previous main (73b6d8257495) on halo3, 6 pairs: dec_tps +1.6%, code_tps +5.3%, pf2k_tps +1.2%

Files changed (9) hide show
  1. README.md +13 -20
  2. REPORT.md +4 -12
  3. info.json +21 -107
  4. llm_config.json +9 -2
  5. model_depth1.json +101 -0
  6. model_depth2.json +101 -0
  7. model_depth3.json +101 -0
  8. program/control.loom +6 -1
  9. program/llm.loom +0 -0
README.md CHANGED
@@ -43,25 +43,17 @@ curl http://127.0.0.1:8080/v1/chat/completions \
43
 
44
  | metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
45
  |---|---|---|---|---|---|
46
- | decode tok/s, short prompt | 15.7 | 54.2 [54.0, 54.4] (95% CI) (acceptance 20 %) | +245 % | 40.4 | 134 % ‡ |
47
- | decode tok/s, 2k context | 14.9 | 52.8 [51.2, 53.3] (95% CI) (acceptance 24 %) | +254 % | 42.2 | 125 % ‡ |
48
- | decode tok/s, 32k context | 10.7 | 43.1 [42.0, 43.8] (95% CI) (acceptance 19 %) | +303 % | 35.3 | 122 % ‡ |
49
- | prefill tok/s, 1k document | 292.8 | 1992.1 [1990.3, 2002.7] (95% CI) | +580 % | 4762.1 | 42 % |
50
- | prefill tok/s, 2k document | 278.6 | 2200.3 [2190.4, 2210.1] (95% CI) | +690 % | 4614.1 | 48 % |
51
- | prefill tok/s, 8k document | 241.5 | 2363.7 [2361.0, 2378.4] (95% CI) | +879 % | 4469.7 | 53 % |
52
- | prefill tok/s, 16k document | 203.9 | 2297.5 [2295.7, 2307.8] (95% CI) | +1027 % | 4297.3 | 53 % |
53
- | prefill tok/s, 32k document | 158.1 | 2174.1 [2171.3, 2187.3] (95% CI) | +1275 % | 3989.5 | 54 % |
54
- | 4 streams, aggregate tok/s (drafting off) | 39.4 | 108.3 [107.8, 109.4] (95% CI) | — | 211.8 | 51 % |
55
- | 4 streams, aggregate tok/s (drafting on) | n/a | 108.4 [108.1, 108.6] (95% CI) (acceptance 0 %) | — | 99.3 | 109 % ‡ |
56
- | speculative decoding, drafted tokens accepted | — | 44 % ¹ | — | n/a | n/a |
57
-
58
- **Decode by content class**
59
-
60
- | content class | Loom tok/s | drafted tokens accepted |
61
- |---|---|---|
62
- | prose | 55.8 [55.1, 55.9] (95% CI) | 21 % |
63
- | code | 63.7 [63.0, 63.8] (95% CI) | 34 % |
64
- | chat | 53.4 [52.7, 53.5] (95% CI) | 17 % |
65
 
66
  **Methodology**
67
 
@@ -78,6 +70,7 @@ curl http://127.0.0.1:8080/v1/chat/completions \
78
  - Confidence intervals: 95% percentile bootstrap over independent session medians (2000 resamples, seed 0); approximate with small session counts. Duplicate evidence does not add sessions.
79
  - Measured 2026-11-25; device AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.4 LTS; hrx-loom `0.2.0` (hrx-system `0cd370f`); source: named-machine run.
80
  - ¹ Measured 2026-11-25; device AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04; hrx-loom unknown; source: local run.
 
81
  - Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the `spec` gate's requests.
82
  - ‡ measured above the modeled ceiling; the roofline is an estimate (228 GB/s effective bandwidth).
83
  - Roofline: the hardware ceiling for this GGUF on AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151) at 228 GB/s and 44 TFLOP/s sustained at 85 W (spec 59), from loom-roofline `roofline.py` (loom-skills unknown commit); decode rows with speculative decoding: verify passes × (1 + acceptance × depth 3) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 20 %, decode at 2k 24 %, decode at 32k 19 %; single-pass ceiling (no acceptance measured on this package) for 4 streams drafted; 4 streams run without drafting, so its ceiling is single-pass; the 4-stream ceiling of this mixture-of-experts model assumes the four streams route to the same experts (the bound a run may not exceed).
@@ -130,7 +123,7 @@ curl http://127.0.0.1:8080/v1/chat/completions \
130
  | `logits` | Host logits readback (llm.logits on): at T=0 every returned row's argmax is the device's token, the top-k matches llama.cpp, greedy text is unchanged | ❌ no evidence |
131
  | `decision` | Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | — not applicable |
132
 
133
- - ¹ local run, LEVEL=full, 2026-11-25; device AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04; hrx-loom `0.2.0` (hrx-system `0cd370f`).
134
  - Gates are the loom-benchmark correctness gates (`gates.sh`); a gate without a recorded run shows no evidence.
135
 
136
  ## Acknowledgments
 
43
 
44
  | metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
45
  |---|---|---|---|---|---|
46
+ | decode tok/s, short prompt | 15.7 | 54.2 † [54.0, 54.4] (95% CI) (acceptance 20 %) | +245 % | 40.4 | 134 % ‡ |
47
+ | decode tok/s, 2k context | 14.9 | 52.8 † [51.2, 53.3] (95% CI) (acceptance 24 %) | +254 % | 42.2 | 125 % ‡ |
48
+ | decode tok/s, 32k context | 10.7 | 43.1 † [42.0, 43.8] (95% CI) (acceptance 19 %) | +303 % | 35.3 | 122 % ‡ |
49
+ | prefill tok/s, 1k document | 292.8 | 1992.1 † [1990.3, 2002.7] (95% CI) | +580 % | 4762.1 | 42 % |
50
+ | prefill tok/s, 2k document | 278.6 | 2200.3 † [2190.4, 2210.1] (95% CI) | +690 % | 4614.1 | 48 % |
51
+ | prefill tok/s, 8k document | 241.5 | 2363.7 † [2361.0, 2378.4] (95% CI) | +879 % | 4469.7 | 53 % |
52
+ | prefill tok/s, 16k document | 203.9 | 2297.5 † [2295.7, 2307.8] (95% CI) | +1027 % | 4297.3 | 53 % |
53
+ | prefill tok/s, 32k document | 158.1 | 2174.1 † [2171.3, 2187.3] (95% CI) | +1275 % | 3989.5 | 54 % |
54
+ | 4 streams, aggregate tok/s (drafting off) | 39.4 | 108.3 † [107.8, 109.4] (95% CI) | — | 211.8 | 51 % |
55
+ | 4 streams, aggregate tok/s (drafting on) | n/a | 108.4 † [108.1, 108.6] (95% CI) (acceptance 0 %) | — | 99.3 | 109 % ‡ |
56
+ | speculative decoding, drafted tokens accepted | — | 44 % ¹ † | — | n/a | n/a |
 
 
 
 
 
 
 
 
57
 
58
  **Methodology**
59
 
 
70
  - Confidence intervals: 95% percentile bootstrap over independent session medians (2000 resamples, seed 0); approximate with small session counts. Duplicate evidence does not add sessions.
71
  - Measured 2026-11-25; device AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.4 LTS; hrx-loom `0.2.0` (hrx-system `0cd370f`); source: named-machine run.
72
  - ¹ Measured 2026-11-25; device AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04; hrx-loom unknown; source: local run.
73
+ - † Measured on programs other than this repository's (sha256 `96a4f12`, this repository's `e6bb54d`): the value describes another build of the package until a session re-measures it.
74
  - Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the `spec` gate's requests.
75
  - ‡ measured above the modeled ceiling; the roofline is an estimate (228 GB/s effective bandwidth).
76
  - Roofline: the hardware ceiling for this GGUF on AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151) at 228 GB/s and 44 TFLOP/s sustained at 85 W (spec 59), from loom-roofline `roofline.py` (loom-skills unknown commit); decode rows with speculative decoding: verify passes × (1 + acceptance × depth 3) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 20 %, decode at 2k 24 %, decode at 32k 19 %; single-pass ceiling (no acceptance measured on this package) for 4 streams drafted; 4 streams run without drafting, so its ceiling is single-pass; the 4-stream ceiling of this mixture-of-experts model assumes the four streams route to the same experts (the bound a run may not exceed).
 
123
  | `logits` | Host logits readback (llm.logits on): at T=0 every returned row's argmax is the device's token, the top-k matches llama.cpp, greedy text is unchanged | ❌ no evidence |
124
  | `decision` | Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | — not applicable |
125
 
126
+ - ¹ local run, LEVEL=full, 2026-11-25; device AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04; hrx-loom `0.3.0` (hrx-system `e2c41a7`).
127
  - Gates are the loom-benchmark correctness gates (`gates.sh`); a gate without a recorded run shows no evidence.
128
 
129
  ## Acknowledgments
REPORT.md CHANGED
@@ -24,7 +24,7 @@ How the values on this repository's model card were measured. Generated from `in
24
 
25
  - Device: AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.4 LTS.
26
  - Loom SDK: hrx-loom `0.2.0` (hrx-system `0cd370f`).
27
- - Programs measured: sha256 `96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53`, the same as this repository's programs.
28
 
29
  **Environment (Loom measurement)**
30
 
@@ -79,7 +79,7 @@ gates: gates.sh LEVEL=full on the developer machine (Ubuntu 24.04, finish t68-mw
79
 
80
  - Device: AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.
81
  - Loom SDK: hrx-loom unknown.
82
- - Programs measured: sha256 `96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53`, the same as this repository's programs.
83
 
84
  | metric | engine | runs | value |
85
  |---|---|---|---|
@@ -102,14 +102,6 @@ gates: gates.sh LEVEL=full on the developer machine (Ubuntu 24.04, finish t68-mw
102
 
103
  Intervals are approximate 95% percentile bootstraps over session medians (2000 resamples, seed 0); no interval is reported below three independent compatible sessions.
104
 
105
-
106
- **Decode by content class**
107
-
108
- | content class | Loom tok/s | drafted tokens accepted |
109
- |---|---|---|
110
- | prose | 55.8 [55.1, 55.9] (95% CI) | 21 % |
111
- | code | 63.7 [63.0, 63.8] (95% CI) | 34 % |
112
- | chat | 53.4 [52.7, 53.5] (95% CI) | 17 % |
113
  ## Roofline
114
 
115
  - Device: AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151), 228 GB/s, 44 TFLOP/s sustained at 85 W (spec 59).
@@ -136,5 +128,5 @@ Intervals are approximate 95% percentile bootstraps over session medians (2000 r
136
 
137
  - Gates: `golden` pass, `compare` pass, `vision` pass, `consistency` pass, `spec` pass, `agent` pass, `agent_think_off` pass, `sampling` pass.
138
  - Device: AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.
139
- - Loom SDK: hrx-loom `0.2.0` (hrx-system `0cd370f`).
140
- - Programs: sha256 `96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53`, the same as this repository's programs.
 
24
 
25
  - Device: AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.4 LTS.
26
  - Loom SDK: hrx-loom `0.2.0` (hrx-system `0cd370f`).
27
+ - Programs measured: sha256 `96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53`, not the same as this repository's programs.
28
 
29
  **Environment (Loom measurement)**
30
 
 
79
 
80
  - Device: AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.
81
  - Loom SDK: hrx-loom unknown.
82
+ - Programs measured: sha256 `96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53`, not the same as this repository's programs.
83
 
84
  | metric | engine | runs | value |
85
  |---|---|---|---|
 
102
 
103
  Intervals are approximate 95% percentile bootstraps over session medians (2000 resamples, seed 0); no interval is reported below three independent compatible sessions.
104
 
 
 
 
 
 
 
 
 
105
  ## Roofline
106
 
107
  - Device: AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151), 228 GB/s, 44 TFLOP/s sustained at 85 W (spec 59).
 
128
 
129
  - Gates: `golden` pass, `compare` pass, `vision` pass, `consistency` pass, `spec` pass, `agent` pass, `agent_think_off` pass, `sampling` pass.
130
  - Device: AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S, AMD Radeon 8060S Graphics, Ubuntu 24.04.
131
+ - Loom SDK: hrx-loom `0.3.0` (hrx-system `e2c41a7`).
132
+ - Programs: sha256 `e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76`, the same as this repository's programs.
info.json CHANGED
@@ -225,64 +225,64 @@
225
  "date": "2026-11-25",
226
  "detail": null,
227
  "level": "full",
228
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
229
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
230
  "status": "pass"
231
  },
232
  "agent_think_off": {
233
  "date": "2026-11-25",
234
  "detail": null,
235
  "level": "full",
236
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
237
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
238
  "status": "pass"
239
  },
240
  "compare": {
241
  "date": "2026-11-25",
242
  "detail": null,
243
  "level": "full",
244
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
245
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
246
  "status": "pass"
247
  },
248
  "consistency": {
249
  "date": "2026-11-25",
250
  "detail": null,
251
  "level": "full",
252
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
253
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
254
  "status": "pass"
255
  },
256
  "golden": {
257
  "date": "2026-11-25",
258
  "detail": null,
259
  "level": "full",
260
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
261
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
262
  "status": "pass"
263
  },
264
  "sampling": {
265
  "date": "2026-11-25",
266
  "detail": null,
267
  "level": "full",
268
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
269
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
270
  "status": "pass"
271
  },
272
  "spec": {
273
  "date": "2026-11-25",
274
  "detail": null,
275
  "level": "full",
276
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
277
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
278
  "status": "pass"
279
  },
280
  "vision": {
281
  "date": "2026-11-25",
282
  "detail": null,
283
  "level": "full",
284
- "programs_sha256": "96a4f1287bb93129e7939b5ac005c07f9b2e0c204dd646c8ca517392ede4bf53",
285
- "source": "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)",
286
  "status": "pass"
287
  }
288
  },
@@ -304,92 +304,6 @@
304
  "class rows: prose/code/chat x 3 per session (devtest/card/measure_classes.py), 300 tokens, T=1",
305
  "gates: gates.sh LEVEL=full on the developer machine (Ubuntu 24.04, finish t68-mwwextw2, 2026-11-25), programs sha256 96a4f1287bb9; reused, not re-run"
306
  ],
307
- "content_classes": {
308
- "chat": {
309
- "acceptance": 0.168,
310
- "loom": 53.39449902241926,
311
- "measurements": {
312
- "loom": [
313
- {
314
- "acceptance": 0.168,
315
- "id": "cardt68h3-s1",
316
- "value": 53.4522141085428
317
- },
318
- {
319
- "acceptance": 0.168,
320
- "id": "cardt68h3-s2",
321
- "value": 53.342329402538994
322
- },
323
- {
324
- "acceptance": 0.168,
325
- "id": "cardt68h3-s3",
326
- "value": 53.44666864229953
327
- },
328
- {
329
- "acceptance": 0.168,
330
- "id": "cardt68h3-s4",
331
- "value": 52.666400736687514
332
- }
333
- ]
334
- }
335
- },
336
- "code": {
337
- "acceptance": 0.342,
338
- "loom": 63.7177207646171,
339
- "measurements": {
340
- "loom": [
341
- {
342
- "acceptance": 0.342,
343
- "id": "cardt68h3-s1",
344
- "value": 63.72209884133371
345
- },
346
- {
347
- "acceptance": 0.342,
348
- "id": "cardt68h3-s2",
349
- "value": 63.77363785190884
350
- },
351
- {
352
- "acceptance": 0.342,
353
- "id": "cardt68h3-s3",
354
- "value": 63.71334268790049
355
- },
356
- {
357
- "acceptance": 0.342,
358
- "id": "cardt68h3-s4",
359
- "value": 63.03324929920892
360
- }
361
- ]
362
- }
363
- },
364
- "prose": {
365
- "acceptance": 0.209,
366
- "loom": 55.79244303552984,
367
- "measurements": {
368
- "loom": [
369
- {
370
- "acceptance": 0.209,
371
- "id": "cardt68h3-s1",
372
- "value": 55.73650189268191
373
- },
374
- {
375
- "acceptance": 0.209,
376
- "id": "cardt68h3-s2",
377
- "value": 55.84838417837777
378
- },
379
- {
380
- "acceptance": 0.209,
381
- "id": "cardt68h3-s3",
382
- "value": 55.93192101550714
383
- },
384
- {
385
- "acceptance": 0.209,
386
- "id": "cardt68h3-s4",
387
- "value": 55.1270250324605
388
- }
389
- ]
390
- }
391
- }
392
- },
393
  "date": "2026-11-25",
394
  "draft_depth": 3,
395
  "metrics": {
@@ -1116,20 +1030,20 @@
1116
  "run": null,
1117
  "url": null
1118
  },
1119
- "local-t68-mwwextw2 (bench/finish/t68-mwwextw2)": {
1120
  "device": {
1121
  "cpu": "AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S",
1122
  "gpu": "AMD Radeon 8060S Graphics",
1123
  "os": "Ubuntu 24.04"
1124
  },
1125
  "hrx_loom": {
1126
- "hrx_loom": "0.2.0",
1127
- "hrx_system_sha": "0cd370f2baaa0cfef47cc23007f1a109906f8a52",
1128
  "source": "pypi",
1129
- "wheel_sha256": "5148f9e3a264af400ec4bae38bd7b06bf551d28cc33b7a61d67f7bcefa590438"
1130
  },
1131
  "kind": "local",
1132
- "run": "t68-mwwextw2 (bench/finish/t68-mwwextw2)",
1133
  "url": null
1134
  },
1135
  "machine-halo3-t68": {
 
225
  "date": "2026-11-25",
226
  "detail": null,
227
  "level": "full",
228
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
229
+ "source": "local-2",
230
  "status": "pass"
231
  },
232
  "agent_think_off": {
233
  "date": "2026-11-25",
234
  "detail": null,
235
  "level": "full",
236
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
237
+ "source": "local-2",
238
  "status": "pass"
239
  },
240
  "compare": {
241
  "date": "2026-11-25",
242
  "detail": null,
243
  "level": "full",
244
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
245
+ "source": "local-2",
246
  "status": "pass"
247
  },
248
  "consistency": {
249
  "date": "2026-11-25",
250
  "detail": null,
251
  "level": "full",
252
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
253
+ "source": "local-2",
254
  "status": "pass"
255
  },
256
  "golden": {
257
  "date": "2026-11-25",
258
  "detail": null,
259
  "level": "full",
260
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
261
+ "source": "local-2",
262
  "status": "pass"
263
  },
264
  "sampling": {
265
  "date": "2026-11-25",
266
  "detail": null,
267
  "level": "full",
268
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
269
+ "source": "local-2",
270
  "status": "pass"
271
  },
272
  "spec": {
273
  "date": "2026-11-25",
274
  "detail": null,
275
  "level": "full",
276
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
277
+ "source": "local-2",
278
  "status": "pass"
279
  },
280
  "vision": {
281
  "date": "2026-11-25",
282
  "detail": null,
283
  "level": "full",
284
+ "programs_sha256": "e6bb54d16cf45b1f61a3d2be8979977c89d09eb21812284b4cb1214bba05af76",
285
+ "source": "local-2",
286
  "status": "pass"
287
  }
288
  },
 
304
  "class rows: prose/code/chat x 3 per session (devtest/card/measure_classes.py), 300 tokens, T=1",
305
  "gates: gates.sh LEVEL=full on the developer machine (Ubuntu 24.04, finish t68-mwwextw2, 2026-11-25), programs sha256 96a4f1287bb9; reused, not re-run"
306
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
  "date": "2026-11-25",
308
  "draft_depth": 3,
309
  "metrics": {
 
1030
  "run": null,
1031
  "url": null
1032
  },
1033
+ "local-2": {
1034
  "device": {
1035
  "cpu": "AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S",
1036
  "gpu": "AMD Radeon 8060S Graphics",
1037
  "os": "Ubuntu 24.04"
1038
  },
1039
  "hrx_loom": {
1040
+ "hrx_loom": "0.3.0",
1041
+ "hrx_system_sha": "e2c41a720363911c04606ce0f4417e2d55630352",
1042
  "source": "pypi",
1043
+ "wheel_sha256": "6252bb0df262351175bdb2c4aaca22ffa63d80d791659aa4d2fa5c92a0af426f"
1044
  },
1045
  "kind": "local",
1046
+ "run": null,
1047
  "url": null
1048
  },
1049
  "machine-halo3-t68": {
llm_config.json CHANGED
@@ -234,9 +234,16 @@
234
  "facet/drafted",
235
  "facet/moe",
236
  "facet/sliding-window",
237
- "facet/vision"
 
238
  ],
239
- "choices": {},
 
 
 
 
 
 
240
  "devices": [
241
  "rdna3",
242
  "rdna4"
 
234
  "facet/drafted",
235
  "facet/moe",
236
  "facet/sliding-window",
237
+ "facet/vision",
238
+ "model/unsloth-Inkling-2-Mini-loom"
239
  ],
240
+ "choices": {
241
+ "prefill.gemm.m256_xclamp": {
242
+ "value": false,
243
+ "from": "model/unsloth-Inkling-2-Mini-loom",
244
+ "evidence": "Inkling run trial t58 (champion, kept 2026-11-25 08:26 UTC on strix-halo gfx1151, hrx-loom 0.2.0) vs t48: MOE_M256_XCARRY=1 + GEMM_M256_XCLAMP=1 on the m256i MoE kernels, pf2k +0.49%, pf8k +0.90%, pf32k +0.93%, pf64k +0.67% (paired ABBA, calibrated floors), all 6 guard regimes not worse, self-consistency gate (Option A) and serving scenarios passed; g_moe_ggu_nvfp4_fused_sc_f16o_k2304_m256i -4%, gdn_m256i -2%, 0 spills. Ledger: work/inkling2/.loom-distro/experiments.jsonl row t58; package 360c47c757 (programs 04aa2b9a618b). Note from the run: a dense q8_0_m256 kernel was +4% slower under the global XCLAMP; scoping it to MoE only is an open follow-up. | trial t97 (evict-cum-coll-greedy-only) kept 2026-11-26T01:36 UTC vs t68: dec_tps +2.27%, code_tps +4.51%, code_step_ms -1.99%; ledger /home/sawsriva/Projects/loom/work/inkling2/.loom-distro/experiments.jsonl row emwwvsm70q95"
245
+ }
246
+ },
247
  "devices": [
248
  "rdna3",
249
  "rdna4"
model_depth1.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "model": {
4
+ "id": "Inkling-2-Mini",
5
+ "name": "Inkling-2-Mini (Loom port, GGUF)"
6
+ },
7
+ "programs": {
8
+ "source": {
9
+ "inputs": [
10
+ {
11
+ "path": "program/prepare.loom",
12
+ "data": [
13
+ "weights.loom",
14
+ "draft_weights.loom",
15
+ "head_weights.loom",
16
+ "llm_config.json"
17
+ ]
18
+ },
19
+ "program/control.loom",
20
+ "program/storage.loom",
21
+ "program/service.loom",
22
+ "program/vision_prepare.loom",
23
+ "program/vision_control.loom"
24
+ ],
25
+ "libraries": [
26
+ "program/llm.loom",
27
+ "program/vision_stages.loom",
28
+ "program/vision_encoder.loom"
29
+ ]
30
+ }
31
+ },
32
+ "services": {
33
+ "chat": {
34
+ "kind": "text",
35
+ "version": 1,
36
+ "components": {
37
+ "image": {
38
+ "version": 1
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "variants": {
44
+ "gguf": {
45
+ "services": {
46
+ "chat": {
47
+ "programs": [
48
+ "source"
49
+ ],
50
+ "config": {
51
+ "llm.card": true,
52
+ "llm.logits": false
53
+ },
54
+ "parameters": {
55
+ "model": {
56
+ "files": [
57
+ {
58
+ "path": "parameter/Inkling-2-Mini-UD-Q4_K_XL.gguf",
59
+ "format": "gguf"
60
+ }
61
+ ]
62
+ },
63
+ "draft": {
64
+ "files": [
65
+ {
66
+ "path": "parameter/dspark-Inkling-2-Mini-Q8_0.gguf",
67
+ "format": "gguf"
68
+ }
69
+ ]
70
+ },
71
+ "vision": {
72
+ "files": [
73
+ {
74
+ "path": "parameter/mmproj-F16.gguf",
75
+ "format": "gguf"
76
+ }
77
+ ]
78
+ }
79
+ },
80
+ "tokenizers": {
81
+ "text": "tokenizer.json"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "presets": {
88
+ "chat": {
89
+ "service": "chat",
90
+ "variant": "gguf",
91
+ "programs": "source",
92
+ "execution": {
93
+ "rows": 4,
94
+ "context_capacity": 262144,
95
+ "prefill_capacity": 4096,
96
+ "max_tokens": 4096,
97
+ "draft_depth": 1
98
+ }
99
+ }
100
+ }
101
+ }
model_depth2.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "model": {
4
+ "id": "Inkling-2-Mini",
5
+ "name": "Inkling-2-Mini (Loom port, GGUF)"
6
+ },
7
+ "programs": {
8
+ "source": {
9
+ "inputs": [
10
+ {
11
+ "path": "program/prepare.loom",
12
+ "data": [
13
+ "weights.loom",
14
+ "draft_weights.loom",
15
+ "head_weights.loom",
16
+ "llm_config.json"
17
+ ]
18
+ },
19
+ "program/control.loom",
20
+ "program/storage.loom",
21
+ "program/service.loom",
22
+ "program/vision_prepare.loom",
23
+ "program/vision_control.loom"
24
+ ],
25
+ "libraries": [
26
+ "program/llm.loom",
27
+ "program/vision_stages.loom",
28
+ "program/vision_encoder.loom"
29
+ ]
30
+ }
31
+ },
32
+ "services": {
33
+ "chat": {
34
+ "kind": "text",
35
+ "version": 1,
36
+ "components": {
37
+ "image": {
38
+ "version": 1
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "variants": {
44
+ "gguf": {
45
+ "services": {
46
+ "chat": {
47
+ "programs": [
48
+ "source"
49
+ ],
50
+ "config": {
51
+ "llm.card": true,
52
+ "llm.logits": false
53
+ },
54
+ "parameters": {
55
+ "model": {
56
+ "files": [
57
+ {
58
+ "path": "parameter/Inkling-2-Mini-UD-Q4_K_XL.gguf",
59
+ "format": "gguf"
60
+ }
61
+ ]
62
+ },
63
+ "draft": {
64
+ "files": [
65
+ {
66
+ "path": "parameter/dspark-Inkling-2-Mini-Q8_0.gguf",
67
+ "format": "gguf"
68
+ }
69
+ ]
70
+ },
71
+ "vision": {
72
+ "files": [
73
+ {
74
+ "path": "parameter/mmproj-F16.gguf",
75
+ "format": "gguf"
76
+ }
77
+ ]
78
+ }
79
+ },
80
+ "tokenizers": {
81
+ "text": "tokenizer.json"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "presets": {
88
+ "chat": {
89
+ "service": "chat",
90
+ "variant": "gguf",
91
+ "programs": "source",
92
+ "execution": {
93
+ "rows": 4,
94
+ "context_capacity": 262144,
95
+ "prefill_capacity": 4096,
96
+ "max_tokens": 4096,
97
+ "draft_depth": 2
98
+ }
99
+ }
100
+ }
101
+ }
model_depth3.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "model": {
4
+ "id": "Inkling-2-Mini",
5
+ "name": "Inkling-2-Mini (Loom port, GGUF)"
6
+ },
7
+ "programs": {
8
+ "source": {
9
+ "inputs": [
10
+ {
11
+ "path": "program/prepare.loom",
12
+ "data": [
13
+ "weights.loom",
14
+ "draft_weights.loom",
15
+ "head_weights.loom",
16
+ "llm_config.json"
17
+ ]
18
+ },
19
+ "program/control.loom",
20
+ "program/storage.loom",
21
+ "program/service.loom",
22
+ "program/vision_prepare.loom",
23
+ "program/vision_control.loom"
24
+ ],
25
+ "libraries": [
26
+ "program/llm.loom",
27
+ "program/vision_stages.loom",
28
+ "program/vision_encoder.loom"
29
+ ]
30
+ }
31
+ },
32
+ "services": {
33
+ "chat": {
34
+ "kind": "text",
35
+ "version": 1,
36
+ "components": {
37
+ "image": {
38
+ "version": 1
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "variants": {
44
+ "gguf": {
45
+ "services": {
46
+ "chat": {
47
+ "programs": [
48
+ "source"
49
+ ],
50
+ "config": {
51
+ "llm.card": true,
52
+ "llm.logits": false
53
+ },
54
+ "parameters": {
55
+ "model": {
56
+ "files": [
57
+ {
58
+ "path": "parameter/Inkling-2-Mini-UD-Q4_K_XL.gguf",
59
+ "format": "gguf"
60
+ }
61
+ ]
62
+ },
63
+ "draft": {
64
+ "files": [
65
+ {
66
+ "path": "parameter/dspark-Inkling-2-Mini-Q8_0.gguf",
67
+ "format": "gguf"
68
+ }
69
+ ]
70
+ },
71
+ "vision": {
72
+ "files": [
73
+ {
74
+ "path": "parameter/mmproj-F16.gguf",
75
+ "format": "gguf"
76
+ }
77
+ ]
78
+ }
79
+ },
80
+ "tokenizers": {
81
+ "text": "tokenizer.json"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "presets": {
88
+ "chat": {
89
+ "service": "chat",
90
+ "variant": "gguf",
91
+ "programs": "source",
92
+ "execution": {
93
+ "rows": 4,
94
+ "context_capacity": 262144,
95
+ "prefill_capacity": 4096,
96
+ "max_tokens": 4096,
97
+ "draft_depth": 3
98
+ }
99
+ }
100
+ }
101
+ }
program/control.loom CHANGED
@@ -4836,7 +4836,12 @@ func.def public @encode_epoch(%control_state: buffer, %plan: buffer, %inputs: bu
4836
  %dd_ge_2 = scalar.cmpi sge, %req_dd_ad, %c2_ad_i32 : i32
4837
  %false_ad = scalar.constant false : i1
4838
  %true_ad = scalar.constant true : i1
4839
- %wd0 = scf.select %dd_ge_2, %false_ad, %auto_d1 : i1
 
 
 
 
 
4840
  %wd1 = scf.select %dd_is_1, %true_ad, %wd0 : i1
4841
  scf.yield %wd1 : i1
4842
  } else {
 
4836
  %dd_ge_2 = scalar.cmpi sge, %req_dd_ad, %c2_ad_i32 : i32
4837
  %false_ad = scalar.constant false : i1
4838
  %true_ad = scalar.constant true : i1
4839
+ %ad_tbits = view.load %ad_srec[0] : view<5xi32> -> i32
4840
+ %ad_temp = scalar.bitcast %ad_tbits : i32 to f32
4841
+ %ad_zf = scalar.constant 0.0 : f32
4842
+ %ad_stoch = scalar.cmpf ogt, %ad_temp, %ad_zf : f32
4843
+ %auto_ad = scf.select %ad_stoch, %false_ad, %auto_d1 : i1
4844
+ %wd0 = scf.select %dd_ge_2, %false_ad, %auto_ad : i1
4845
  %wd1 = scf.select %dd_is_1, %true_ad, %wd0 : i1
4846
  scf.yield %wd1 : i1
4847
  } else {
program/llm.loom CHANGED
The diff for this file is too large to render. See raw diff