- 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>
-
- 22 Nov, 2023 1 commit
-
-
Linoy Tsaban authored
Adds an advanced version of the SD-XL DreamBooth LoRA training script supporting pivotal tuning (#5883) * sdxl dreambooth lora training script with pivotal tuning * bug fix - args missing from parse_args * code quality fixes * comment unnecessary code from TokenEmbedding handler class * fixup --------- Co-authored-by:Linoy Tsaban <linoy@huggingface.co>
-
- 21 Nov, 2023 8 commits
-
-
Andrés Romero authored
* ControlNet+Adapter pipeline, and +Inpaint pipeline --------- Co-authored-by:andres <andres@hax.ai>
-
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
-
YiYi Xu authored
* add ip-adapter --------- Co-authored-by:
okotaku <to78314910@gmail.com> Co-authored-by:
sayakpaul <spsayakpaul@gmail.com> Co-authored-by:
yiyixuxu <yixu310@gmail,com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
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>
-
Steven Liu authored
* fix * feedback
-
Aryan V S authored
* add new callbacks to src/diffusers/pipelines/controlnet/pipeline_controlnet.py * update callbacks * fix repeated kwarg * update --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
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
-
co63oc authored
-
- 20 Nov, 2023 11 commits
-
-
Steven Liu authored
* first draft * remove old loader doc * start adding lora code examples * finish * add link to loralinearlayer * feedback * fix
-
M. Tolga Cangöz authored
* Revert "[`Docs`] Update and make improvements (#5819)" This reverts commit c697f524. * Update README.md * Update memory.md * Update basic_training.md * Update write_own_pipeline.md * Update fp16.md * Update basic_training.md * Update write_own_pipeline.md * Update write_own_pipeline.md
-
dg845 authored
* Change LCMScheduler.set_timesteps to pick more evenly spaced inference timesteps. * Change inference_indices implementation to better match previous behavior. * Add num_inference_steps=26 test case to test_inference_steps. * run CI --------- Co-authored-by:patil-suraj <surajp815@gmail.com>
-
Patrick von Platen authored
-
ginjia authored
* fix an issue that ipex occupy too much memory, it will not impact performance * make style --------- Co-authored-by:
root <jun.chen@intel.com> Co-authored-by:
Meng Guoqing <guoqing.meng@intel.com>
-
Younes Belkada authored
Update pr_test_peft_backend.yml
-
Roy Hvaara authored
An upcoming change to JAX will include non-local (addressable) CPU devices in jax.devices() when JAX is used multicontroller-style, where there are multiple Python processes. This change preserves the current behavior by replacing uses of jax.devices("cpu"), which previously only returned local devices, with jax.local_devices("cpu"), which will return local devices both now and in the future. This change is always safe (i.e., it should always preserve the previous behavior), but it may sometimes be unnecessary if code is never used in a multicontroller setting. Co-authored-by:Peter Hawkins <phawkins@google.com>
-
Aryan V S authored
* wip: add interpolate pipeline for lcm * update documentation * update documentation
-
Kashif Rasul authored
* ruff format * not need to use doc-builder's black styling as the doc is styled in ruff * make fix-copies * comment * use run_ruff
-
Sayak Paul authored
fix import Co-authored-by:Dhruv Nair <dhruv.nair@gmail.com>
-
Aryan V S authored
* fix: UnboundLocalError with image_latents * chore: run make style, quality, fix-copies * revert changes from make fix-copies * revert changes from make fix-copies --------- Co-authored-by:YiYi Xu <yixu310@gmail.com>
-
- 17 Nov, 2023 8 commits
-
-
Younes Belkada authored
* add also peft latest on peft CI * up * up * up * Update .github/workflows/pr_test_peft_backend.yml --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sourab Mangrulkar authored
* Update peft_utils.py * fix bug * make the util backwards compatible. Co-Authored-By:
Younes Belkada <49240599+younesbelkada@users.noreply.github.com> * fix import issue * refactor the backward compatibilty condition * rename the conditional variable * address comments Co-Authored-By:
Benjamin Bossan <BenjaminBossan@users.noreply.github.com> * address comment --------- Co-authored-by:
Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Co-authored-by:
Benjamin Bossan <BenjaminBossan@users.noreply.github.com>
-
Patrick von Platen authored
-
Will Berman authored
Co-authored-by:Dhruv Nair <dhruv.nair@gmail.com>
-
Lucain authored
* Set usedforsecurity=False in hashlib methods (FIPS compliance) * update version dependency * bump hfh version * bump hfh version
-
Sayak Paul authored
add: japanese sdxl as a reference
-
Patrick von Platen authored
* put peft in requirements * correct peft * correct installs * make style * make style
-
Steven Liu authored
fix section title
-
- 16 Nov, 2023 4 commits
-
-
M. Tolga Cangöz authored
Update and make improvements
-
Suraj Patil authored
* begin doc * fix examples * add in toctree * fix toctree * improve copy * improve introductions * add lcm doc * fix filename * Apply suggestions from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * address Sayak's comments * remove controlnet aux * open in colab * move to Specific pipeline examples * update controlent and adapter examples --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Suraj Patil authored
* support lcm * fix tests * fix tests
-
Aryan V S authored
* improvement: docs and type hints * improvement: docs and type hints minor refactor * improvement: docs and type hints * update with suggestions from review Co-Authored-By:
Dhruv Nair <dhruv.nair@gmail.com> --------- Co-authored-by:
Dhruv Nair <dhruv.nair@gmail.com>
-
- 15 Nov, 2023 5 commits
-
-
M. Tolga Cangöz authored
* Fix typos, update, add Copyright info, and trim trailing whitespace * Update docs/source/en/api/pipelines/text_to_video_zero.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * 1 second is not a long video, but 6 seconds is * Update text_to_video_zero.md * Update text_to_video_zero.md * Update text_to_video_zero.md * Update wuerstchen.md --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
M. Tolga Cangöz authored
[`Docs`] Fix typos, update, and add visualizations at Using Diffusers' Pipelines for Inference Page (#5649) * Fix typos, update, add visualizations * Update sdxl.md * Update controlnet.md * Update docs/source/en/using-diffusers/shap-e.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/using-diffusers/shap-e.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update diffedit.md * Update kandinsky.md * Update sdxl.md * Update controlnet.md * Update docs/source/en/using-diffusers/controlnet.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/using-diffusers/controlnet.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update controlnet.md --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
MilkClouds authored
* fix: enabled num_images_per_prompt>1 for lpw_stable_diffusion_xl * style: fixed isort
-
Dhruv Nair authored
* update test * update
-
M. Tolga Cangöz authored
Remove .to('cuda') before cpu_offload, trim trailing whitespaces
-
- 14 Nov, 2023 1 commit
-
-
Pedro Gabriel Gengo Lourenço authored
* Fixed doc for consistency decoder * Style fix
-