Skip to content

Conversation

@faresobeid
Copy link
Contributor

No description provided.

# Update the model parameters
optimizer.step()
if scaler is not None:
scaler.step(optimizer)
Copy link
Member

Choose a reason for hiding this comment

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

The scaler need to be dp aware other we got weights mismatch between worker when the grad scaler skip a step

@faresobeid faresobeid marked this pull request as draft November 10, 2025 01:53
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