Skip to content

ScaleRLT: checkpoint shared prefix and complete suffix waves - #28

Closed
0z5a wants to merge 2 commits into
test/prefix-qualification-profilesfrom
perf/prefix-rematerialization
Closed

0z5a wants to merge 2 commits into
test/prefix-qualification-profilesfrom
perf/prefix-rematerialization

Conversation

@0z5a

@0z5a 0z5a commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

ScaleRLT: I/O-Aware End-to-End Reinforcement Learning for Recurrent Looped Transformers.

Shared-prefix training retained the full prompt producer graph and each suffix wave through backward. Checkpoint the prompt producer and each complete suffix wave while preserving all loop/layer KV boundaries, accumulated prefix adjoints and all-loop readouts. Explicit token and label inputs reject response mutation before replay.

Stacked on #27. This first joint schedule supports a single whole-depth segment; layer/query subdivision remains outside this change.

Validation: 158 CPU passes, 4 CUDA skips and 12 unchanged strict BF16 xfails. Across 24 paired nonzero AdamW updates, maximum gradient error was zero and every trainable Adam moment matched the existing tolerances. The reproduced token-mutation failures and raw results are retained. Parent d6229d6 separately passed both real H20 MCore DDP/Adam cases; the new joint replay has not run on CUDA.

Result tables report saved-tensor observations and explicitly leave GPU speed, peak memory and online reward convergence unmeasured.

0z5a added 2 commits October 6, 2026 03:13
Signed-off-by: 0z5a <dezhen.lu@student.uni-tuebingen.de>
Signed-off-by: 0z5a <dezhen.lu@student.uni-tuebingen.de>
@0z5a 0z5a changed the title Checkpoint shared prefix and complete suffix waves ScaleRLT: checkpoint shared prefix and complete suffix waves Oct 5, 2026
@0z5a 0z5a closed this Nov 7, 2026
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.

1 participant