diffusers/tests/pipelines/stable_diffusion
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
..
__init__.py Reorganize pipeline tests (#963) 2022-10-24 16:34:01 +02:00
test_cycle_diffusion.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
test_onnx_stable_diffusion.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
test_onnx_stable_diffusion_img2img.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
test_onnx_stable_diffusion_inpaint.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
test_onnx_stable_diffusion_inpaint_legacy.py Legacy Inpainting Pipeline for Onnx Models (#1237) 2022-11-18 16:33:12 +01:00
test_stable_diffusion.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
test_stable_diffusion_image_variation.py StableDiffusionImageVariationPipeline (#1365) 2022-11-23 14:36:39 +01:00
test_stable_diffusion_img2img.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00
test_stable_diffusion_inpaint.py make style 2022-11-20 19:37:28 +01:00
test_stable_diffusion_inpaint_legacy.py Add Scheduler.from_pretrained and better scheduler changing (#1286) 2022-11-15 18:15:13 +01:00