Skip to content

docs: fix stale dataloader-state callback references in custom_datase…#40

Merged
foreverlms merged 2 commits into
mainfrom
maoshengl/doc-fix-dataloader-state-callback
Jun 15, 2026
Merged

docs: fix stale dataloader-state callback references in custom_datase…#40
foreverlms merged 2 commits into
mainfrom
maoshengl/doc-fix-dataloader-state-callback

Conversation

@foreverlms

Copy link
Copy Markdown
Collaborator

Update document for custom dataset.

…t.md

The "Checkpoint / resume" section referenced the legacy
DataLoaderStateCallback with distributor_type="cosmos_dataloader", but
that class only activates for distributor_type="no_replace"
(_ACTIVE_DISTRIBUTOR_TYPES), so the documented snippet is a silent no-op
for cosmos_dataloader resume. It also referenced a non-existent
JointDataLoaderStateCallback with a distributor_type kwarg its real
counterpart does not accept.

Point the doc at the actual classes wired by the live recipes
(llava_ov_vlm.py): CosmosDataLoaderStateCallback() and
JointCosmosDataLoaderStateCallback(outer_loader=...), both from
cosmos_framework.callbacks.cosmos_dataloader_state.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@foreverlms foreverlms enabled auto-merge (squash) June 12, 2026 12:14
@foreverlms foreverlms merged commit 35a6fb6 into main Jun 15, 2026
7 checks passed
@foreverlms foreverlms deleted the maoshengl/doc-fix-dataloader-state-callback branch June 15, 2026 02:58
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.

3 participants