Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bionemo-recipes/recipes/llama3_native_te/train_fsdp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def main(args: DictConfig) -> float | None:
scheduler=scheduler,
ckpt_path=ckpt_path,
dist_config=dist_config,
dataloader=train_dataloader if args.dataset.use_stateful_dataloader else None,
dataloader=train_dataloader,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think esm2's train_fsdp2 also has this code - not sure if it needs to be fixed there too.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great catch if true

process_group=device_mesh.get_group("dp"),
)
logger.info(f"Checkpoint loaded, resuming from step {start_step}, epoch {epoch}")
Expand Down