diffusers
[Training] Add `datasets` version of LCM LoRA SDXL
#5778
Merged

[Training] Add `datasets` version of LCM LoRA SDXL #5778

sayakpaul merged 109 commits into main from lcm-lora-sdxl-datasets
sayakpaul
sayakpaul add: script to train lcm lora for sdxl with 🤗 datasets
ca7f220b
sayakpaul suit up the args.
88efd154
sayakpaul remove comments.
9e49fd2e
sayakpaul fix num_update_steps
728aa8a6
sayakpaul fix batch unmarshalling
bc8cfddf
sayakpaul fix num_update_steps_per_epoch
8c4d4b6a
sayakpaul fix; dataloading.
6d2f7407
sayakpaul fix microconditions.
c7f28284
sayakpaul sayakpaul requested a review from patil-suraj patil-suraj 2 years ago
sayakpaul unconditional predictions debug
df707545
sayakpaul fix batch size.
dd93227e
sayakpaul no need to use use_auth_token
3d4b1da0
pcuenca
pcuenca commented on 2023-11-13
sayakpaul
patil-suraj
patil-suraj approved these changes on 2023-11-13
sayakpaul
patil-suraj
sayakpaul Apply suggestions from code review
79672471
sayakpaul make vae encoding batch size an arg
6b2e42f2
sayakpaul final serialization in kohya
d7f632e6
sayakpaul style
e4edb31b
HuggingFaceDocBuilderDev
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
858009b4
sayakpaul state dict rejigging
6aa2dd8c
sayakpaul feat: no separate teacher unet.
1fd33782
sayakpaul debug
41354149
sayakpaul fix state dict serialization
3b066d26
sayakpaul debug
fc5546fe
sayakpaul debug
ba0d0f25
sayakpaul debug
35e30fbb
sayakpaul remove prints.
53c13f7f
sayakpaul remove kohya utility and make style
cff23edb
sayakpaul fix serialization
ca076c78
sayakpaul fix
808f61ea
sayakpaul
sayakpaul add test
842df25c
sayakpaul add peft dependency.
00276736
sayakpaul add: peft
c6255532
sayakpaul remove peft
c5317ff3
sayakpaul autocast device determination from accelerator
6a690abd
sayakpaul autocast
8c4eaf67
sayakpaul reduce lora rank.
cece7819
patrickvonplaten patrickvonplaten requested a review from patil-suraj patil-suraj 2 years ago
patrickvonplaten
patil-suraj
patil-suraj commented on 2023-11-14
patil-suraj
sayakpaul remove unneeded space
beb8aa2c
sayakpaul Apply suggestions from code review
33cb9d03
sayakpaul style
795cc9f9
sayakpaul remove prompt dropout.
042f3578
sayakpaul also save in native diffusers ckpt format.
283af651
sayakpaul debug
5e099a24
sayakpaul debug
71db43a2
sayakpaul
sayakpaul debug
e1346d56
sayakpaul better formation of the null embeddings.
dfcf2340
sayakpaul remove space.
5ce6cc19
sayakpaul autocast fixes.
7ee9d5d9
sayakpaul autocast fix.
1b359ae8
sayakpaul hacky
82b628a3
sayakpaul
sayakpaul commented on 2023-11-14
younesbelkada
sayakpaul
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
younesbelkada
younesbelkada commented on 2023-11-14
sayakpaul remove lora_sayak
17d5c0dd
sayakpaul Apply suggestions from code review
fea95e0f
sayakpaul style
83801a69
sayakpaul make log validation leaner.
0c5d9348
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
3b034bea
sayakpaul move back enabled in.
0f42185e
sayakpaul fix: log_validation call.
41f19258
sayakpaul add: checkpointing tests
bf5c5d6b
sayakpaul
sayakpaul
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
64063c7a
sayakpaul
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
53cf0e76
pcuenca
pcuenca commented on 2023-11-17
sayakpaul
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
de958dc6
younesbelkada
younesbelkada approved these changes on 2023-11-17
patrickvonplaten patrickvonplaten requested a review from patil-suraj patil-suraj 2 years ago
ArturFormella
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
5824fa3b
sayakpaul
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
f52cb6e7
sayakpaul taking my chances to see if disabling autocasting has any effect?
5534b0c2
sayakpaul
BenjaminBossan
sayakpaul
sayakpaul resolve conflicts
3bacd82d
sayakpaul start debugging
1da3071f
sayakpaul name
bd4d1c43
sayakpaul name
26f16c18
sayakpaul name
91740272
sayakpaul more debug
92ba868d
sayakpaul more debug
1fba251b
sayakpaul index
3751ca9b
sayakpaul remove index.
63649d35
sayakpaul print length
05de5422
sayakpaul print length
5e604a8a
sayakpaul print length
8fecdda2
sayakpaul
sayakpaul move unet.train() after add_adapter()
023866f8
sayakpaul disable some prints.
07c28de8
sayakpaul enable_adapters() manually.
c6a61dac
BenjaminBossan
sayakpaul
lvwerra
sayakpaul remove prints.
ec33085e
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
d14dd411
sayakpaul some changes.
ed7969d2
sayakpaul fix params_to_optimize
8c549e4b
sayakpaul more fixes
94460666
sayakpaul debug
0153665f
sayakpaul debug
b9891ffb
sayakpaul remove print
b11b0a6d
sayakpaul disable grad for certain contexts.
539bda39
sayakpaul
BenjaminBossan
patil-suraj Merge branch 'main' into lcm-lora-sdxl-datasets
dfe916dd
patil-suraj patil-suraj marked this pull request as ready for review 2 years ago
fabiorigano Add support for IPAdapterFull (#5911)
d5a40cde
yiyixuxu Fix a bug in `add_noise` function (#6085)
e3d76c47
apolinario [Advanced Diffusion Script] Add Widget default text (#6100)
472c3974
apolinario [Advanced Training Script] Fix pipe example (#6106)
373d3923
charchit7 IP-Adapter for StableDiffusionControlNetImg2ImgPipeline (#5901)
be46b6eb
a-r-r-o-w IP adapter support for most pipelines (#5900)
c7a87ca7
sayakpaul
sayakpaul resolve conflicts
556b7977
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
a8d97858
sayakpaul fix: lora_alpha
47abcf6b
sayakpaul make vae casting conditional/
b7c0f95f
sayakpaul param upcasting
7a1d6c90
sayakpaul propagate comments from https://github.com/huggingface/diffusers/pull…
87f87a70
sayakpaul sayakpaul changed the title [WIP][Training] Add `datasets` version of LCM LoRA SDXL [Training] Add `datasets` version of LCM LoRA SDXL 2 years ago
sayakpaul
dg845
dg845 commented on 2023-12-21
dg845
dg845 commented on 2023-12-21
dg845
dg845 commented on 2023-12-21
dg845
dg845 commented on 2023-12-21
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
404351fa
sayakpaul
patil-suraj
patil-suraj
patil-suraj approved these changes on 2023-12-26
kashif [Peft] fix saving / loading when unet is not "unet" (#6046)
4c7e983b
kashif [Wuerstchen] fix fp16 training and correct lora args (#6245)
0bb9cf02
sayakpaul [docs] fix: animatediff docs (#6339)
11659a6f
sayakpaul add: note about the new script in readme_sdxl.
f645b87e
sayakpaul Revert "[Peft] fix saving / loading when unet is not "unet" (#6046)"
fd64acf9
sayakpaul Revert "[Wuerstchen] fix fp16 training and correct lora args (#6245)"
121567b0
sayakpaul Revert "[docs] fix: animatediff docs (#6339)"
c24626ae
sayakpaul remove tokenize_prompt().
4c689b29
sayakpaul assistive comments around enable_adapters() and diable_adapters().
1b49fb92
sayakpaul
sayakpaul Merge branch 'main' into lcm-lora-sdxl-datasets
9b3dbaaf
sayakpaul
sayakpaul sayakpaul merged 6683f979 into main 2 years ago
sayakpaul sayakpaul deleted the lcm-lora-sdxl-datasets branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone