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

Added accelerator based gradient accumulation for basic_example #8966

Conversation

RandomGamingDev
Copy link
Contributor

What does this PR do?

Does the same thing as the merged #8961 PR for solving #8960, but with the accelerator package's solution to gradient accumulation

Fixes #8960

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@RandomGamingDev
Copy link
Contributor Author

@DN6 @sayakpaul

@yiyixuxu yiyixuxu requested a review from sayakpaul July 25, 2024 17:41
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sayakpaul sayakpaul merged commit 2afb2e0 into huggingface:main Jul 26, 2024
1 check passed
@sayakpaul
Copy link
Member

Thank you for fixing!

sayakpaul added a commit that referenced this pull request Dec 23, 2024
)

added accelerator based gradient accumulation for basic_example

Co-authored-by: Sayak Paul <spsayakpaul@gmail.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.

The Diffusers Basic Training example's Gradient Accumulation is Nonfunctional
3 participants