- 29 Nov, 2023 1 commit
-
-
Sayak Paul authored
* control and custom diffusion * dreambooth * instructpix2pix and dreambooth ckpting * t2i adapters. * text to image ft * textual inversion * unconditional * workflows * import fix * fix import
-
- 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>
-
- 26 Oct, 2023 1 commit
-
-
nickkolok authored
-
- 23 Oct, 2023 2 commits
-
-
Patrick von Platen authored
-
Shyam Marjit authored
Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 16 Oct, 2023 2 commits
-
-
Sayak Paul authored
* update training examples to use HFAPI. * update training example. * reflect the changes in the korean version too. * Empty-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>
-
- 11 Oct, 2023 1 commit
-
-
Sayak Paul authored
* use loralinear instead of depecrecated lora attn procs. * fix parameters() * fix saving * add back support for add kv proj. * fix: param accumul,ation. * propagate the changes.
-
- 08 Oct, 2023 1 commit
-
-
Zeng Xian authored
-
- 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.
-
- 21 Sep, 2023 1 commit
-
-
Bagheera authored
* min-SNR gamma for Dreambooth training * Align the mse_loss_weights style with SDXL training example --------- Co-authored-by:
bghira <bghira@users.github.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 14 Sep, 2023 1 commit
-
-
Patrick von Platen authored
* [Release 0.21] Bump version * fix & remove * fix more * fix all, upload
-
- 08 Sep, 2023 1 commit
-
-
Will Berman authored
-
- 25 Aug, 2023 2 commits
-
-
Will Berman authored
-
Sayak Paul authored
* fix sdxl dreambooth lora checkpointing. * style
-
- 23 Aug, 2023 1 commit
-
-
Yinzhen Wang authored
* dreambooth training * train_dreambooth validation scheduler * set a particular scheduler via a string * modify readme after setting a particular scheduler via a string * modify readme after setting a particular scheduler * use importlib to set a particular scheduler * import with correct sort
-
- 17 Aug, 2023 2 commits
-
-
Sayak Paul authored
-
Patrick von Platen authored
* make safetensors default * set default save method as safetensors * update tests * update to support saving safetensors * update test to account for safetensors default * update example tests to use safetensors * update example to support safetensors * update unet tests for safetensors * fix failing loader tests * fix qc issues * fix pipeline tests * fix example test --------- Co-authored-by:Dhruv Nair <dhruv.nair@gmail.com>
-
- 09 Aug, 2023 1 commit
-
-
Sayak Paul authored
Update README_sdxl.md
-
- 07 Aug, 2023 4 commits
-
-
Patrick von Platen authored
-
Patrick von Platen authored
* Make sue fp16-fix is used as default * fix vae * finish * fix
-
Patrick von Platen authored
fix batch size lora
-
Vladislav Artemyev authored
Co-authored-by:mrlzla <noname@noname.com>
-
- 04 Aug, 2023 2 commits
-
-
Patrick von Platen authored
* correct * correct blocks * finish * finish * finish * Apply suggestions from code review * fix * up * up * up * Update examples/dreambooth/README_sdxl.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * Apply suggestions from code review --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Patrick von Platen authored
-
- 03 Aug, 2023 1 commit
-
-
Levi McCallum authored
* Add rank argument to train_dreambooth_lora_sdxl.py * Update train_dreambooth_lora_sdxl.py
-
- 01 Aug, 2023 1 commit
-
-
Will Berman authored
-
- 28 Jul, 2023 2 commits
-
-
Sayak Paul authored
* sdxl lora changes. * better name replacement. * better replacement. * debugging * debugging * debugging * debugging * debugging * remove print. * print state dict keys. * print * distingisuih better * debuggable. * fxi: tyests * fix: arg from training script. * access from class. * run style * debug * save intermediate * some simplifications for SDXL LoRA * styling * unet config is not needed in diffusers format. * fix: dynamic SGM block mapping for SDXL kohya loras (#4322) * Use lora compatible layers for linear proj_in/proj_out (#4323) * improve condition for using the sgm_diffusers mapping * informative comment. * load compatible keys and embedding layer maaping. * Get SDXL 1.0 example lora to load * simplify * specif ranks and hidden sizes. * better handling of k rank and hidden * debug * debug * debug * debug * debug * fix: alpha keys * add check for handling LoRAAttnAddedKVProcessor * sanity comment * modifications for text encoder SDXL * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * denugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debugging * up * up * up * up * up * up * unneeded comments. * unneeded comments. * kwargs for the other attention processors. * kwargs for the other attention processors. * debugging * debugging * debugging * debugging * improve * debugging * debugging * more print * Fix alphas * debugging * debugging * debugging * debugging * debugging * debugging * clean up * clean up. * debugging * fix: text --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Batuhan Taskaya <batuhan@python.org>
-
Patrick von Platen authored
[SDXL] Make watermarker optional under certain circumstances to improve usability of SDXL 1.0 (#4346) * improve sdxl * more fixes * improve sdxl * improve sdxl * improve sdxl * finish
-
- 27 Jul, 2023 1 commit
-
-
Sayak Paul authored
* honor the original license. * train_instruct_pix2pix_xl -> train_instruct_pix2pix_sdxl
-