Skip to content
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

Include a note in the gradient synchronization docs on "what can go wrong" and show the timings #1153

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

muellerzr
Copy link
Collaborator

Includes a new area in the docs based on my timing experiments performed on Friday, and published in an article, mentioning how if users are not careful about gradient synchronization they can see a 2x+ slowdown when performing gradient accumulation.

@muellerzr muellerzr added the documentation Improvements or additions to documentation label Mar 6, 2023
@muellerzr muellerzr requested a review from sgugger March 6, 2023 14:53
Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

docs/source/concept_guides/gradient_synchronization.mdx Outdated Show resolved Hide resolved
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Mar 6, 2023

The documentation is not available anymore as the PR was closed or merged.

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
@muellerzr muellerzr merged commit 0aae1e9 into main Mar 6, 2023
@muellerzr muellerzr deleted the timing-showcase branch March 6, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants