Skip to content

[train_dreambooth_lora.py] Fix the LR Schedulers when num_train_epochs is passed in a distributed training env#10973

Merged
sayakpaul merged 4 commits intohuggingface:mainfrom
flyxiv:flyxiv-fix-lr-schedule-train-dreambooth-lora
Mar 6, 2025
Merged

[train_dreambooth_lora.py] Fix the LR Schedulers when num_train_epochs is passed in a distributed training env#10973
sayakpaul merged 4 commits intohuggingface:mainfrom
flyxiv:flyxiv-fix-lr-schedule-train-dreambooth-lora

Conversation

@flyxiv
Copy link
Copy Markdown
Contributor

@flyxiv flyxiv commented Mar 5, 2025

What does this PR do?

Part of #8384

  • Fixed LR schedulers when num_train_epoch is passed on distributed training environment for train_dreambooth_lora.py

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.

@sayakpaul

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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
Copy link
Copy Markdown
Member

Failing tests are unrelated to this PR.

@sayakpaul sayakpaul merged commit 37b8edf into huggingface:main Mar 6, 2025
8 of 9 checks passed
@sayakpaul
Copy link
Copy Markdown
Member

Thanks for your contributions!

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