- 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>
-
- 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 4 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
-
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>
-
co63oc authored
-
- 20 Nov, 2023 4 commits
-
-
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>
-
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
-
- 17 Nov, 2023 1 commit
-
-
Lucain authored
* Set usedforsecurity=False in hashlib methods (FIPS compliance) * update version dependency * bump hfh version * bump hfh version
-
- 15 Nov, 2023 1 commit
-
-
MilkClouds authored
* fix: enabled num_images_per_prompt>1 for lpw_stable_diffusion_xl * style: fixed isort
-
- 14 Nov, 2023 4 commits
-
-
Kadir Nar authored
*
🔧 Fix import codes in diffusers library *✨ Refactor imports in community examples -
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>
-
co63oc authored
-
Long(Tony) Lian authored
Fix the pipeline name in the examples for LMD+ pipeline. Add a colab link to pipeline README. (#5775) * Fix the pipeline name in the examples for LMD+ pipeline * Add LMD+ colab link * Apply code formatting --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 13 Nov, 2023 5 commits
-
-
Thuan H. Nguyen authored
Correct code for distributed training
-
Nicolas Hug authored
-
Patrick von Platen authored
-
Jianqi Pan authored
fix: ignore other args Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
Younes Belkada authored
fix styling issues
-
- 11 Nov, 2023 1 commit
-
-
Long(Tony) Lian authored
* Add LLM-grounded Diffusion (LMD+) pipeline * Update the formatting * Applied formatting
-
- 10 Nov, 2023 2 commits
-
-
Sayak Paul authored
* post release * fix: variant test * up * fix: test
-
aihao authored
-
- 09 Nov, 2023 1 commit
-
-
Suraj Patil authored
* add lcm scripts * Co-authored-by: dgu8957@gmail.com
-
- 06 Nov, 2023 1 commit
-
-
Sayak Paul authored
post release
-
- 01 Nov, 2023 1 commit
-
-
Patrick von Platen authored
Revert "Fix the order of width and height of original size in SDXL training script (#5382)" This reverts commit 45db0499.
-
- 31 Oct, 2023 3 commits
-
-
M. Tolga Cangöz authored
* Add Copyright info * Fix typos, improve, update * Update deepfloyd_if.md * Update ldm3d_diffusion.md * Update opt_overview.md
-
YiYi Xu authored
fix Co-authored-by:yiyixuxu <yixu@Yis-MacBook-Pro.local>
-
Jincheng Miao authored
-
- 30 Oct, 2023 1 commit
-
-
Thuan H. Nguyen authored
* Add realfill * Move realfill folder * Fix some format issues
-
- 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
-
- 25 Oct, 2023 3 commits
-
-
Ran Ran authored
* Add from_pt flag to enable model from PT * Format the file * Reformat the file
-
Patrick von Platen authored
-
Logan authored
* Add a new community pipeline examples/community/latent_consistency_img2img.py which can be called like this import torch from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained( "SimianLuo/LCM_Dreamshaper_v7", custom_pipeline="latent_consistency_txt2img", custom_revision="main") # To save GPU memory, torch.float16 can be used, but it may compromise image quality. pipe.to(torch_device="cuda", torch_dtype=torch.float32) img2img=LatentConsistencyModelPipeline_img2img( vae=pipe.vae, text_encoder=pipe.text_encoder, tokenizer=pipe.tokenizer, unet=pipe.unet, #scheduler=pipe.scheduler, scheduler=None, safety_checker=None, feature_extractor=pipe.feature_extractor, requires_safety_checker=False, ) img = Image.open("thisismyimage.png") result = img2img(prompt,img,strength,num_inference_steps=4) * Apply suggestions from code review Fix name formatting for scheduler Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com> * update readme (and run formatter on latent_consistency_img2img.py) --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 23 Oct, 2023 2 commits
-
-
Patrick von Platen authored
-
Shyam Marjit authored
Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-