Skip to content

Auto-log parallelism info to wandb.config using HF Accelerate #40055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WoosungMyung
Copy link

What

This PR adds parallelism info non intrusively to WandbCallback so that, when Hugging Face Accelerate is in use, the callback automatically logs the parallelism sizes to wandb.config at train start.

Why

Users frequently want their distributed setup (e.g., tp_size, dp_replicate_size) with Weights & Biases for reproducibility and experiment analysis. Today, this is typically done manually on the user side. This change standardizes and automates that step.

This PR is from Issue #39882
@Rocketknight1 @MekkCyber

Thanks for you precious time for reviewing this PR.

Signed-off-by: WoosungMyung <dntjd517@naver.com>
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.

1 participant