upload numpy representations of expected images to allow for higher precision testing
#2
by
lewington
- opened
see https://github.com/huggingface/diffusers/issues/914
this images are being used in https://github.com/Lewington-pitsos/diffusers/tree/precision-improvement-for-tests
If you pull that branch and run
pytest tests\pipelines\stable_diffusion\test_stable_diffusion_inpaint.py tests\pipelines\stable_diffusion\test_stable_diffusion_inpaint_legacy.py -k test_stable_diffusion_inpaint
for example, all 11 tests will pass (5 are using these instead of the PNG images)
Once this is merged I intend to create a PR switching the PNG images from the usual codebase over to these
Thanks a mille for the PR :-)
patrickvonplaten
changed pull request status to
merged