- 12 Jan, 2024 1 commit
-
-
Radamés Ajna authored
pass tracker name as argumentw
-
- 05 Jan, 2024 2 commits
-
-
Sayak Paul authored
* add: experimental script for diffusion dpo training. * random_crop cli. * fix: caption tokenization. * fix: pixel_values index. * fix: grad? * debug * fix: reduction. * fixes in the loss calculation. * style * fix: unwrap call. * fix: validation inference. * add: initial sdxl script * debug * make sure images in the tuple are of same res * fix model_max_length * report print * boom * fix: numerical issues. * fix: resolution * comment about resize. * change the order of the training transformation. * save call. * debug * remove print * manually detaching necessary? * use the same vae for validation. * add: readme.
-
Sayak Paul authored
* post release * style --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 01 Jan, 2024 1 commit
-
-
2510 authored
* Fix gradient-checkpointing option is ignored in SDXL+LoRA training. (#6388) * Fix gradient-checkpointing option is ignored in SD+LoRA training. * Fix gradient checkpoint is not applied to text encoders. (SDXL+LoRA) --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 28 Dec, 2023 1 commit
-
-
Sayak Paul authored
* add to dreambooth lora. * add: t2i lora. * add: sdxl t2i lora. * style * lcm lora sdxl. * unwrap * fix: enable_adapters().
-
- 24 Dec, 2023 2 commits
-
-
mwkldeveloper authored
fix RuntimeError: Input type (float) and bias type (c10::Half) should be the same in train_text_to_image_lora.py (#6259) * fix RuntimeError: Input type (float) and bias type (c10::Half) should be the same * format source code * format code * remove the autocast blocks within the pipeline * add autocast blocks to pipeline caller in train_text_to_image_lora.py
-
Sayak Paul authored
* initialize alpha too. * add: test * remove config parsing * store rank * debug * remove faulty test
-
- 19 Dec, 2023 1 commit
-
-
Sayak Paul authored
* fix: unscale fp16 gradient problem * fix for dreambooth lora sdxl * make the type-casting conditional. * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 18 Dec, 2023 2 commits
-
-
Haofan Wang authored
* Update train_text_to_image_lora.py * Fix typo? --------- Co-authored-by:
M. Tolga Cangöz <46008593+standardAI@users.noreply.github.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Sayak Paul authored
remove depcreated method from lora scripts.
-
- 07 Dec, 2023 1 commit
-
-
Younes Belkada authored
* adapt example scripts to use PEFT * Update examples/text_to_image/train_text_to_image_lora.py * fix * add for SDXL * oops * make sure to install peft * fix * fix * fix dreambooth and lora * more fixes * add peft to requirements.txt * fix * final fix * add peft version in requirements * remove comment * change variable names * add few lines in readme * add to reqs * style * fix issues * fix lora dreambooth xl tests * init_lora_weights to gaussian and add out proj where missing * ammend requirements. * ammend requirements.txt * add correct peft versions --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 01 Dec, 2023 1 commit
-
-
Patrick von Platen authored
* Post Release: v0.24.0 * post pone deprecation * post pone deprecation * Add model_index.json
-
- 27 Nov, 2023 1 commit
-
-
Patrick von Platen authored
* add variant * add variant * Apply suggestions from code review * reformat * fix: textual_inversion.py * fix: variant in model_info --------- Co-authored-by:sayakpaul <spsayakpaul@gmail.com>
-
- 21 Nov, 2023 1 commit
-
-
Patrick von Platen authored
* [Lora] Seperate logic * [Lora] Seperate logic * [Lora] Seperate logic * add comments to explain the code better * add comments to explain the code better
-
- 10 Nov, 2023 1 commit
-
-
Sayak Paul authored
* post release * fix: variant test * up * fix: test
-
- 06 Nov, 2023 1 commit
-
-
Sayak Paul authored
post release
-
- 05 Oct, 2023 1 commit
-
-
Bagheera authored
Min-SNR Gamma: correct the fix for SNR weighted loss in v-prediction by adding 1 to SNR rather than the resulting loss weights Co-authored-by:
bghira <bghira@users.github.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 02 Oct, 2023 1 commit
-
-
Sayak Paul authored
* fix: how print training resume logs. * propagate changes to text-to-image scripts. * propagate changes to instructpix2pix. * propagate changes to dreambooth * propagate changes to custom diffusion and instructpix2pix * propagate changes to kandinsky * propagate changes to textual inv. * debug * fix: checkpointing. * debug * debug * debug * back to the square * debug * debug * change condition order. * debug * debug * debug * debug * revert to original * clean --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 27 Sep, 2023 1 commit
-
-
Sayak Paul authored
add compute_snr() to training utils.
-
- 26 Sep, 2023 1 commit
-
-
Bagheera authored
* merge with main * fix flax example * fix onnx example --------- Co-authored-by:
bghira <bghira@users.github.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 20 Sep, 2023 1 commit
-
-
Bagheera authored
Co-authored-by:bghira <bghira@users.github.com>
-
- 14 Sep, 2023 1 commit
-
-
Patrick von Platen authored
* [Release 0.21] Bump version * fix & remove * fix more * fix all, upload
-
- 17 Aug, 2023 1 commit
-
-
Sayak Paul authored
-
- 06 Aug, 2023 1 commit
-
-
AisingioroHao authored
Co-authored-by:AisingioroHao0 <1286098622@qq.com>
-
- 26 Jul, 2023 1 commit
-
-
Patrick von Platen authored
* 0.20.0dev0 * make style
-
- 13 Jul, 2023 1 commit
-
-
Ruoxi authored
* Multiply lr scheduler steps by `num_processes`. * Stop multiplying steps by gradient accumulation.
-
- 11 Jul, 2023 1 commit
-
-
Patrick von Platen authored
-
- 29 Jun, 2023 1 commit
-
-
takuoko authored
* add rank args in lora finetune * del network_alpha
-
- 15 Jun, 2023 2 commits
-
-
Will Berman authored
* manual check for checkpoints_total_limit instead of using accelerate * remove controlnet_conditioning_embedding_out_channels
-
Patrick von Platen authored
* relax tolerance slightly * correct incorrect naming
-
- 08 Jun, 2023 2 commits
-
-
Patrick von Platen authored
* Post release * Post release
-
Zachary Mueller authored
Apply deprecations
-
- 07 Jun, 2023 2 commits
-
-
Alex McKinney authored
-
Max-We authored
* Implement option for rescaling betas to zero terminal SNR * Implement rescale classifier free guidance in pipeline_stable_diffusion.py * focus on DDIM * make style * make style * make style * make style * Apply suggestions from Peter Lin * Apply suggestions from Peter Lin * make style * Apply suggestions from code review * Apply suggestions from code review * make style * make style --------- Co-authored-by:
MaxWe00 <gitlab.9v1lq@slmail.me> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 17 May, 2023 1 commit
-
-
wfng92 authored
add min snr to text2img lora training script
-
- 26 Apr, 2023 2 commits
-
-
Patrick von Platen authored
* Post release * fix more
-
Patrick von Platen authored
-
- 12 Apr, 2023 2 commits
-
-
Patrick von Platen authored
-
Patrick von Platen authored
-
- 11 Apr, 2023 1 commit
-
-
Patrick von Platen authored
* [Config] Fix config prints and save, load * Only use potential nn.Modules for dtype and device * Correct vae image processor * make sure in_channels is not accessed directly * make sure in channels is only accessed via config * Make sure schedulers only access config attributes * Make sure to access config in SAG * Fix vae processor and make style * add tests * uP * make style * Fix more naming issues * Final fix with vae config * change more
-