-
Couldn't load subscription status.
- Fork 6.5k
move test num_images_per_prompt to pipeline mixin #2488
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
move test num_images_per_prompt to pipeline mixin #2488
Conversation
|
The documentation is not available anymore as the PR was closed or merged. |
5ea3d11 to
fa35a2c
Compare
fa35a2c to
1ae7ac3
Compare
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean 🔥
|
If we merge #2502 , I can change these tests to use |
Yeah worth waiting for that one to get merged meanwhile then. |
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nice refactor! Thanks a lot!
| expected_slice = np.array( | ||
| [ | ||
| 0.9980, | ||
| 0.9997, | ||
| 0.0023, | ||
| 0.0029, | ||
| 0.9997, | ||
| 0.9985, | ||
| 0.9997, | ||
| 0.0010, | ||
| 0.9995, | ||
| ] | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We lost this test, but I agree it's not a num_images_per_prompt test :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
|
@williamberman happy to get this one in soon :-) |
Yeah going to make some small changes because we merged the other PR with |
* attend and excite batch test causing timeouts * move test num_images_per_prompt to pipeline mixin * style * prompt_key -> self.batch_params
* attend and excite batch test causing timeouts * move test num_images_per_prompt to pipeline mixin * style * prompt_key -> self.batch_params
* attend and excite batch test causing timeouts * move test num_images_per_prompt to pipeline mixin * style * prompt_key -> self.batch_params
* attend and excite batch test causing timeouts * move test num_images_per_prompt to pipeline mixin * style * prompt_key -> self.batch_params
No description provided.