1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
Commit Graph

3249 Commits

Author SHA1 Message Date
sayakpaul
beb8aa2c05 remove unneeded space 2023-11-14 19:10:46 +05:30
sayakpaul
cece781921 reduce lora rank. 2023-11-14 13:55:24 +05:30
sayakpaul
8c4eaf6715 autocast 2023-11-14 13:49:22 +05:30
sayakpaul
6a690abd24 autocast device determination from accelerator 2023-11-14 13:44:10 +05:30
sayakpaul
c5317ff3b3 remove peft 2023-11-14 13:33:36 +05:30
sayakpaul
c625553234 add: peft 2023-11-14 13:32:05 +05:30
sayakpaul
002767361c add peft dependency. 2023-11-14 13:28:15 +05:30
sayakpaul
842df25c10 add test 2023-11-14 13:23:18 +05:30
sayakpaul
808f61ead9 fix 2023-11-14 11:43:00 +05:30
sayakpaul
ca076c78f0 fix serialization 2023-11-14 11:36:34 +05:30
sayakpaul
cff23edb23 remove kohya utility and make style 2023-11-14 11:33:36 +05:30
sayakpaul
53c13f7f8d remove prints. 2023-11-14 11:23:33 +05:30
sayakpaul
35e30fbb57 debug 2023-11-14 11:21:17 +05:30
sayakpaul
ba0d0f25d4 debug 2023-11-14 11:19:46 +05:30
sayakpaul
fc5546fecc debug 2023-11-14 11:12:15 +05:30
sayakpaul
3b066d2657 fix state dict serialization 2023-11-14 11:04:02 +05:30
sayakpaul
4135414907 debug 2023-11-14 10:53:45 +05:30
sayakpaul
1fd3378282 feat: no separate teacher unet. 2023-11-14 10:37:38 +05:30
sayakpaul
6aa2dd8cab state dict rejigging 2023-11-14 10:29:09 +05:30
Sayak Paul
858009b401 Merge branch 'main' into lcm-lora-sdxl-datasets 2023-11-14 10:18:23 +05:30
Sayak Paul
ed759f0aee [PixArt-Alpha] Introduce resolution binning (#5739)
* feat: add resolution binning

Co-authored-by: lawrence-cj <jschen@mail.dlut.edu.cn>

* rename

* debug

* add :test

* remove unused variable

* set resolution_binning to False.

---------

Co-authored-by: lawrence-cj <jschen@mail.dlut.edu.cn>
2023-11-14 08:34:59 +05:30
Long(Tony) Lian
5b231aa38b Fix the pipeline name in the examples for LMD+ pipeline. Add a colab link to pipeline README. (#5775)
* Fix the pipeline name in the examples for LMD+ pipeline

* Add LMD+ colab link

* Apply code formatting

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2023-11-14 07:43:37 +05:30
M. Tolga Cangöz
a359ff7644 [Docs] Fix typos and update files at API's Main Classes, Models, and Schedulers pages (#5720)
* Fix typos, update, add Copyright info, and trim trailing whitespaces

* Update docs/source/en/api/loaders.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/api/models/autoencoder_tiny.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/api/models/autoencoder_tiny.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2023-11-13 14:32:59 -08:00
Steven Liu
4b45a1e147 [docs] Use other checkpoints with inpaint (#5590)
* tip about inpaint checkpoints

* expand section

* feedback
2023-11-13 12:39:30 -08:00
Steven Liu
f782ca112a [docs] Callbacks (#5735)
* updates

* feedback
2023-11-13 12:11:07 -08:00
Steven Liu
80e78d2cac [docs] Custom community components (#5732)
* fixes

* feedback
2023-11-13 11:01:52 -08:00
JacobYuan7
4d3b4e00ed Update the reference for text_to_video.md (#5706)
* Update the reference for text_to_video.md

The original reference (VideoFusion) might be misleading. VideoFusion is not open-sourced. I am the co-first author of ModelScopeT2V. I change the referred paper to the right one.

* Update docs/source/en/api/pipelines/text_to_video.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

---------

Co-authored-by: YiYi Xu <yixu310@gmail.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2023-11-13 19:06:18 +01:00
Thuan H. Nguyen
8fcd52febb Correct code for distributed training of RealFill (#5740)
Correct code for distributed training
2023-11-13 19:01:15 +01:00
Nicolas Hug
0488810f61 Fix realfill example compatibility with latest torchvision version (#5736) 2023-11-13 18:55:17 +01:00
Patrick von Platen
ef7787ea59 make style 2023-11-13 18:54:53 +01:00
Jianqi Pan
1ce4b5f3e3 fix: fix forward function signature of controlnet reference_only pipeline example (#5717)
fix: ignore other args

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-11-13 18:54:21 +01:00
Kashif Rasul
c9f847a70f [Wuerstchen] fix for when USE_PEFT_BACKEND is True (#5704)
* fix for when USE_PEFT_BACKEND is True

* Update modeling_wuerstchen_prior.py

* revert change

* add lora tests
2023-11-13 18:37:55 +01:00
Younes Belkada
8789d0b6c7 fix styling issues on main (#5754)
fix styling issues
2023-11-13 20:05:15 +05:30
sayakpaul
e4edb31bfc style 2023-11-13 18:51:49 +05:30
sayakpaul
d7f632e658 final serialization in kohya 2023-11-13 18:42:17 +05:30
sayakpaul
6b2e42f2b9 make vae encoding batch size an arg 2023-11-13 18:14:12 +05:30
Sayak Paul
7967247113 Apply suggestions from code review
Co-authored-by: Suraj Patil <surajp815@gmail.com>
2023-11-13 18:10:11 +05:30
sayakpaul
3d4b1da091 no need to use use_auth_token 2023-11-13 12:55:06 +05:30
sayakpaul
dd93227ec3 fix batch size. 2023-11-13 11:36:55 +05:30
sayakpaul
df707545b7 unconditional predictions debug 2023-11-13 11:18:30 +05:30
sayakpaul
c7f28284f9 fix microconditions. 2023-11-13 10:38:28 +05:30
sayakpaul
6d2f740706 fix; dataloading. 2023-11-13 10:26:40 +05:30
sayakpaul
8c4d4b6a99 fix num_update_steps_per_epoch 2023-11-13 10:24:06 +05:30
sayakpaul
bc8cfddf78 fix batch unmarshalling 2023-11-13 10:20:04 +05:30
sayakpaul
728aa8a614 fix num_update_steps 2023-11-13 10:11:57 +05:30
sayakpaul
9e49fd2eaf remove comments. 2023-11-13 09:59:28 +05:30
sayakpaul
88efd154bd suit up the args. 2023-11-13 09:24:55 +05:30
sayakpaul
ca7f220b8a add: script to train lcm lora for sdxl with 🤗 datasets 2023-11-13 09:12:15 +05:30
Long(Tony) Lian
b1fbef544c Add LLM-grounded Diffusion (LMD+) pipeline (#5634)
* Add LLM-grounded Diffusion (LMD+) pipeline

* Update the formatting

* Applied formatting
2023-11-11 12:51:05 +05:30
YiYi Xu
a3476d5bd6 Controlnet Img2img: pass height and width to image_processor.preprocess (#5665)
pass height and width to image_processor.preprocess

Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-11-10 06:53:20 -10:00