Suraj Patil
5383188c7e
StableDiffusionDepth2ImgPipeline ( #1531 )
...
* begin depth pipeline
* add depth estimation model
* fix prepare_depth_mask
* add a comment about autocast
* copied from, quality, cleanup
* begin tests
* handle tensors
* norm image tensor
* fix batch size
* fix tests
* fix enable_sequential_cpu_offload
* fix save load
* fix test_save_load_float16
* fix test_save_load_optional_components
* fix test_float16_inference
* fix test_cpu_offload_forward_pass
* fix test_dict_tuple_outputs_equivalent
* up
* fix fast tests
* fix test_stable_diffusion_img2img_multiple_init_images
* fix few more fast tests
* don't use device map for DPT
* fix test_stable_diffusion_pipeline_with_sequential_cpu_offloading
* accept external depth maps
* prepare_depth_mask -> prepare_depth_map
* fix file name
* fix file name
* quality
* check transformers version
* fix test names
* use skipif
* fix import
* add docs
* skip tests on mps
* correct version
* uP
* Update docs/source/api/pipelines/stable_diffusion_2.mdx
* fix fix-copies
* fix fix-copies
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: anton- <anton@huggingface.co >
2022-12-08 18:25:12 +01:00
Anton Lozhkov
dbe0719246
Fix PyCharm/VSCode static type checking for dummy objects ( #1596 )
...
* Fix PyCharm/VSCode static type checking for dummy objects
* Re-add dummies
* Fix AudioDiffusion imports
* fix import
* fix import
* Update utils/check_dummies.py
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Update src/diffusers/utils/import_utils.py
* Update src/diffusers/__init__.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update src/diffusers/pipelines/stable_diffusion/__init__.py
* fix double import
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2022-12-08 14:02:11 +01:00
Anton Lozhkov
32bf4fdc43
Introduce the copy mechanism ( #924 )
...
* Introduce the copy mechanism
* init tests
* fix dummy tests
* with
* update copies tests
2022-10-20 20:26:03 +02:00
Patrick von Platen
db47b1e4d9
[Dummy imports] Better error message ( #795 )
...
* [Dummy imports] Better error message
* Test: load pipeline with LMS scheduler.
Fails with a cryptic message if scipy is not installed.
* Correct
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2022-10-12 14:41:16 +02:00
Patrick von Platen
f3937bc8f3
[Refactor] Remove set_seed ( #289 )
...
* [Refactor] Remove set_seed and class attributes
* apply anton's suggestiosn
* fix
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* up
* update
* make style
* Apply suggestions from code review
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
* make fix-copies
* make style
* make style and new copies
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
2022-08-31 19:29:38 +02:00
Patrick von Platen
0b1a843d32
Check dummy file ( #297 )
...
fix line type
2022-08-31 18:54:36 +02:00
Patrick von Platen
d0032c6095
refactor naming
2022-06-22 12:38:36 +00:00
Patrick von Platen
b4e6a7403d
save intermediate
2022-06-17 16:58:45 +02:00
Patrick von Platen
95f4256fc9
upload some cleaning tools
2022-05-31 10:17:19 +02:00