diffusers
[LoRA] add LoRA support to HiDream and fine-tuning script
#11281
Merged

[LoRA] add LoRA support to HiDream and fine-tuning script #11281

linoytsaban merged 102 commits into huggingface:main from linoytsaban:hi-dream
linoytsaban
linoytsaban initial commit
b8b6465e
linoytsaban initial commit
d728168a
linoytsaban initial commit
0fa09932
linoytsaban initial commit
5ecf0ed8
linoytsaban initial commit
911c30e9
linoytsaban initial commit
b7fffee0
HuggingFaceDocBuilderDev
linoytsaban Merge branch 'main' into hi-dream
fde5eeb5
sayakpaul
sayakpaul commented on 2025-04-10
sayakpaul
sayakpaul commented on 2025-04-10
sayakpaul
sayakpaul commented on 2025-04-10
sayakpaul
sayakpaul commented on 2025-04-10
sayakpaul
sayakpaul commented on 2025-04-10
bghira
bghira commented on 2025-04-12
linoytsaban Update examples/dreambooth/train_dreambooth_lora_hidream.py
02de3ce0
linoytsaban Merge branch 'main' into hi-dream
4e08343a
linoytsaban move prompt embeds, pooled embeds outside
5257b468
hlky
hlky commented on 2025-04-14
linoytsaban Update examples/dreambooth/train_dreambooth_lora_hidream.py
e9b4ad20
linoytsaban Update examples/dreambooth/train_dreambooth_lora_hidream.py
677bab17
linoytsaban Merge branch 'main' into hi-dream
dafc5fe3
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
139568ae
linoytsaban fix import
31aa0a2d
linoytsaban fix import and tokenizer 4, text encoder 4 loading
de1654a9
linoytsaban te
33385c99
linoytsaban prompt embeds
d993e161
linoytsaban fix naming
c296b6fe
linoytsaban shapes
aa6b6e28
linoytsaban initial commit to add HiDreamImageLoraLoaderMixin
ecc1c18e
linoytsaban fix init
c439c89f
linoytsaban Merge branch 'huggingface:main' into hi-dream
fc97a545
linoytsaban add tests
22e9ae80
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
8e2e1f11
linoytsaban loader
3653dcc6
linoytsaban Merge branch 'main' into hi-dream
32567bb2
linoytsaban Merge branch 'main' into hi-dream
26f289d1
linoytsaban fix model input
fcf6eaa9
linoytsaban add code example to readme
0fdc7dd4
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
759d204f
linoytsaban fix default max length of text encoders
62f2f156
linoytsaban prints
3cb1a4ce
linoytsaban nullify training cond in unpatchify for temp fix to incompatible shap…
82bcd443
linoytsaban Merge branch 'main' into hi-dream
e956980d
sayakpaul Merge branch 'main' into hi-dream
764bce67
linoytsaban smol fix
75aa8bdc
linoytsaban unpatchify
47e861fc
linoytsaban
linoytsaban unpatchify
a461d385
linoytsaban Merge branch 'main' into hi-dream
2a1336cc
bghira
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
1b20d159
linoytsaban fix validation
b31b5956
linoytsaban Merge branch 'main' into hi-dream
640beadd
linoytsaban linoytsaban marked this pull request as ready for review 364 days ago
linoytsaban
bghira
linoytsaban flip pred and loss
466c9c03
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
04be03a2
linoytsaban Merge branch 'main' into hi-dream
baa97845
linoytsaban
ojasaar
linoytsaban Merge branch 'main' into hi-dream
efb22e27
linoytsaban
bghira
ojasaar
sayakpaul
bghira
bghira
sayakpaul
linoytsaban
sayakpaul
sayakpaul commented on 2025-04-17
linoytsaban fix shift!!!
6043d9d1
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
0a2adfda
linoytsaban
linoytsaban Merge branch 'main' into hi-dream
92306d97
linoytsaban
vladmandic
bghira
bghira
linoytsaban
bghira
linoytsaban revert unpatchify changes (for now)
13e6f0da
linoytsaban Merge branch 'main' into hi-dream
c3a4047c
linoytsaban smol fix
ae39434d
linoytsaban
github-actions[bot] Apply style fixes
c8932ede
github-actions
linoytsaban workaround moe training
c8ac7d5f
linoytsaban workaround moe training
bf7ace6d
linoytsaban remove prints
2fcb17dd
linoytsaban to reduce some memory, keep vae in `weight_dtype` same as we have for…
80f13beb
linoytsaban refactor to align with HiDream refactor
b8039c94
linoytsaban refactor to align with HiDream refactor
c331597b
linoytsaban refactor to align with HiDream refactor
c32ccccc
linoytsaban add support for cpu offloading of text encoders
6e070b8b
linoytsaban
github-actions[bot] Apply style fixes
d77e42a1
github-actions
linoytsaban adjust lr and rank for train example
5c8c3390
linoytsaban fix copies
abfb389f
linoytsaban
github-actions[bot] Apply style fixes
a5fe6be7
github-actions
sayakpaul
sayakpaul commented on 2025-04-19
linoytsaban Merge branch 'main' into hi-dream
d5627760
linoytsaban update README
2798d402
linoytsaban update README
ab960c2a
linoytsaban update README
52d94213
linoytsaban fix license
fc5eb48f
linoytsaban keep prompt2,3,4 as None in validation
a0129148
linoytsaban remove reverse ode comment
d5b9eccf
linoytsaban Update examples/dreambooth/train_dreambooth_lora_hidream.py
f04a13ac
linoytsaban Update examples/dreambooth/train_dreambooth_lora_hidream.py
0b75081c
linoytsaban vae offload change
4db988f9
linoytsaban fix text encoder offloading
13192a33
linoytsaban
github-actions[bot] Apply style fixes
408dfdbe
github-actions
linoytsaban linoytsaban requested a review from sayakpaul sayakpaul 361 days ago
sayakpaul
sayakpaul commented on 2025-04-19
linoytsaban cleaner to_kwargs
33834465
linoytsaban fix module name in copied from
73ab2017
Nerogar
linoytsaban
linoytsaban Merge branch 'main' into hi-dream
62019cc1
linoytsaban add requirements
a07ee59f
linoytsaban fix offloading
a751cc2f
linoytsaban fix offloading
120b8214
linoytsaban fix offloading
9d71d3b3
linoytsaban update transformers version in reqs
2798d772
linoytsaban try AutoTokenizer
363d29b6
linoytsaban try AutoTokenizer
8f24e8ce
linoytsaban
github-actions[bot] Apply style fixes
b31bdf09
github-actions
linoytsaban empty commit
6c77651f
linoytsaban Merge remote-tracking branch 'origin/hi-dream' into hi-dream
246978e9
linoytsaban Delete tests/lora/test_lora_layers_hidream.py
9b6ef439
linoytsaban change tokenizer_4 to load with AutoTokenizer as well
fb3ac745
linoytsaban make text_encoder_four and tokenizer_four configurable
82a40372
linoytsaban save model card
9de10cbf
linoytsaban save model card
418f6a3c
linoytsaban revert T5
36c1adae
linoytsaban fix test
bd399b19
linoytsaban Merge branch 'main' into hi-dream
a8e1a0bf
linoytsaban linoytsaban requested a review from sayakpaul sayakpaul 359 days ago
linoytsaban Merge branch 'main' into hi-dream
bd275c01
sayakpaul Merge branch 'main' into hi-dream
e49be975
linoytsaban remove non diffusers lumina2 conversion
ed97dba0
sayakpaul
sayakpaul approved these changes on 2025-04-22
linoytsaban linoytsaban merged e30d3bf5 into main 358 days ago
linoytsaban linoytsaban deleted the hi-dream branch 358 days ago
vladmandic

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone