1. 21 Nov, 2023 7 commits
    • Patrick von Platen's avatar
      [Lora] Seperate logic (#5809) · 13d73d93
      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
      13d73d93
    • YiYi Xu's avatar
      [feat] IP Adapters (author @okotaku ) (#5713) · ba352aea
      YiYi Xu authored
      
      
      * add ip-adapter
      
      
      ---------
      Co-authored-by: default avatarokotaku <to78314910@gmail.com>
      Co-authored-by: default avatarsayakpaul <spsayakpaul@gmail.com>
      Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      ba352aea
    • Linoy Tsaban's avatar
      Add features to the Dreambooth LoRA SDXL training script (#5508) · 6fac1369
      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: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * Update examples/dreambooth/train_dreambooth_lora_sdxl.py
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * Update examples/dreambooth/train_dreambooth_lora_sdxl.py
      Co-authored-by: default avatarPatrick 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: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarLinoy Tsaban <linoy@huggingface.co>
      6fac1369
    • Steven Liu's avatar
      [docs] MusicLDM (#5854) · 1093f9d6
      Steven Liu authored
      * fix
      
      * feedback
      1093f9d6
    • Aryan V S's avatar
      Addition of new callbacks to controlnets (#5812) · 81780882
      Aryan V S authored
      
      
      * add new callbacks to src/diffusers/pipelines/controlnet/pipeline_controlnet.py
      
      * update callbacks
      
      * fix repeated kwarg
      
      * update
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      81780882
    • Dhruv Nair's avatar
      Add tests fetcher (#5848) · ebc7bede
      Dhruv Nair authored
      * add tests fetcher to utils
      
      * add test fetcher
      
      * update
      
      * update
      
      * remove unused dependency version check script
      
      * update
      
      * fix mistake
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * remove concurrency params
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * move test fetcher to dedicated workflow
      ebc7bede
    • co63oc's avatar
      Update README.md (#5855) · ee519cfe
      co63oc authored
      ee519cfe
  2. 20 Nov, 2023 11 commits
  3. 17 Nov, 2023 8 commits
  4. 16 Nov, 2023 4 commits
  5. 15 Nov, 2023 5 commits
  6. 14 Nov, 2023 5 commits