Skip to content

Update train_text_to_image_lora.py #2795

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

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Conversation

haofanwang
Copy link
Contributor

Fixed #2780.

This issue is related to another issue #1246. For training modules, they are required to be in fp32.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Mar 23, 2023

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

@sayakpaul
Copy link
Member

Thanks so much!

@sayakpaul sayakpaul merged commit 4a98d6e into huggingface:main Mar 24, 2023
w4ffl35 pushed a commit to w4ffl35/diffusers that referenced this pull request Apr 14, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
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.

ValueError: Attempting to unscale FP16 gradients. in diffusers/examples/research_projects/lora/train_text_to_image_lora.py
3 participants