Skip to content

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

Python

merge main (CHANGELOG/CREDITS: keep both entries)

plotarmordev31dde9b240a0
diff --cc CHANGELOG.md
index 62cf7f0,34cd131..f44eaaa
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -5,12 -5,13 +5,19 @@@ Every change to this recipe, newest fir
## Unreleased
+- **Three-Spark decode attention in one wave** (patch `0104-glm-seg-attention-tp3-tiles`, by [BadAd84](https://github.com/BadAd84)):
+ `seg_head_block` gave 32-head tiles from 8 rows, sized for two Sparks' 32 heads a rank. At three Sparks
+ (22 / 21 heads) the 16-head tiles are two programs a row and chunk, so from 5 rows they pass the GB10's
+ 48 SMs and run in two waves. A rank of 17 to 24 heads now takes 32-head tiles from 5 rows; 16 and 32 heads
+ keep 8. The chunk pass at 5 / 6 / 7 rows on one GB10: 92.4 / 103.3 / 108.1 -> 65.3 / 65.9 / 66.4 us a
+ call; the same bits. GPU check: `tools/seg_head_block_check.py`.
+ - **kindling spark-os: the server starts** (patch `0098-glm-mmap-uploads`, by [BadAd84](https://github.com/BadAd84)):
+ on kindling's 64 KiB-page kernel a pageable copy to the GPU straight from a safetensors mmap hangs in the driver
+ (`cuMemcpyHtoDAsync`) once the process holds GPU memory, and the DFlash2 drafter and the GLM vision tower load
+ after the main weights. v1.10 on three Sparks with kindling spark-os 0.9.5 stopped after the drafter timings (no
+ vision line for 15 minutes, every rank spinning); with the patch it serves in 145 s. Both loaders now copy each
+ tensor out of the mmap first (`.clone()`): the same bytes, one host copy a tensor at start; the main weights use
+ direct reads and never had the problem. CPU check: `tools/mmap_upload_check.py` (fails on the unpatched loaders).
## v1.10 (2026-10-08): the effort line at the tail (opt-in), a kept-state share, and a checked second rail
diff --cc CREDITS.md
index 7959087,187fb08..0831d77
--- a/CREDITS.md
+++ b/CREDITS.md
@@@ -198,3 -199,3 +199,4 @@@ checkpoint's ShapleyMcg attribution an
128 GB unified memory), two of them linked by their ConnectX-7 ports: every number in the README was measured there.
If you believe something here is missing or credited wrongly, please open an issue.
++- `0104-glm-seg-attention-tp3-tiles` (32-head tiles from 5 rows at 17-24 heads): by [BadAd84](https://github.com/BadAd84).