- 12 Dec, 2024 3 commits
-
-
hlky authored
* Remove `negative_*` from SDXL callback * Change example and add XL version
-
Sayak Paul authored
* update * add * update * add control-lora conversion script; make flux loader handle norms; fix rank calculation assumption * control lora updates * remove copied-from * create separate pipelines for flux control * make fix-copies * update docs * add tests * fix * Apply suggestions from code review Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * remove control lora changes * apply suggestions from review * Revert "remove control lora changes" This reverts commit 73cfc519c9b99b7dc3251cc6a90a5db3056c4819. * update * update * improve log messages * updates. * updates * support register_config. * fix * fix * fix * updates * updates * updates * fix-copies * fix * apply suggestions from review * add tests * remove conversion script; enable on-the-fly conversion * bias -> lora_bias. * fix-copies * peft.py * fix lora conversion * changes Co-authored-by:
a-r-r-o-w <contact.aryanvs@gmail.com> * fix-copies * updates for tests * fix * alpha_pattern. * add a test for varied lora ranks and alphas. * revert changes in num_channels_latents = self.transformer.config.in_channels // 8 * revert moe * add a sanity check on unexpected keys when loading norm layers. * contro lora. * fixes * fixes * fixes * tests * reviewer feedback * fix * proper peft version for lora_bias * fix-copies * updates * updates * updates * remove debug code * update docs * integration tests * nis * fuse and unload. * fix * add slices. * more updates. * button up readme * train() * add full fine-tuning version. * fixes * Apply suggestions from code review Co-authored-by:
Aryan <aryan@huggingface.co> * set_grads_to_none remove. * readme --------- Co-authored-by:
Aryan <aryan@huggingface.co> Co-authored-by:
yiyixuxu <yixu310@gmail.com> Co-authored-by:
a-r-r-o-w <contact.aryanvs@gmail.com>
-
Ethan Smith authored
* fix min-snr implementation https://github.com/kohya-ss/sd-scripts/blob/main/library/custom_train_functions.py#L66 * Update train_dreambooth.py fix variable name mse_loss_weights * fix divisor * make style --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
YiYi Xu <yixu310@gmail.com>
-
- 10 Dec, 2024 3 commits
-
-
Linoy Tsaban authored
* fix example in doc * remove redundancies * change param
-
hlky authored
Use torch in get_3d_rotary_pos_embed/_allegro
-
Linoy Tsaban authored
* initial commit * update denoising loop * fix scheduling * style * fix import * fixes * fixes * style * fixes * change invert * change denoising & check inputs * shape & timesteps fixes * timesteps fixes * style * remove redundancies * small changes * update documentation a bit * update documentation a bit * update documentation a bit * style * change strength param, remove redundancies * style * forward ode loop change * add inversion progress bar * fix image_seq_len * revert to strength but == 1 by default. * style * add "copied from..." comments * credit authors * make style * return inversion outputs without self-assigning * adjust denoising loop to generate regular images if inverted latents are not provided * adjust denoising loop to generate regular images if inverted latents are not provided * fix import * comment * remove redundant line * modify comment on ti * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * Update examples/community/pipeline_flux_rf_inversion.py Co-authored-by:
hlky <hlky@hlky.ac> * fix syntax error --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
hlky <hlky@hlky.ac>
-
- 06 Dec, 2024 3 commits
-
-
Yu Zheng authored
* support sd3.5 in controlnet --------- Co-authored-by:YiYi Xu <yixu310@gmail.com>
-
Juan Acevedo authored
* update ptxla example --------- Co-authored-by:
Juan Acevedo <jfacevedo@google.com> Co-authored-by:
Pei Zhang <zpcore@gmail.com> Co-authored-by:
Pei Zhang <piz@google.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Pei Zhang <pei@Peis-MacBook-Pro.local> Co-authored-by:
hlky <hlky@hlky.ac>
-
suzukimain authored
* Added example of model search. * Combine processing into one file * Add parameters for base model * Bug Fixes * bug fix * Create README.md * Update search_for_civitai_and_HF.py * Create requirements.txt * bug fix * Update README.md * bug fix * Correction of typos * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * apply the changes * Replace search_for_civitai_and_HF.py with pipeline_easy.py * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/model_search/README.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update README.md * Organize the table of parameters * Update README.md * Update README.md * Update README.md * make style * Fixing the style of pipeline * Fix pipeline style * fix --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
- 03 Dec, 2024 2 commits
-
-
aihao authored
* add data_dir parameter to load_dataset --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
YiYi Xu <yixu310@gmail.com> Co-authored-by:
hlky <hlky@hlky.ac>
-
Parag Ekbote authored
* Add Diffuser Notebooks for Community Scripts. * Add missing link. * Styling Improvement.
-
- 28 Nov, 2024 3 commits
-
-
Dimitri Barbot authored
* Add reference_attn & reference_adain support for sdxl with other controlnet * Update README.md * Update README.md by replacing human example with a cat one Replace human example with a cat one * Replace default human example with a cat one * Use example images from huggingface documentation-images repository --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
cjkangme authored
* [Fix] fix bugs of regional_prompting pipeline * [Feat] add base prompt feature * [Fix] fix __init__ pipeline error * [Fix] delete unused args * [Fix] improve string handling * [Docs] docs to use_base in regional_prompting * make style --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Dimitri Barbot authored
* Update sdxl reference community pipeline * Update README.md Add example images. * Style & quality * Use example images from huggingface documentation-images repository --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 27 Nov, 2024 1 commit
-
-
Parag Ekbote authored
* Add Notebooks for Community Scripts in ReadME. * Minor Script Improvement.
-
- 25 Nov, 2024 1 commit
-
-
SkyCol authored
Add files via upload
-
- 24 Nov, 2024 1 commit
-
-
Linoy Tsaban authored
* smol change to fix checkpoint saving & resuming (as done in train_dreambooth_sd3.py) * style * modify comment to explain reasoning behind hidden size check
-
- 19 Nov, 2024 2 commits
-
-
Parag Ekbote authored
* Move files to research-projects. * docs: add IP Adapter training instructions * Delete venv * Update examples/ip_adapter/tutorial_train_sdxl.py Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * Cherry-picked commits and re-moved files to research_projects. * make style. * Update toctree and delete ip_adapter. * Nit Fix * Fix nit. * Fix nit. * Create training script for single GPU and set model format to .safetensors * Add sample inference script and restore _toctree * Restore toctree.yaml * fix spacing. * Update toctree.yaml --------- Co-authored-by:
AMohamedAakhil <a.aakhilmohamed@gmail.com> Co-authored-by:
BootesVoid <78485654+AMohamedAakhil@users.noreply.github.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Linoy Tsaban authored
* memory improvement as done here: https://github.com/huggingface/diffusers/pull/9829 * fix bug * fix bug * style --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 18 Nov, 2024 2 commits
-
-
Parag Ekbote authored
4 Notebooks for Community Scripts and minor script improvements.
-
Grant Sherrick authored
* Add server example. * Minor updates to README. * Add fixes after local testing. * Apply suggestions from code review Updates to README from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * More doc updates. * Maybe this will work to build the docs correctly? * Fix style issues. * Fix toc. * Minor reformatting. * Move docs to proper loc. * Fix missing tick. * Apply suggestions from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Sync docs changes back to README. * Very minor update to docs to add space. --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
- 16 Nov, 2024 1 commit
-
-
Parag Ekbote authored
update file paths to research_projects folder. Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
- 13 Nov, 2024 1 commit
-
-
Parag Ekbote authored
* Add Notebooks on Community Scripts
-
- 08 Nov, 2024 3 commits
-
-
Sayak Paul authored
fix: gradient unscaling problem Co-authored-by:Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com>
-
SahilCarterr authored
* fix use_dora * fix style and quality * fix use_dora with peft version --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Michael Tkachuk authored
* refactored
-
- 07 Nov, 2024 1 commit
-
-
Sayak Paul authored
* move vae flax module. * controlnet module. * prepare for PR. * revert a commit * gracefully deprecate controlnet deps. * fix * fix doc path * fix-copies * fix path * style * style * conflicts * fix * fix-copies * sparsectrl. * updates * fix * updates * updates * updates * fix --------- Co-authored-by:Dhruv Nair <dhruv.nair@gmail.com>
-
- 06 Nov, 2024 2 commits
-
-
SahilCarterr authored
* updated encode prompt and clip encod prompt --------- Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Sookwan Han authored
* Add new community pipeline for 'Adaptive Mask Inpainting', introduced in [ECCV2024] Beyond the Contact: Discovering Comprehensive Affordance for 3D Objects from Pre-trained 2D Diffusion Models
-
- 02 Nov, 2024 1 commit
-
-
Dorsa Rohani authored
* enable cpu ability * model creation + comprehensive testing * training + tests * all tests working * remove unneeded files + clarify docs * update train tests * update readme.md * remove data from gitignore * undo cpu enabled option * Update README.md * update readme * code quality fixes * diffusion policy example * update readme * add pretrained model weights + doc * add comment * add documentation * add docstrings * update comments * update readme * fix code quality * Update examples/reinforcement_learning/README.md Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * Update examples/reinforcement_learning/diffusion_policy.py Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> * suggestions + safe globals for weights_only=True * suggestions + safe weights loading * fix code quality * reformat file --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 01 Nov, 2024 4 commits
-
-
Leo Jiang authored
* Improve NPU performance * Improve NPU performance * Improve NPU performance * Improve NPU performance * [bugfix] bugfix for npu free memory * [bugfix] bugfix for npu free memory * [bugfix] bugfix for npu free memory * Reduce memory cost for flux training process --------- Co-authored-by:
蒋硕 <jiangshuo9@h-partners.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Boseong Jeon authored
Handling mixed precision and add unwarp Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com>
-
ScilenceForest authored
Update train_controlnet_flux.py Fix the problem of inconsistency between size of image and size of validation_image which causes np.stack to report error. Co-authored-by:Sayak Paul <spsayakpaul@gmail.com>
-
Leo Jiang authored
* NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX --------- Co-authored-by:蒋硕 <jiangshuo9@h-partners.com>
-
- 31 Oct, 2024 3 commits
-
-
Abhipsha Das authored
* modelcard generation edit * add missed tag * fix param name * fix var * change str to dict * add use_dora check * use correct tags for lora * make style && make quality --------- Co-authored-by:Aryan <aryan@huggingface.co>
-
Sayak Paul authored
* use the lr when using 8bit adam. * remove lr as we pack it in params_to_optimize. --------- Co-authored-by:Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com>
-
Sayak Paul authored
[training] fixes to the quantization training script and add AdEMAMix optimizer as an option (#9806) * fixes * more fixes.
-
- 28 Oct, 2024 3 commits
-
-
Raul Ciotescu authored
* add the controlnet pipeline for pixart alpha --------- Co-authored-by:
YiYi Xu <yixu310@gmail.com> Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> Co-authored-by:
junsongc <cjs1020440147@icloud.com>
-
Linoy Tsaban authored
* make lora target modules configurable and change the default * style * make lora target modules configurable and change the default * fix bug when using prodigy and training te * fix mixed precision training as proposed in https://github.com/huggingface/diffusers/pull/9565 for full dreambooth as well * add test and notes * style * address sayaks comments * style * fix test --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
Linoy Tsaban authored
* configurable layers * configurable layers * update README * style * add test * style * add layer test, update readme, add nargs * readme * test style * remove print, change nargs * test arg change * style * revert nargs 2/2 * address sayaks comments * style * address sayaks comments
-