Skip to content

docs: fix the GLM plain-decode launch recipe - #316

Merged
AzeezIsh merged 1 commit into
Atlas-Inf:mainfrom
Mango-kid:fix/glm53-plain-decode-recipe
Nov 2, 2026
Merged

AzeezIsh merged 1 commit into
Atlas-Inf:mainfrom
Mango-kid:fix/glm53-plain-decode-recipe

Conversation

@Mango-kid

Copy link
Copy Markdown
Contributor

Summary

The plain-decode command in #199's recipe disables DFlash but still requests four active sequences. That selects the independent C4 policy and fails preflight, as reported in #199 (comment).

Use one active/admitted sequence for plain decode at 32K with FP8 KV. Reserve the native sparse prefill path's 4100-row workspace explicitly; simply reducing the slot count would otherwise leave only 4097 rows. Keep four slots in the optional DFlash2 profile. Explain why enabling ATLAS_GLM_C4_DECODE alone is insufficient: that lane also requires BF16 KV, bounded context and additional policy settings.

Validation

  • cargo fmt --all -- --check passed.
  • bash scripts/check-license-headers.sh passed: 0 invalid files.
  • Bash syntax and relative documentation links passed.
  • Expanded the actual README commands for both ranks, plain/DFlash2 and prefill switches off/on (eight combinations). Checked resolved environment-file precedence, slot counts, workspace size, draft selection and duplicate CLI options. The DFlash2 arguments and resolved environment are unchanged except for explicitly setting its existing 4100-row workspace.
  • Checked the configuration against current main's GLM preflight, C4 and native sparse workspace guards.
  • No fresh GPU launch or performance measurement: both available Sparks are serving other workloads. No engine, kernel or shared environment-file changes, and no claim of new plain/DFlash output parity. Workspace Clippy/test/rustdoc were not rerun locally for this README-only change.

Authorship

AI-assisted documentation change submitted by Reiner Schmidt (@Mango-kid).

CLA

@Mango-kid
Mango-kid requested a review from AzeezIsh as a code owner November 2, 2026 02:12
@AzeezIsh
AzeezIsh merged commit a6e658e into Atlas-Inf:main Nov 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants