-
Notifications
You must be signed in to change notification settings - Fork 6.6k
[tests] remove/speedup some low signal tests #9285
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
Conversation
| if test_mean_pixel_difference: | ||
| assert_mean_pixel_difference(output_with_offload[0], output_without_offload[0]) | ||
|
|
||
| def test_progress_bar(self): |
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.
Would actually test this once. We can add it here
https://github.com/huggingface/diffusers/blob/main/tests/pipelines/test_pipeline_utils.py
|
cc @yiyixuxu since this modifies the IP adapter tests that we worked on together when they were first introduced. TLDR; combining the multi and single ip-adapter tests, and enable/disable freeu tests, saves us roughly 40-50 forward passes |
* remove 2 shapes from SDFunctionTesterMixin::test_vae_tiling * combine freeu enable/disable test to reduce many inference runs * remove low signal unet test for signature * remove low signal embeddings test * remove low signal progress bar test from PipelineTesterMixin * combine ip-adapter single and multi tests to save many inferences * fix broken tests * Update tests/pipelines/test_pipelines_common.py * Update tests/pipelines/test_pipelines_common.py * add progress bar tests
What does this PR do?
As discussed internally with @DN6.
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.