sd-scripts
merge sdxl into main
#847
Merged

merge sdxl into main #847

kohya-ss merged 285 commits into main from sdxl
kohya-ss
kohya-ss fix to work controlnet training
11e8c7d8
kohya-ss Merge branch 'original-u-net' into sdxl
0b730d90
kohya-ss add minimal inference code for sdxl
f7f762c6
kohya-ss update dataset to return size, refactor ctrlnet ds
9e9df2b5
kohya-ss add sdxl fine-tuning and LoRA
747af145
kohya-ss fix warning messages are shown every step
56ca5dfa
kohya-ss Add no_half_vae for SDXL training, add nan check
2c461e4a
kohya-ss fix typos
9ebebb22
kohya-ss update for sdxl
31018d57
kohya-ss update readme
b0dfbe70
kohya-ss update readme
753c63e1
kohya-ss use CLIPTextModelWithProjection
a751dc25
kohya-ss update readme
07d5c710
kohya-ss fix to work train_network with fine-tuning dataset
71a6d49d
kohya-ss fix to work
8521ab79
kohya-ss fix max_token_length not works for sdxl
d395bc06
kohya-ss update transfomer to fix sdxl text model with bf16
38e21f5c
kohya-ss fix to work with dreambooth ds without toml
227a62e4
kohya-ss add feature to sample images during sdxl training
64cf9228
kohya-ss remove debug code
97611e89
kohya-ss update readme
5863676c
kohya-ss add min/max_timestep
ea182461
kohya-ss add error message for old npz
2febbfe4
kohya-ss update readme
6aa62b9b
kohya-ss fix dtype for vae
3b35547d
kohya-ss remove debug print
ce46aa0c
kohya-ss remove debug print
3060eb5b
kohya-ss fix to work sdxl state dict without logit_scale
3d0375da
kohya-ss fix to work with .ckpt from comfyui
4a34e580
kohya-ss Update README.md
288efddf
kohya-ss support sdxl in prepare scipt
cc3d40ca
kohya-ss Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into sdxl
73ab1102
kohya-ss update readme
c1d62383
kohya-ss Fix TE key names for SD1/2 LoRA are invalid
66c03be4
ddPn08 support avif
d599394f
kohya-ss fix wrapper tokenizer not work for weighted prompt
fe7ede5a
kohya-ss add generation script
1d25703a
kohya-ss update readme
8371a7a3
KohakuBlueleaf Update sdxl_train.py
5f348579
KohakuBlueleaf Update train_util.py for full_bf16 support
d9749597
kohya-ss Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into sdxl
7502f662
kohya-ss Merge pull request #626 from ddPn08/sdxl
256ff5b5
kohya-ss Merge pull request #628 from KohakuBlueleaf/full_bf16
3579b457
kohya-ss support multi gpu in caching text encoder outputs
0416f26a
kohya-ss fix pad token is not handled
a380502c
kohya-ss fix conditioning
77ec70d1
kohya-ss fix uncond/cond order
c2ceb6de
kohya-ss update readme
5c80117f
kohya-ss don't hold latent on memory for finetuning dataset
b6e328ea
kohya-ss support textual inversion training
f54b784d
kohya-ss Fix to show template type
68ca0ea9
ddPn08 make tracker init_kwargs configurable
b841dd78
kohya-ss add no_half_vae option
2e67d74d
kohya-ss fix NaN in sampling image
814996b1
kohya-ss fix gradient accumulation doesn't work
3c67e595
kohya-ss remove unnecessary code
8df94856
kohya-ss support diffusers format for SDXL
8fa5fb28
kaibioinfo fix typo in sdxl_train_textual_inversion
a7ce2633
Ttl Cast weights to correct precision before transferring them to GPU
cdffd19f
kohya-ss fix sampling gen fails in lora training
3bb80ebf
kohya-ss change tokenizer from open clip to transformers
b4a3824c
kohya-ss fix tokenizer 2 is not same as open clip tokenizer
9de357e3
kohya-ss fix sampling in multi GPU training
81fa5483
kohya-ss refactor caching latents (flip in same npz, etc)
94c151ae
kohya-ss update readme
62dd99be
kohya-ss add caching to disk for text encoder outputs
516f64f4
kohya-ss update readme
3db97f88
kohya-ss fix scheduler steps with gradient accumulation
41d19571
kohya-ss add lora for Diffusers
39e62b94
kohya-ss fix typos
1d4672d7
kohya-ss add convenience function to merge LoRA
7e20c6d1
pamparamm vram leak fix
8a073ee4
kohya-ss enable different prompt for text encoders
3d66a234
kohya-ss make crop top/left same as stabilityai's prep
0ec71660
kohya-ss add zero_terminal_snr option
6d2d8dfd
kohya-ss Merge pull request #645 from Ttl/prepare_order
7875ca8f
kohya-ss enable full bf16 trainint in train_network
225e8718
kohya-ss Merge pull request #641 from kaibioinfo/patch-1
771f33d1
kohya-ss fix invalid args checking in sdxl TI training
fc276a51
kohya-ss fix original w/h prompt opt shows wrong number
86a8cbd0
kohya-ss make to work with PyTorch 1.12
acf16c06
kohya-ss Merge branch 'main' into sdxl
c45d2f21
kohya-ss Merge pull request #630 from ddPn08/sdxl
73a08c0b
kohya-ss fix to work text encoder only network with bf16
8ba02ac8
kohya-ss add invisible watermark to req.txt
d1864e24
kohya-ss re-organize import
50b53e18
kohya-ss support Diffusers format
7ec9a7af
kohya-ss Merge branch 'main' into sdxl
2e4783bc
Isotr0py init unet with empty weights
bb167f94
Isotr0py fix safetensors error: device invalid
eec6aadd
kohya-ss fix LoRA with text encoder can't merge closes #660
c1d5c24b
kohya-ss fix max mul embeds doesn't work. closes #656
7ae0cde7
kohya-ss fix to show batch size for each dataset refs #637
b1e44e96
kohya-ss format by black
e83ee217
kohya-ss support sdxl
2b969e9c
kohya-ss remove unused func
b78c0e2a
Isotr0py fix pipeline dtype
50544b78
Isotr0py add dtype to u-net loading
96a52d98
Isotr0py Merge branch 'sdxl' into sdxl
272dd993
Isotr0py refactor model loading to catch error
315fbc11
Isotr0py fix mismatch dtype
fdb58b0b
Isotr0py fix typo
1199eacb
kohya-ss Merge branch 'main' into sdxl
4072f723
Isotr0py fix typos for _load_state_dict
d9180c03
kohya-ss Merge pull request #676 from Isotr0py/sdxl
e20b6acf
sdbds Add Paged/ adam8bit/lion8bit for Sdxl bitsandbytes 0.39.1 cuda118 on …
9ec70252
kohya-ss Merge pull request #658 from pamparamm/cache_latents_leak_fix
54a4aa22
kohya-ss move releasing cache outside of the loop
e6034b7e
kohya-ss change method name, add comments
b62185b8
kohya-ss refactor optimizer selection for bnb
a296654c
kohya-ss format by black
2a4ae88f
kohya-ss fix ControlNet not working
0eacadfa
kohya-ss fix batch generation not working
8856c19c
kohya-ss arbitrary args for diffusers lr scheduler
496c3f27
kohya-ss remove dependency for albumenations
f61996b4
kohya-ss fix recorded seed in highres fix
7e474d21
kohya-ss add adding v-pred like loss for noise pred
0636399c
kohya-ss fix vae crashes in large reso
89aae3e0
kohya-ss format by black
db80c5a2
kohya-ss fix ControlNet with regional LoRA, add shuffle cap
6b1cf6c4
kohya-ss fix ControlNet with regional LoRA
cf683289
kohya-ss Add workaround for clip's bug for pooled output
c6d52fde
kohya-ss remove debug print
9d7619d1
kohya-ss remove debug print
f3be995c
kohya-ss make bitsandbytes optional
9d855091
kohya-ss Merge pull request #714 from kohya-ss/dev
f4935dd6
kohya-ss fix sdxl_gen_img not working
25d8cd47
kohya-ss Merge pull request #716 from kohya-ss/dev
2dfa26cc
kohya-ss fix training textencoder in sdxl not working
e5f9772a
kohya-ss Merge pull request #720 from kohya-ss/dev
cd54af01
kohya-ss support sai model spec
c142dadb
kohya-ss update sdxl ver in lora metadata from v0-9 to v1-0
92f41f10
kohya-ss fix error in huggingface_path_in_repo=None
3cdbbb43
kohya-ss update readme
04b1defa
kohya-ss change assert to print
78226f85
kohya-ss Merge pull request #722 from kohya-ss/dev
f4a2bc6c
kohya-ss add merge script
7ea38f90
kohya-ss fix crashing in saving lora with clipskip
6f80fe17
kohya-ss modify import #368
b83ce0c3
kohya-ss Merge pull request #733 from kohya-ss/dev
4e339bb1
kohya-ss fix to work when input_ids has multiple EOS tokens
daad50e3
kohya-ss Merge pull request #741 from kohya-ss/dev
12e58ab3
kohya-ss fix sample gen failed in sdxl training
e73d103e
kohya-ss Merge pull request #744 from kohya-ss/dev
bf31f18c
kohya-ss add warning for bucket_reso_steps with SDXL
6889ee2b
kohya-ss revert default noise offset to 0 (None) in sdxl
3307ccb2
kohya-ss suppress waning for scheduler args #748
8415014d
kohya-ss support block lr for U-Net
e2c2689f
kohya-ss Merge pull request #750 from kohya-ss/dev
e32e24ad
kohya-ss update readme
d43fcd63
kohya-ss add original size for negative cond
a90c9c27
kohya-ss add lora_fa experimentally
d713e4c7
kohya-ss update readme
adf99a33
kohya-ss Merge pull request #755 from kohya-ss/dev
9a60b8a0
kohya-ss add lora controlnet temporarily
983698dd
kohya-ss add lora controlnet train/gen temporarily
3f7235c3
kohya-ss change to use_reentrant=False
306ee24c
kohya-ss read dim/rank from weights
afc03af3
kohya-ss add skip input blocks to lora control net
6111151f
kohya-ss Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
784a90c3
kohya-ss add cond/uncond, update config
5fa473d5
kohya-ss fix error in generation
809fca0b
kohya-ss add comments
1e52fe6e
kohya-ss add readme about controlnet-lora
3e159166
kohya-ss modify to attn1/attn2 only
b5db90c8
kohya-ss Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
62fa4734
kohya-ss rename and update
fef7eb73
kohya-ss fix typos, update readme
5a86bbc0
kohya-ss Update train_lll_README-ja.md add sample images
782b11b8
kohya-ss fix a bug x is updated inplace
06461120
kohya-ss Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
2841927d
kohya-ss fix bucketing doesn't work in controlnet training
e1918928
kohya-ss update lllite doc
bee5c3f1
kohya-ss update lllite doc
b74dfba2
kohya-ss Update train_lllite_README.md
98f8785a
kohya-ss Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
0c197550
kohya-ss update lllite doc
15b463d1
kohya-ss Merge pull request #768 from kohya-ss/dev
8b2a11fd
kohya-ss Update train_lllite_README.md
edd314cc
kohya-ss update lllite doc
50c6aaae
kohya-ss fix typos (;^ω^)
9947197a
kohya-ss fix debug_dataset for controlnet dataset
1161a5c6
kohya-ss update doc
9be19ad7
kohya-ss Merge pull request #770 from kohya-ss/dev
014c4b47
lansing fix: VRAM memory leak in sdxl_gen_img.py
fbc550d0
kohya-ss add multiplier, steps range
6d5cffae
kohya-ss Merge branch 'sdxl' into dev
927c6876
kohya-ss add about dataset synthesis for LLLite doc
85f1114c
kohya-ss Merge pull request #776 from kohya-ss/dev
71369ac9
kohya-ss add .toml example for lllite doc
ef28a919
kohya-ss Merge branch 'dev' of https://github.com/kohya-ss/sd-scripts into dev
d97a1638
kohya-ss Merge branch 'sdxl' into dev
1f4a495e
kohya-ss Merge pull request #783 from kohya-ss/dev
b44644bc
kohya-ss fix "\\" to "/" for compatiblity
a46a4781
Isotr0py support jpeg xl
5d88351b
kohya-ss alternative impl of ControlNet-LLLite training
526488fe
kohya-ss fix typo
3d12cdc6
kohya-ss Merge pull request #787 from kohya-ss/dev
f64c78b7
Isotr0py intergrate fp16/bf16 to model loading
6155f9c1
Isotr0py delet missed line
2e0942d5
kohya-ss Merge branch 'main' into sdxl
7e850f3b
kohya-ss Merge branch 'sdxl' of https://github.com/kohya-ss/sd-scripts into sdxl
633bb8d3
vvern999 add input perturbation noise
e0beb6a9
kohya-ss support diffusers' new VAE
c06a8670
kohya-ss Merge pull request #799 from kohya-ss/dev
f77bdf96
kohya-ss Merge pull request #774 from lansing/lansing/sdxl-fix-gen-memleak
64001167
kohya-ss Merge pull request #786 from Isotr0py/jxl
497051c1
kohya-ss Merge branch 'main' into sdxl
f19a48a2
kohya-ss Merge branch 'sdxl' into dev
cd590030
kohya-ss add caption_prefix/suffix to dataset
948cf174
kohya-ss Merge pull request #800 from kohya-ss/dev
903825af
kohya-ss Merge pull request #791 from Isotr0py/dev
f6d417e2
kohya-ss Merge pull request #798 from vvern999/vvern999-patch-1
2eae9b66
kohya-ss fix typos, add comments etc.
0ee75fd7
kohya-ss fix ControlNetDataset not working
360af277
kohya-ss Merge pull request #802 from kohya-ss/dev
4530b96c
kohya-ss update readme
95bc6e87
kohya-ss update readme
5f08a21d
kohya-ss fix typo
867e7d32
kohya-ss update readme (#803)
74561dbd
kohya-ss fix to work regional LoRA
207fc8b2
kohya-ss Merge pull request #804 from kohya-ss/dev
6b3a580e
rockerBOO Add ip_noise_gamma metadata
80aca1cc
kohya-ss fix VAE becomes last one
0ecfd91a
kohya-ss add support model without position_ids
90c47140
kohya-ss get pool from CLIPVisionModel in img2img
d337bbf8
kohya-ss fix to work highres_fix_latents_upscaling
db7a28ac
Disty0 Intel ARC support with IPEX
b64389c8
Disty0 Update getDeviceIdListForCard
b99cd2a9
sdbds update bitsandbytes for 0.41.1 and fixed bugs with generate_controlne…
d5be8125
kohya-ss Merge pull request #825 from Disty0/dev
624edf42
kohya-ss Merge branch 'dev' into sdxl
d8464310
kohya-ss rename train_lllite_alt to train_lllite
37578552
kohya-ss Merge pull request #808 from rockerBOO/metadata
d39f1a34
kohya-ss fix sai metadata for sdxl closes #824
477b5260
kohya-ss fix to work iter_same_seed
20e929e2
kohya-ss update versions of accelerate and diffusers
7e736da3
kohya-ss update readme
28272de9
kohya-ss Merge pull request #831 from kohya-ss/dev
98615166
kohya-ss Merge branch 'main' into sdxl
1e395ed2
laksjdjf Support concat LoRA
14aa2923
Disty0 IPEX attention optimizations
209eafb6
kohya-ss Merge pull request #841 from Disty0/dev
8e117f9f
kohya-ss Merge pull request #839 from laksjdjf/sdxl
365a06bd
kohya-ss Merge pull request #844 from kohya-ss/dev
35a1d68e
kohya-ss update doc
6bd6cd9c
kohya-ss Fix to work training U-Net only LoRA for SD1/2
81419f7f
kohya-ss fix placing of requires_grad_ of U-Net
4cc91960
kohya-ss Merge pull request #846 from kohya-ss/dev
93155242
kohya-ss update readme
c9184892
kohya-ss kohya-ss merged 49c24285 into main 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone