Skip to content

Conversation

aman-17
Copy link
Member

@aman-17 aman-17 commented Jul 16, 2025

Updated 1B configs wrt to peteish1-anneal.sh to avoid confusion for users.

eval_interval: 1000
eval_subset_num_batches: -1
device_eval_batch_size: ${device_train_microbatch_size}
device_eval_batch_size: 8
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just matching all the overwritten comments from this bash script.

README.md Outdated
torchrun --nproc_per_node=8 scripts/train.py {path_to_train_config}
torchrun --nproc_per_node=8 scripts/train.py {path_to_train_config} --force_save_unsharded=True
```
> Please use `--force_save_unsharded=True` argument to save checkpoints in unsharded format.
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 setting save_num_checkpoints_to_keep = 0 achieves a similar end result and also doesn't save sharded checkpoints through training.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated all the configs.

@aman-17 aman-17 merged commit 0482070 into main Jul 16, 2025
9 of 10 checks passed
@aman-17 aman-17 deleted the amanr/1b_configs branch July 16, 2025 22:10
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