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

Reproducible images by supplying latents to pipeline #247

Merged
merged 8 commits into from
Aug 25, 2022
Merged

Conversation

pcuenca
Copy link
Member

@pcuenca pcuenca commented Aug 25, 2022

I created a simple notebook to demonstrate how it works.

TODO:

  • Adapt the notebook to Colab (pip install, number of samples).

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 25, 2022

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

Copy link
Contributor

@patil-suraj patil-suraj left a comment

Choose a reason for hiding this comment

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

LGTM! Maybe also add a test for this.

@patil-suraj
Copy link
Contributor

Let's not put notebook in the repo , as this would make it bukly. Example notebooks we could go in huggingface/notebooks repo, or on personal github and we could link to it from the readme.

@pcuenca
Copy link
Member Author

pcuenca commented Aug 25, 2022

Let's not put notebook in the repo

Moved to personal repo :)

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@anton-l anton-l left a comment

Choose a reason for hiding this comment

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

Great addition!
+1 for a quick test as suggested by @patil-suraj, but maybe later, after we upload a dummy SD model (these take a while to run already).

@patil-suraj patil-suraj merged commit bfe37f3 into main Aug 25, 2022
@pcuenca pcuenca deleted the sd-latents branch August 25, 2022 14:18
natolambert pushed a commit that referenced this pull request Sep 7, 2022
* Accept latents as input for StableDiffusionPipeline.

* Notebook to demonstrate reusable seeds (latents).

* More accurate type annotation

Co-authored-by: Suraj Patil <[email protected]>

* Review comments: move to device, raise instead of assert.

* Actually commit the test notebook.

I had mistakenly pushed an empty file instead.

* Adapt notebook to Colab.

* Update examples readme.

* Move notebook to personal repo.

Co-authored-by: Suraj Patil <[email protected]>
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Accept latents as input for StableDiffusionPipeline.

* Notebook to demonstrate reusable seeds (latents).

* More accurate type annotation

Co-authored-by: Suraj Patil <[email protected]>

* Review comments: move to device, raise instead of assert.

* Actually commit the test notebook.

I had mistakenly pushed an empty file instead.

* Adapt notebook to Colab.

* Update examples readme.

* Move notebook to personal repo.

Co-authored-by: Suraj Patil <[email protected]>
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.

5 participants