Skip to content

GLM-5.3-Flash EXL3 on 2x DGX Spark with TensorFold

Python

Merge PR #52 (kerpopule): the Hermes Agent guide and benchmark tool

MiaAI-Labe3c1476af67d
diff --cc CHANGELOG.md
index b3aaa6c,a6ef926..f6be3da
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -16,12 -16,9 +16,15 @@@ Every change to this recipe, newest fir
counts it. Paraphrase loops still need `--thinking-budget`. CPU test: `tools/test_loop_guard.py`.
- **The start's smoke test fails on one repeated character** (#76, #81, #86): a collapsed model that answers "!!!!" no
longer passes as OK.
+- **Expert decode launch order** (patch `0090-glm-expert-launch-order`, by Lukasz Raczylo, @lukaszraczylo, PR #95):
+ `TF_GLM_EXL3_DEC_ORDER=1` (or `2`) maps the decode expert kernel's block grid so that the eight 128-column blocks of
+ one k slice run together and read contiguous memory; the same bits for every value. Off by default (`0`, the old
- order). His run: one request +2.2%, four at once noisy. The patch's variable is its own: his `TF_GLM_EXL3_ORDER` is
++ order). The author's run: one request +2.2%, four at once noisy. The patch's variable is its own: the PR's `TF_GLM_EXL3_ORDER` is
+ patch `0020`'s prompt order (default on, any value but `0`), so `true` would have raised and `1` would have turned
+ the new order on for existing users.
+ - **Hermes Agent** (`docs/hermes-agent.md`, `tools/hermes_benchmark.py`, `tests/test_hermes_benchmark.py`, by Steve
+ Darlow, @kerpopule, PR #52): how to use the server as Hermes Agent's custom endpoint, and a stdlib harness that times
+ synthetic requests against an idle server (any `--model` id; `/health` fields read as the server reports them).
- **Long-context decode** (patch `0085-glm-select-split-loop`): the DSA indexer's split top-k selection
(`select_split`, in `0029`'s segmented decode windows) ran its last pass as one `CP x 256` tile per chunk program,
masked to the chunks before it. `CP` comes from the selection scratch, which `verify.py` sizes for the whole KV
diff --cc CREDITS.md
index 5f1fdea,81ca76f..bc2ad48
--- a/CREDITS.md
+++ b/CREDITS.md
@@@ -132,9 -132,9 +132,12 @@@ checkpoint's ShapleyMcg attribution an
[kindling spark-os](https://github.com/kindlingai/kindling-spark-os) by Matt Mastracci (Kindling AI). Nothing of
dispram ships here: the ranks import the host's client (`python/dispram.py`, GPL-3.0 with a bundling exception)
mounted read-only at run time and talk to `dispramd` (AGPL-3.0) over its socket.
+- `0090-glm-expert-launch-order` (`TF_GLM_EXL3_DEC_ORDER`: the launch order of the expert decode kernel's blocks): by
+ Lukasz Raczylo ([lukaszraczylo](https://github.com/lukaszraczylo)), in
+ [PR #95](https://github.com/MiaAI-Lab/GLM-5.3-Flash-EXL3-2x-DGX-Sparks-TensorFold/pull/95).
+ - `docs/hermes-agent.md`, `tools/hermes_benchmark.py` and `tests/test_hermes_benchmark.py` (the Hermes Agent custom-endpoint
+ guide and the synthetic speed harness with its tests): by Steve Darlow ([kerpopule](https://github.com/kerpopule)),
+ in [PR #52](https://github.com/MiaAI-Lab/GLM-5.3-Flash-EXL3-2x-DGX-Sparks-TensorFold/pull/52).
- Every patch, except the parts credited above: by MiaAI-Lab, developed with
[Claude Code](https://claude.com/claude-code), under the Apache License 2.0; the TensorFold code the patches modify or
quote as context stays under TensorFold's licenses (Apache 2.0, and MIT for code written before v0.6.0; see