Uh oh!
There was an error while loading. Please reload this page.
feat: track checkpoint progress in micro-batches - #195
Merged
Conversation
JYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
from
August 3, 2026 08:27
49d8d4b to
57ab888CompareJYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
from
August 4, 2026 07:43
57ab888 to
7689011CompareChamberlain0w0
requested changes
Aug 5, 2026
Uh oh!
There was an error while loading. Please reload this page.
JYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
2 times, most recently
from
August 6, 2026 08:44
59a9674 to
9d99035CompareJYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
from
August 6, 2026 09:47
9d99035 to
862a378Comparekilinchangeforce-pushed
the
feat/checkpoint-consumed-micro-batches
branch
from
August 7, 2026 02:18
862a378 to
f6f4715CompareJYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
2 times, most recently
from
August 12, 2026 14:55
9d30401 to
6799ce4CompareChamberlain0w0
approved these changes
Aug 14, 2026
Chamberlain0w0
left a comment
Contributor
There was a problem hiding this comment.
没啥问题了,还剩 stacked PR 的冲突解决
JYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
2 times, most recently
from
August 14, 2026 09:35
9d406c9 to
86aefcdCompareJYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
from
August 20, 2026 08:56
86aefcd to
48ca7e4CompareJYMiracle305
commented
Aug 25, 2026
ContributorAuthor
kilinchange
requested changes
Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
JYMiracle305force-pushed
the
feat/checkpoint-consumed-micro-batches
branch
from
August 26, 2026 08:09
48ca7e4 to
3a1bd6dComparekilinchange
approved these changes
Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


主要修改
该 PR 统一了 checkpoint 中训练进度的计量语义,将原先含义模糊的 consumed_batches 重命名为 consumed_train_samples。
在不同流水线并行配置下,DataLoader 单次迭代包含的 micro-batch 数量不同。该 PR 将 checkpoint 中保存的进度统一为 micro-batch 数量,并在恢复训练时根据当前 PP 配置换算为对应的 DataLoader 位置,同时正确处理 DDP rank 和步长。