Anton Lozhkov
086c7f9ea8
Nightly integration tests ( #1664 )
...
* [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 <patrick.v.platen@gmail.com >
* Update tests/pipelines/stable_diffusion/test_stable_diffusion.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* fix refs
* Update src/diffusers/utils/testing_utils.py
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* fix refs
* remove debug
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2022-12-16 18:51:11 +01:00
Patrick von Platen
b345c74d4d
Make sure all pipelines can run with batched input ( #1669 )
...
* [SD] Make sure batched input works correctly
* uP
* uP
* up
* up
* uP
* up
* fix mask stuff
* up
* uP
* more up
* up
* uP
* up
* finish
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2022-12-13 12:50:15 +01:00
Anton Lozhkov
02d83c9ff1
Standardize fast pipeline tests with PipelineTestMixin ( #1526 )
...
* [WIP] Standardize fast pipeline tests with PipelineTestMixin
* refactor the sd tests a bit
* add more common tests
* add xformers
* add progressbar test
* cleanup
* upd fp16
* CycleDiffusionPipelineFastTests
* DanceDiffusionPipelineFastTests
* AltDiffusionPipelineFastTests
* StableDiffusion2PipelineFastTests
* StableDiffusion2InpaintPipelineFastTests
* StableDiffusionImageVariationPipelineFastTests
* StableDiffusionImg2ImgPipelineFastTests
* StableDiffusionInpaintPipelineFastTests
* remove unused mixins
* quality
* add missing inits
* try to fix mps tests
* fix mps tests
* add mps warmups
* skip for some pipelines
* style
* Update tests/test_pipelines_common.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2022-12-06 18:35:30 +01:00
Patrick von Platen
a808a85390
fix slow tests ( #1467 )
2022-11-29 11:48:57 +01:00
Patrick von Platen
4c54519e1a
Add 2nd order heun scheduler ( #1336 )
...
* Add heun
* Finish first version of heun
* remove bogus
* finish
* finish
* improve
* up
* up
* fix more
* change progress bar
* Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
* finish
* up
* up
* up
2022-11-28 22:56:28 +01:00
Patrick von Platen
05a36d5c1a
Upscaling fixed ( #1402 )
...
* Upscaling fixed
* up
* more fixes
* fix
* more fixes
* finish again
* up
2022-11-24 20:33:52 +01:00
Patrick von Platen
e0e86b7470
Make height and width optional ( #1401 )
...
* fix
* add test
* fix test
* uP
* up
* fix some tests
2022-11-24 18:23:59 +01:00
Suraj Patil
0eb507f2af
StableDiffusionImageVariationPipeline ( #1365 )
...
* add StableDiffusionImageVariationPipeline
* add ini init
* use CLIPVisionModelWithProjection
* fix _encode_image
* add copied from
* fix copies
* add doc
* handle tensor in _encode_image
* add tests
* correct model_id
* remove copied from in enable_sequential_cpu_offload
* fix tests
* make slow tests pass
* update slow tests
* use temp model for now
* fix test_stable_diffusion_img_variation_intermediate_state
* fix test_stable_diffusion_img_variation_intermediate_state
* check for torch.Tensor
* quality
* fix name
* fix slow tests
* install transformers from source
* fix install
* fix install
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* input_image -> image
* remove deprication warnings
* fix test_stable_diffusion_img_variation_multiple_images
* make flake happy
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2022-11-23 14:36:39 +01:00