- 06 Jun, 2023 5 commits
-
-
Sayak Paul authored
-
YiYi Xu authored
* refactor x4 upscaler * style * copies --------- Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
Sayak Paul authored
* feat: add lora attention processor for pt 2.0. * explicit context manager for SDPA. * switch to flash attention * make shapes compatible to work optimally with SDPA. * fix: circular import problem. * explicitly specify the flash attention kernel in sdpa * fall back to efficient attention context manager. * remove explicit dispatch. * fix: removed processor. * fix: remove optional from type annotation. * feat: make changes regarding LoRAAttnProcessor2_0. * remove confusing warning. * formatting. * relax tolerance for PT 2.0 * fix: loading message. * remove unnecessary logging. * add: entry to the docs. * add: network_alpha argument. * relax tolerance.
-
Takuma Mori authored
* merge undoable-monkeypatch * remove TEXT_ENCODER_TARGET_MODULES, refactoring * move create_lora_weight_file
-
Steven Liu authored
fix link to load_lora_weights
-
- 05 Jun, 2023 12 commits
-
-
Will Berman authored
* move activation dispatches into helper function * tests
-
Will Berman authored
-
YiYi Xu authored
VaeImageProcessor.preprocess refactor * refactored VaeImageProcessor - allow passing optional height and width argument to resize() - add convert_to_rgb * refactored prepare_latents method for img2img pipelines so that if we pass latents directly as image input, it will not encode it again * added a test in test_pipelines_common.py to test latents as image inputs * refactored img2img pipelines that accept latents as image: - controlnet img2img, stable diffusion img2img , instruct_pix2pix --------- Co-authored-by:
yiyixuxu <yixu310@gmail,com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Steven Liu authored
* part 2 of api fixes * move randn_tensor * add to toctree * apply feedback * more feedback
-
Sayak Paul authored
* fix: assertion. * assertion fix.
-
pdoane authored
* Update Compel documentation for textual inversions * Fix typo
-
Vladislav Lyubimov authored
-
Patrick von Platen authored
Correct multi gpu
-
Will Berman authored
-
Steven Liu authored
* load a1111 lora * fix * apply feedback * fix
-
0x1355 authored
Expose num_cycles kwarg of get_schedule() through args.lr_num_cycles.
-
0x1355 authored
So that schedule_func() calls get_piecewise_constant_schedule() with correctly named kwarg.
-
- 02 Jun, 2023 11 commits
-
-
Will Berman authored
-
Will Berman authored
* dreambooth if docs - stage II, more info * Update docs/source/en/training/dreambooth.mdx Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update docs/source/en/training/dreambooth.mdx Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update docs/source/en/training/dreambooth.mdx Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * download instructions for downsized images * update source README to match docs --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Will Berman authored
* set config from original module but set compiled module on class * add test
-
asfiyab-nvidia authored
* add tensorrt inpaint pipeline Signed-off-by:
Asfiya Baig <asfiyab@nvidia.com> * run make style Signed-off-by:
Asfiya Baig <asfiyab@nvidia.com> --------- Signed-off-by:
Asfiya Baig <asfiyab@nvidia.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
Kadir Nar authored
* Updated the filename and readme file. * reformatter * reformetter
-
YiYi Xu authored
* fix latents * fix copies --------- Co-authored-by:yiyixuxu <yixu310@gmail,com>
-
Kashif Rasul authored
fixed typo
-
Lachlan Nicholson authored
* iterate over unique tokens to avoid duplicate replacements * added test for multiple references to multi embedding * adhere to black formatting * reorder test post-rebase
-
Takuma Mori authored
* add _convert_kohya_lora_to_diffusers * make style * add scaffold * match result: unet attention only * fix monkey-patch for text_encoder * with CLIPAttention While the terrible images are no longer produced, the results do not match those from the hook ver. This may be due to not setting the network_alpha value. * add to support network_alpha * generate diff image * fix monkey-patch for text_encoder * add test_text_encoder_lora_monkey_patch() * verify that it's okay to release the attn_procs * fix closure version * add comment * Revert "fix monkey-patch for text_encoder" This reverts commit bb9c61e6faecc1935c9c4319c77065837655d616. * Fix to reuse utility functions * make LoRAAttnProcessor targets to self_attn * fix LoRAAttnProcessor target * make style * fix split key * Update src/diffusers/loaders.py * remove TEXT_ENCODER_TARGET_MODULES loop * add print memory usage * remove test_kohya_loras_scaffold.py * add: doc on LoRA civitai * remove print statement and refactor in the doc. * fix state_dict test for kohya-ss style lora * Apply suggestions from code review Co-authored-by:
Takuma Mori <takuma104@gmail.com> --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Patrick von Platen authored
* Improve docs * up * Update docs/source/en/api/pipelines/kandinsky.mdx * up * up * correct more * further improve * Update docs/source/en/api/pipelines/kandinsky.mdx Co-authored-by:
YiYi Xu <yixu310@gmail.com> --------- Co-authored-by:
YiYi Xu <yixu310@gmail.com>
-
Sayak Paul authored
include the instruction-tuning blog link.
-
- 31 May, 2023 3 commits
-
-
Will Berman authored
* update dreambooth lora to work with IF stage II * Update dreambooth script for IF stage II upscaler
-
Will Berman authored
-
Prathik Rao authored
* update code to reflect latest changes as of May 30th * update text to image example * reflect changes to textual inversion * make style * fix typo * Revert unnecessary readme changes --------- Co-authored-by:root <root@orttrainingdev8.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net> Co-authored-by: Prathik Rao <prathikrao@microsoft.com@orttrainingdev8.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
-
- 30 May, 2023 9 commits
-
-
Will Berman authored
-
Patrick von Platen authored
Make sure we also change the config when setting `encoder_hid_dim_type=="text_proj"` and allow xformers (#3615) * fix if * make style * make style * add tests for xformers * make style * update
-
Patrick von Platen authored
-
Patrick von Platen authored
-
Patrick von Platen authored
-
Denis authored
* added clip_guided_images_mixing_stable_diffusion file and readme description * apply pre-commit --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Greg Hunkins authored
* enable state dict for textual inversion loader * Empty-Commit | restart CI * Empty-Commit | restart CI * Empty-Commit | restart CI * Empty-Commit | restart CI * add tests * fix tests * fix tests * fix tests --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
takuoko authored
add reference tricks
-
Kadir Nar authored
* added mixture pipeline * added docstring * update docstring
-