- 08 Mar, 2024 1 commit
-
-
Sayak Paul authored
* fix: save_model_card utility. * fix a little more to make it more lenient. * remove lower()
-
- 07 Mar, 2024 2 commits
-
-
Sayak Paul authored
fix: prior preservation setting in DreamBooth LoRA SDXL script. Co-authored-by:Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com>
-
Linoy Tsaban authored
* dora in canonical script * add mention of DoRA to readme
-
- 04 Mar, 2024 1 commit
-
-
Linoy Tsaban authored
* add tags for diffusers training * add tags for diffusers training * add tags for diffusers training * add tags for diffusers training * add tags for diffusers training * add tags for diffusers training * add dora tags for drambooth lora scripts * style
-
- 03 Mar, 2024 1 commit
-
-
Sayak Paul authored
* add: dreambooth lora script for Playground v2.5 * fix: kwarg * address suraj's comments. * Apply suggestions from code review Co-authored-by:
Suraj Patil <surajp815@gmail.com> * apply suraj's suggestion * incorporate changes in the canonical script./ * tracker naming * fix: schedule determination * add: two simple tests * remove playground script * note about edm-style training * address pedro's comments. * address part of Suraj's comments. * Apply suggestions from code review Co-authored-by:
Suraj Patil <surajp815@gmail.com> * remove guidance_scale. * use mse_loss. * add comments for preconditioning. * quality * Update examples/dreambooth/train_dreambooth_lora_sdxl.py Co-authored-by:
Suraj Patil <surajp815@gmail.com> * tackle v-pred. * Empty-Commit * support edm for sdxl too. * address suraj's comments. * Empty-Commit --------- Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
- 01 Mar, 2024 1 commit
-
-
Sayak Paul authored
-
- 28 Feb, 2024 1 commit
-
-
Sayak Paul authored
* fix kwarg * Empty-Commit
-
- 26 Feb, 2024 1 commit
-
-
Vinh H. Pham authored
* modularize log validation * run make style * revert import wandb * fix code quality & import wandb --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 09 Feb, 2024 2 commits
-
-
Sayak Paul authored
* post release * style * Empty-Commit --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Sayak Paul authored
-
- 08 Feb, 2024 2 commits
-
-
Sayak Paul authored
change to 2024
-
camaro authored
-
- 07 Feb, 2024 1 commit
-
-
Sayak Paul authored
* feat: standarize model card creation for dreambooth training. * correct 'inference * remove comments. * take component out of kwargs * style * add: card template to have a leaner description. * widget support. * propagate changes to train_dreambooth_lora * propagate changes to custom diffusion * make widget properly type-annotated
-
- 04 Feb, 2024 1 commit
-
-
Linoy Tsaban authored
* add micro conditioning * remove redundant lines * style * fix missing 's' * fix missing shape bug due to missing RGB if statement * remove redundant if, change arg order --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 03 Feb, 2024 1 commit
-
-
Younes Belkada authored
Update train_dreambooth_lora_sdxl.py
-
- 15 Jan, 2024 1 commit
-
-
Sayak Paul authored
create a utility for casting the lora params during training.
-
- 12 Jan, 2024 1 commit
-
-
Sayak Paul authored
* fix: training resume from fp16. * add: comment * remove residue from another branch. * remove more residues. * thanks to Younes; no hacks. * style. * clean things a bit and modularize _set_state_dict_into_text_encoder * add comment about the fix detailed.
-
- 11 Jan, 2024 1 commit
-
-
Sayak Paul authored
make checkpointing compatible when using torch.compile.
-
- 09 Jan, 2024 1 commit
-
-
Sayak Paul authored
* make it torch.compile comaptible * make the text encoder compatible too. * style
-
- 05 Jan, 2024 1 commit
-
-
Sayak Paul authored
* post release * style --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 27 Dec, 2023 1 commit
-
-
Sayak Paul authored
* spit diffusers-native format from the get go. * rejig the peft_to_diffusers mapping.
-
- 24 Dec, 2023 1 commit
-
-
Sayak Paul authored
* initialize alpha too. * add: test * remove config parsing * store rank * debug * remove faulty test
-
- 22 Dec, 2023 1 commit
-
-
apolinário authored
* Fix ProdigyOPT in SDXL Dreambooth script * style * style
-
- 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 1 commit
-
-
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>
-
- 23 Nov, 2023 2 commits
-
-
Linoy Tsaban authored
readme improvement and metadata fix
-
Linoy Tsaban authored
* readme bug fix * style fix --------- Co-authored-by:Linoy Tsaban <linoy@huggingface.co>
-
- 21 Nov, 2023 2 commits
-
-
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
-
Linoy Tsaban authored
* Additions: - support for different lr for text encoder - support for Prodigy optimizer - support for min snr gamma - support for custom captions and dataset loading from the hub * adjusted --caption_column behaviour (to -not- use the second column of the dataset by default if --caption_column is not provided) * fixed --output_dir / --model_dir_name confusion * added --repeats, --adam_weight_decay_text_encoder + some fixes * Update examples/dreambooth/train_dreambooth_lora_sdxl.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update examples/dreambooth/train_dreambooth_lora_sdxl.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update examples/dreambooth/train_dreambooth_lora_sdxl.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * - import compute_snr from diffusers/training_utils.py - cluster adamw together - when using 'prodigy', if --train_text_encoder == True and --text_encoder_lr != --learning rate, changes the lr of the text encoders optimization params to be --learning_rate (otherwise errors) * shape fixes when custom captions are used * formatting and a little cleanup * code styling * --repeats default value fixed, changed to 1 * bug fix - removed redundant lines of embedding concatenation when using prior_preservation (that duplicated class_prompt embeddings) * changed dataset loading logic according to the following usecases (to avoid unnecessary dependency on datasets)- 1. user provides --dataset_name 2. user provides local dir --instance_data_dir that contains a metadata .jsonl file 3. user provides local dir --instance_data_dir that contains only images in cases [1,2] we import datasets and use load_dataset method, in case [3] we process the data same as in the original script setting * styling fix * arg name fix * adjusted the --repeats logic * -removed redundant arg and 'if' when loading local folder with prompts -updated readme template -some default val fixes -custom caption tests * image path fix for readme * code style * bug fix * --caption_column arg * readme fix --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Linoy Tsaban <linoy@huggingface.co>
-
- 17 Nov, 2023 1 commit
-
-
Lucain authored
* Set usedforsecurity=False in hashlib methods (FIPS compliance) * update version dependency * bump hfh version * bump hfh version
-
- 14 Nov, 2023 1 commit
-
-
Sayak Paul authored
* refactor loaders.py to make it cleaner and leaner. * refactor loaders init * inits. * textual inversion to the init. * inits. * remove certain modules from the main init. * AttnProcsLayers * fix imports * avoid circular import. * fix circular import pt 2. * address PR comments * imports * fix: imports. * remove from main init for avoiding circular deps. * remove spurious deps. * fix-copies. * fix imports. * more debug * more debug * Apply suggestions from code review * Apply suggestions from code review --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 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
-
- 27 Oct, 2023 1 commit
-
-
jiaqiw09 authored
* fix error reported 'find_unused_parameters' running in mutiple GPUs or NPUs * fix code check of importing module by its alphabetic order --------- Co-authored-by:
jiaqiw <wangjiaqi50@huawei.com> Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com>
-
- 23 Oct, 2023 2 commits
-
-
Patrick von Platen authored
-
Shyam Marjit authored
Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 16 Oct, 2023 1 commit
-
-
Heinz-Alexander Fuetterer authored
* chore: fix typos * Update src/diffusers/pipelines/shap_e/renderer.py Co-authored-by:
psychedelicious <4822129+psychedelicious@users.noreply.github.com> --------- Co-authored-by:
psychedelicious <4822129+psychedelicious@users.noreply.github.com>
-