- 25 Dec, 2023 1 commit
-
-
Sayak Paul authored
* remove validation args from textual onverson tests * reduce number of train steps in textual inversion tests * fix: directories. * debig * fix: directories. * remove validation tests from textual onversion * try reducing the time of test_text_to_image_checkpointing_use_ema * fix: directories * speed up test_text_to_image_checkpointing * speed up test_text_to_image_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints * fix * speed up test_instruct_pix2pix_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints * set checkpoints_total_limit to 2. * test_text_to_image_lora_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints speed up * speed up test_unconditional_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints * debug * fix: directories. * speed up test_instruct_pix2pix_checkpointing_checkpoints_total_limit * speed up: test_controlnet_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints * speed up test_controlnet_sdxl * speed up dreambooth tests * speed up test_dreambooth_lora_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints * speed up test_custom_diffusion_checkpointing_checkpoints_total_limit_removes_multiple_checkpoints * speed up test_text_to_image_lora_sdxl_text_encoder_checkpointing_checkpoints_total_limit * speed up # checkpoint-2 should have been deleted * speed up examples/text_to_image/test_text_to_image.py::TextToImage::test_text_to_image_checkpointing_checkpoints_total_limit * additional speed ups * style
-
- 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
-
- 22 Dec, 2023 2 commits
-
-
apolinário authored
* Fix ProdigyOPT in SDXL Dreambooth script * style * style
-
Bingxin Ke authored
* [Community Pipeline] Add Marigold Monocular Depth Estimation - add single-file pipeline - update README * fix format - add one blank line * format script with ruff * use direct image link in example code --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 21 Dec, 2023 4 commits
-
-
Will Berman authored
amused rename Update docs/source/en/api/pipelines/amused.md Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> AdaLayerNormContinuous default values custom micro conditioning micro conditioning docs put lookup from codebook in constructor fix conversion script remove manual fused flash attn kernel add training script temp remove training script add dummy gradient checkpointing func clarify temperatures is an instance variable by setting it remove additional SkipFF block args hardcode norm args rename tests folder fix paths and samples fix tests add training script training readme lora saving and loading non-lora saving/loading some readme fixes guards Update docs/source/en/api/pipelines/amused.md Co-authored-by:
Suraj Patil <surajp815@gmail.com> Update examples/amused/README.md Co-authored-by:
Suraj Patil <surajp815@gmail.com> Update examples/amused/train_amused.py Co-authored-by:
Suraj Patil <surajp815@gmail.com> vae upcasting add fp16 integration tests use tuple for micro cond copyrights remove casts delegate to torch.nn.LayerNorm move temperature to pipeline call upsampling/downsampling changes
-
YShow authored
* remove depcreated method from lora scripts * check code quality
-
lvzi authored
Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
dependabot[bot] authored
Bump transformers in /examples/research_projects/realfill Bumps [transformers](https://github.com/huggingface/transformers) from 4.34.0 to 4.36.0. - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](https://github.com/huggingface/transformers/compare/v4.34.0...v4.36.0 ) --- updated-dependencies: - dependency-name: transformers dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 20 Dec, 2023 1 commit
-
-
hako-mikan authored
* Update regional_prompting_stable_diffusion.py * reformat * reformat * reformat * reformat * reformat * reformat * reformat * regormat * reformat * reformat * reformat * reformat * Update regional_prompting_stable_diffusion.py --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 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 5 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>
-
Aryan V S authored
* add img2img and inpaint support to lpw-xl * update community README --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
TilmannR authored
Typo: The script for LoRA training is `train_text_to_image_lora_prior.py` not `train_text_to_image_prior_lora.py`. Alternatively you could rename the file and keep the README.md unchanged.
-
Sayak Paul authored
remove depcreated method from lora scripts.
-
Yudong Jin authored
* Update examples/text_to_image/README.md * Update examples/text_to_image/README.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 15 Dec, 2023 1 commit
-
-
dg845 authored
* Clean up comments in LCM(-LoRA) distillation scripts. * Calculate predicted source noise noise_pred correctly for all prediction_types. * make style * apply suggestions from review --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 14 Dec, 2023 2 commits
-
-
Linoy Tsaban authored
[advanced dreambooth lora sdxl training script] load pipeline for inference only if validation prompt is used (#6171) * load pipeline for inference only if validation prompt is used * move things outside * load pipeline for inference only if validation prompt is used * fix readme when validation prompt is used --------- Co-authored-by:
linoytsaban <linoy@huggingface.co> Co-authored-by:
apolinário <joaopaulo.passos@gmail.com>
-
Monohydroxides authored
* Add community pipeline: sde_drag.py * Update README.md * Update README.md Update example code and visual example * Update sde_drag.py Update code example.
-
- 11 Dec, 2023 1 commit
-
-
M. Tolga Cangöz authored
Fix typos and trim trailing whitespaces
-
- 08 Dec, 2023 2 commits
-
-
apolinário authored
-
apolinário authored
add widget
-
- 07 Dec, 2023 2 commits
-
-
Aryan V S authored
* begin work on animatediff + controlnet pipeline * complete todos, uncomment multicontrolnet, input checks Co-Authored-By:
EdoardoBotta <botta.edoardo@gmail.com> * update Co-Authored-By:
EdoardoBotta <botta.edoardo@gmail.com> * add example * update community README * Update examples/community/README.md --------- Co-authored-by:
EdoardoBotta <botta.edoardo@gmail.com> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
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>
-
- 06 Dec, 2023 3 commits
-
-
Lucain authored
* Harmonize HF environment variables + deprecate use_auth_token * fix import * fix
-
apolinário authored
* add cache latents * style
-
Pedro Cuenca authored
* Fix SD scripts - there are only 2 items per batch * Adjustments to make the SDXL scripts work with other datasets * Use public webdataset dataset for examples * make style * Minor tweaks to the readmes. * Stress that the database is illustrative.
-
- 05 Dec, 2023 2 commits
-
-
apolinário authored
* Update train_dreambooth_lora_sdxl_advanced.py * remove global function args from dreamboothdataset class * style * style --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Radamés Ajna authored
* Update pipeline_demofusion_sdxl.py * Update README.md
-
- 04 Dec, 2023 5 commits
-
-
Linoy Tsaban authored
* improve help tags * style fix * changes token_abstraction type to string. support multiple concepts for pivotal using a comma separated string. * style fixup * changed logger to warning (not yet available) * moved the token_abstraction parsing to be in the same block as where we create the mapping of identifier to token --------- Co-authored-by:Linoy <linoy@huggingface.co>
-
RuoyiDu authored
* Add files via upload * Update README.md * Update pipeline_demofusion_sdxl.py * Update pipeline_demofusion_sdxl.py * Update examples/community/README.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Levi McCallum authored
Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
gujing authored
-
Linoy Tsaban authored
* improve help tags * style fix --------- Co-authored-by:Linoy <linoy@huggingface.co>
-
- 01 Dec, 2023 6 commits
-
-
Long(Tony) Lian authored
* LLMGroundedDiffusionPipeline: inherit from DiffusionPipeline and fix peft * Use main in the revision in the examples * Add "Copied from" statements in comments * Fix formatting with ruff
-
Patrick von Platen authored
* Post Release: v0.24.0 * post pone deprecation * post pone deprecation * Add model_index.json
-
Patrick von Platen authored
-
hako-mikan authored
* Update README.md * Update README.md * Add files via upload * Update README.md * Update examples/community/README.md --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Linoy Tsaban authored
readme
-
Linoy Tsaban authored
[examples/advanced_diffusion_training] bug fixes and improvements for LoRA Dreambooth SDXL advanced training script (#5935) * imports and readme bug fixes * bug fix - ensures text_encoder params are dtype==float32 (when using pivotal tuning) even if the rest of the model is loaded in fp16 * added pivotal tuning to readme * mapping token identifier to new inserted token in validation prompt (if used) * correct default value of --train_text_encoder_frac * change default value of --adam_weight_decay_text_encoder * validation prompt generations when using pivotal tuning bug fix * style fix * textual inversion embeddings name change * style fix * bug fix - stopping text encoder optimization halfway * readme - will include token abstraction and new inserted tokens when using pivotal tuning - added type to --num_new_tokens_per_abstraction * style fix --------- Co-authored-by:Linoy Tsaban <linoy@huggingface.co>
-