- 05 Sep, 2023 6 commits
-
-
Steven Liu authored
* add size warning * feedback
-
YiYi Xu authored
* remove latent input * fix test --------- Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
YiYi Xu authored
fix Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
Patrick von Platen authored
* [Test] Reduce CPU memory * [Test] Reduce CPU memory
-
Bagheera authored
* Add --vae_precision option to the SDXL pix2pix script so that we have the option of avoiding float32 overhead * style --------- Co-authored-by:bghira <bghira@users.github.com>
-
Sayak Paul authored
* better support offloading when side loading is enabled. * load_textual_inversion * better messaging for textual inversion. * fixes * address PR feedback. * sdxl support. * improve messaging * recursive removal when cpu sequential offloading is enabled. * add: lora tests * recruse. * add: offload tests for textual inversion.
-
- 04 Sep, 2023 6 commits
-
-
dg845 authored
* Add dropout param to get_down_block/get_up_block and UNet2DModel/UNet2DConditionModel. * Add dropout param to Versatile Diffusion modeling, which has a copy of UNet2DConditionModel and its own get_down_block/get_up_block functions.
-
Sayak Paul authored
* throw warning when more than one lora is attempted to be fused. * introduce support of lora scale during fusion. * change test name * changes * change to _lora_scale * lora_scale to call whenever applicable. * debugging * lora_scale additional. * cross_attention_kwargs * lora_scale -> scale. * lora_scale fix * lora_scale in patched projection. * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * styling. * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * remove unneeded prints. * remove unneeded prints. * assign cross_attention_kwargs. * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * clean up. * refactor scale retrieval logic a bit. * fix nonetypw * fix: tests * add more tests * more fixes. * figure out a way to pass lora_scale. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * unify the retrieval logic of lora_scale. * move adjust_lora_scale_text_encoder to lora.py. * introduce dynamic adjustment lora scale support to sd * fix up copies * Empty-Commit * add: test to check fusion equivalence on different scales. * handle lora fusion warning. * make lora smaller * make lora smaller * make lora smaller --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
YiYi Xu authored
* fix * add test --------- Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
dg845 authored
* Change StableDiffusionInpaintPipelineFastTests.get_dummy_inputs to produce a random image and a white mask_image. * Add dummy expected slices for the test_stable_diffusion_inpaint tests. * Remove print statement --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Erwann Millon authored
run make fix-copies and make style
-
Isamu Isozaki authored
* Resetting rdm pr * Fixed styles * Fixed style * Moved to rdm folder+fixed slight errors * Removed config diff * Started adding tests * Adding retrieved images * Fixed faiss import * Fixed import errors * Fixing tests * Added require_faiss * Updated dependency table * Attempt solving consistency test * Fixed truncation and vocab size issue * Passed common tests * Finished up cpu testing on pipeline * Passed all tests locally * Removed some slow tests * Removed diffs from test_pipeline_common * Remove logs * Removed diffs from test_pipelines_common * Fixed style * Fully fixed styles on diffs * Fixed name * Proper rename * Fixed dummies * Fixed issue with dummyonnx * Fixed black style * Fixed dummies * Changed ordering * Fixed logging * Fixing * Fixing * quality * Debugging regex * Fix dummies with guess * Fixed typo * Attempt fix dummies * black * ruff * fixed ordering * Logging * Attempt fix * Attempt fix dummy * Attempt fixing styles * Fixed faiss dependency * Removed unnecessary deprecations * Finished up main changes * Added doc * Passed tests * Fixed tests * Remove invisible watermark * Fixed ruff errors * Added prompt embed to tests * Added tests and made retriever an optional component * Fixed styles * Made faiss a dependency of pipeline * Logging * Fixed dummies * Make pipeline test work * Fixed style * Moved to research projects * Remove diff * Fixed style error --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 02 Sep, 2023 3 commits
-
-
Patrick von Platen authored
* [Tests] Add combined pipeline tests * Update tests/pipelines/kandinsky_v22/test_kandinsky.py
-
Harutatsu Akiyama authored
* [ControlNet SDXL Inpainting] Support inpainting of ControlNet SDXL Co-authored-by: Jiabin Bai 1355864570@qq.com --------- Co-authored-by:Harutatsu Akiyama <kf.zy.qin@gmail.com>
-
Steven Liu authored
* first draft * fixes * more fixes * fix toctree
-
- 01 Sep, 2023 10 commits
-
-
Steven Liu authored
* first draft * minor edits
-
YiYi Xu authored
* add --------- Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
YiYi Xu authored
add
-
YiYi Xu authored
fix Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
Seongsu Park authored
* Docs kr update 3 controlnet, reproducibility 업로드 generator 그대로 사용 seamless multi-GPU 그대로 사용 create_dataset 번역 1차 stable_diffusion_jax new translation Add coreml, tome kr docs minor fix translate training/instructpix2pix fix training/instructpix2pix.mdx using-diffusers/weighting_prompts 번역 1차 add SDXL docs Translate using-diffuers/loading_overview.md translate using-diffusers/textual_inversion_inference.md Conditional image generation (#37) * stable_diffusion_jax * index_update * index_update * condition_image_generation --------- Co-authored-by:
Seongsu Park <tjdtnsu@gmail.com> jihwan/stable_diffusion.mdx custom_diffusion 작업 완료 quicktour 작업 완료 distributed inference & control brightness (#40) * distributed_inference.mdx * control_brightness --------- Co-authored-by:
idra79haza <idra79haza@github.com> Co-authored-by:
Seongsu Park <tjdtnsu@gmail.com> using_safetensors (#41) * distributed_inference.mdx * control_brightness * using_safetensors.mdx --------- Co-authored-by:
idra79haza <idra79haza@github.com> Co-authored-by:
Seongsu Park <tjdtnsu@gmail.com> delete safetensor short * Repace mdx to md * toctree update * Add controlling_generation * toctree fix * colab link, minor fix * docs name typo fix * frontmatter fix * translation fix
-
Pedro Cuenca authored
* Fix link from API to using-diffusers * Fix link
-
Dhruv Nair authored
* proposal for flaky tests * more precision fixes * move more tests to use cosine distance * more test fixes * clean up * use default attn * clean up * update expected value * make style * make style * Apply suggestions from code review * Update src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_img2img.py * make style * fix failing tests --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Nguyễn Công Tú Anh authored
* Add GLIGEN Text Image implementation * add style transfer from image * fix check_repository_consistency * add convert script GLIGEN model to Diffusers * rename attention type * fix style code * remove PositionNetTextImage * Revert "fix check_repository_consistency" This reverts commit 15f098c96e00bb9e67b831161615b30a2d28d815. * change attention type name * update docs for GLIGEN * change examples with hf-document-image * fix style * add CLIPImageProjection for GLIGEN * Add new encode_prompt, load project matrix in pipe init * move CLIPImageProjection to stable_diffusion * add comment
-
dg845 authored
* Initial code to add force_unmasked_unchanged argument to StableDiffusionInpaintPipeline.__call__. * Try to improve StableDiffusionInpaintPipelineFastTests.get_dummy_inputs. * Use original mask to preserve unmasked pixels in pixel space rather than latent space. * make style * start working on note in docs to force unmasked area to be unchanged * Add example of forcing the unmasked area to remain unchanged. * Revert "make style" This reverts commit fa7759293af916c665f683387a52fd789ed10531. * Revert "Use original mask to preserve unmasked pixels in pixel space rather than latent space." This reverts commit 092bd0e9e9628f02ff917aafb2a5c9252776b6e9. * Revert "Try to improve StableDiffusionInpaintPipelineFastTests.get_dummy_inputs." This reverts commit ff41cf43c5a820057289e0852fb41b3e2074d86d. * Revert "Initial code to add force_unmasked_unchanged argument to StableDiffusionInpaintPipeline.__call__." This reverts commit 989979752a1c9e6e16e92d8f1b3d14b70829fbb5. --------- Co-authored-by:Will Berman <wlbberman@gmail.com>
-
YiYi Xu authored
fix inpaint test Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
- 31 Aug, 2023 5 commits
-
-
Patrick von Platen authored
-
Steven Liu authored
* first draft * finish first draft * feedback and remove sections from API pages * clean docstrings * add full code example
-
Patrick von Platen authored
* Remove warn with deprecate * Fix typo with 1.0,0
-
Ella Charlaix authored
fix width for np array inputs
-
Yukun Huang authored
* Fix potential type conversion errors in SDXL pipelines * make sure vae stays in fp16 --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 30 Aug, 2023 7 commits
-
-
Sayak Paul authored
* improve the LoRA doc. * include fuse_lora and unfuse_lora * Apply suggestions from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Steven Liu authored
* first draft * reorg toctree * note about minsdxl * feedback * fix * micro-conditionings * add tip * fix section levels * d'oh fix pipeline names * feedback * remove old section
-
Patrick von Platen authored
-
Anatoly Belikov authored
* Create masked_stable_diffusion_img2img.py * add MaskedIm2ImPipeline to readme * Update README.md
-
Patrick von Platen authored
* Fix Unfuse Lora * add tests * Fix more * Fix more * Fix all * make style * make style
-
Eugene Antropov authored
* Add load ckpt from file for ControlNet SDXL * Reformat code * Resort imports --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Sayak Paul authored
* refactoring of encode_prompt() * better handling of device. * fix: device determination * fix: device determination 2 * handle num_images_per_prompt * revert changes in loaders.py and give birth to encode_prompt(). * minor refactoring for encode_prompt()/ * make backward compatible. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * fix: concatenation of the neg and pos embeddings. * incorporate encode_prompt() in test_stable_diffusion.py * turn it into big PR. * make it bigger * gligen fixes. * more fixes to fligen * _encode_prompt -> encode_prompt in tests * first batch * second batch * fix blasphemous mistake * fix * fix: hopefully for the final time. --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 29 Aug, 2023 3 commits
-
-
Nikhil Gajendrakumar authored
Co-authored-by:
Nikhil Gajendrakumar <nikhilkatte@gmail.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
zideliu authored
-
Patrick von Platen authored
-