Skip to content

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

Open
foreverlms wants to merge 1 commit into
mainfrom
maoshengl/doc-fix-dataloader-state-callback
Open

docs: fix stale dataloader-state callback references in custom_datase…#40
foreverlms wants to merge 1 commit 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) <noreply@anthropic.com>
@foreverlms foreverlms enabled auto-merge (squash) June 12, 2026 12:14
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