GLM-5.3-Flash EXL3 on 2x DGX Spark with TensorFold
Python
merge main (CHANGELOG/CREDITS: keep both entries)
plotarmordevd80585a2bfaf
diff --cc CHANGELOG.mdindex 9c2f46e,34cd131..eb2c0d2--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -5,15 -5,13 +5,22 @@@ Every change to this recipe, newest fir## Unreleased+- **A prompt chunk's indexer scoring in CUDA** (patch `0105-glm-prompt-scores-cuda`, by [BadAd84](https://github.com/BadAd84)): `_scores`+ (patch 0086's loop) converts and loads each 64-pool FP8 key tile again for every row. `prompt_scores.cu`+ computes every score with the Triton kernel's own instruction sequence, read from its PTX (the mma K+ order of Triton's kWidth-4 dot layout, the epilogue's roundings, the head sum's order), while a CTA of 8+ rows converts each tile once: the same bits under Triton 3.7, whose PTX it reproduces. A 512-row block's+ scores on one GB10: 0.61 / 1.85 / 4.85 / 10.07 -> 0.40 / 1.30 / 3.39 / 6.77 ms at 35k / 113k / 300k / 590k.+ The extension is built when the engine starts, not at the first long prompt. Under another Triton release+ (`sparse.TRITON_PTX`), or when the build fails, the Triton kernel serves and the start goes on (logged once).+ `TF_GLM_SCORES_CUDA=0`: Triton. Applies after `0101`. GPU check: `tools/prompt_scores_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 raildiff --cc CREDITS.mdindex 3185f91,187fb08..26dc42d--- a/CREDITS.md+++ b/CREDITS.md@@@ -199,3 -199,3 +199,4 @@@ checkpoint's ShapleyMcg attribution an128 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.++- `0105-glm-prompt-scores-cuda` (a prompt chunk's indexer scoring in CUDA, Triton's instruction order): by