Skip to content

SD text-to-image torch compile compatible #6519

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 3 commits into from
Jan 12, 2024

Conversation

gzguevara
Copy link
Contributor

@gzguevara gzguevara commented Jan 10, 2024

What does this PR do?

This PR makes train_text_to_image.py compatible with torch.compile() as requested in #6503

Who can review?

@sayakpaul and @patrickvonplaten

@gzguevara gzguevara changed the title Sd text to image torch compile sd text to image torch compile Jan 10, 2024
@gzguevara gzguevara changed the title sd text to image torch compile SD text-to-image torch compile compatible Jan 10, 2024
@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
Copy link
Member

Thank you for submitting the PR. Let's maybe wait for #6511 to get merged as that is crucial as well.

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you!

@sayakpaul sayakpaul merged commit 33d2b5b into huggingface:main Jan 12, 2024
@gzguevara gzguevara deleted the sd-text-to-image-torch-compile branch January 15, 2024 13:25
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.

3 participants