-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Nightly integration tests #1664
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
|
The documentation is not available anymore as the PR was closed or merged. |
| @slow | ||
| @require_torch_gpu | ||
| class StableDiffusionImg2ImgPipelineIntegrationTests(unittest.TestCase): | ||
| class StableDiffusionImg2ImgPipelineSlowTests(unittest.TestCase): |
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.
Img2Img is the most flaky, max_diff > 1e-4 even with 3 steps. If I won't find the cause today, will raise the tolerances
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.
Sounds good 1e-3 is totally fine. FYI in transformers we only have 5e-3 for some one-forward pass tests
patrickvonplaten
left a comment
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 cool! Looks all good to me :-)
Also definitely enough to start with stable diffusion for now and then maybe open some issue for things that should changed after :-)
Co-authored-by: Patrick von Platen <[email protected]>
Co-authored-by: Patrick von Platen <[email protected]>
pcuenca
left a comment
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.
Looking great! Just fixed a typo in the comment for RUN_NIGHTLY
Co-authored-by: Pedro Cuenca <[email protected]>
* [WIP] Nightly integration tests * initial SD tests * update SD slow tests * style * repaint * ImageVariations * style * finish imgvar * img2img tests * debug * inpaint 1.5 * inpaint legacy * torch isn't happy about deterministic ops * allclose -> max diff for shorter logs * add SD2 * debug * Update tests/pipelines/stable_diffusion_2/test_stable_diffusion.py Co-authored-by: Patrick von Platen <[email protected]> * Update tests/pipelines/stable_diffusion/test_stable_diffusion.py Co-authored-by: Patrick von Platen <[email protected]> * fix refs * Update src/diffusers/utils/testing_utils.py Co-authored-by: Pedro Cuenca <[email protected]> * fix refs * remove debug Co-authored-by: Patrick von Platen <[email protected]> Co-authored-by: Pedro Cuenca <[email protected]>
* [WIP] Nightly integration tests * initial SD tests * update SD slow tests * style * repaint * ImageVariations * style * finish imgvar * img2img tests * debug * inpaint 1.5 * inpaint legacy * torch isn't happy about deterministic ops * allclose -> max diff for shorter logs * add SD2 * debug * Update tests/pipelines/stable_diffusion_2/test_stable_diffusion.py Co-authored-by: Patrick von Platen <[email protected]> * Update tests/pipelines/stable_diffusion/test_stable_diffusion.py Co-authored-by: Patrick von Platen <[email protected]> * fix refs * Update src/diffusers/utils/testing_utils.py Co-authored-by: Pedro Cuenca <[email protected]> * fix refs * remove debug Co-authored-by: Patrick von Platen <[email protected]> Co-authored-by: Pedro Cuenca <[email protected]>
In an effort to speed up our
slow/pushtests, this PR:@nightlydecorator for tests that can be enabled withRUN_NIGHTLY=1num_inference_steps=3for all@slowtests@slowtests to@nightlynum_inference_steps~50for all@nightlytestsNightly tests will be run daily at midnight by our CI.