Dhruv Nair
bce9105ac7
[CI] Fix parallelism in nightly tests ( #8983 )
...
update
2024-07-26 10:04:01 +05:30
RandomGamingDev
2afb2e0aac
Added accelerator based gradient accumulation for basic_example ( #8966 )
...
added accelerator based gradient accumulation for basic_example
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-26 09:35:52 +05:30
Sayak Paul
d87fe95f90
[Chore] add LoraLoaderMixin to the inits ( #8981 )
...
* introduce to promote reusability.
* up
* add more tests
* up
* remove comments.
* fix fuse_nan test
* clarify the scope of fuse_lora and unfuse_lora
* remove space
* rewrite fuse_lora a bit.
* feedback
* copy over load_lora_into_text_encoder.
* address dhruv's feedback.
* fix-copies
* fix issubclass.
* num_fused_loras
* fix
* fix
* remove mapping
* up
* fix
* style
* fix-copies
* change to SD3TransformerLoRALoadersMixin
* Apply suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* up
* handle wuerstchen
* up
* move lora to lora_pipeline.py
* up
* fix-copies
* fix documentation.
* comment set_adapters().
* fix-copies
* fix set_adapters() at the model level.
* fix?
* fix
* loraloadermixin.
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-26 08:59:33 +05:30
Sayak Paul
50e66f2f95
[Chore] remove all is from auraflow. ( #8980 )
...
remove all is from auraflow.
2024-07-26 07:31:06 +05:30
efwfe
9b8c8605d1
fix guidance_scale value not equal to the value in comments ( #8941 )
...
fix guidance_scale value not equal with the value in comments
2024-07-25 12:31:37 -10:00
YiYi Xu
62863bb1ea
Revert "[LoRA] introduce LoraBaseMixin to promote reusability." ( #8976 )
...
Revert "[LoRA] introduce LoraBaseMixin to promote reusability. (#8774 )"
This reverts commit 527430d0a4 .
2024-07-25 09:10:35 -10:00
mazharosama
1fd647f2a0
Enable CivitAI SDXL Inpainting Models Conversion ( #8795 )
...
modify in_channels in network_config params
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 07:44:57 -10:00
asfiyab-nvidia
0bda1d7b89
Update TensorRT img2img community pipeline ( #8899 )
...
* Update TensorRT img2img pipeline
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* Update TensorRT version installed
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* make style and quality
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* Update examples/community/stable_diffusion_tensorrt_img2img.py
Co-authored-by: Tolga Cangöz <46008593+tolgacangoz@users.noreply.github.com >
* Update examples/community/README.md
Co-authored-by: Tolga Cangöz <46008593+tolgacangoz@users.noreply.github.com >
* Apply style and quality using ruff 0.1.5
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
---------
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
Co-authored-by: Tolga Cangöz <46008593+tolgacangoz@users.noreply.github.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 21:58:21 +05:30
Sayak Paul
527430d0a4
[LoRA] introduce LoraBaseMixin to promote reusability. ( #8774 )
...
* introduce to promote reusability.
* up
* add more tests
* up
* remove comments.
* fix fuse_nan test
* clarify the scope of fuse_lora and unfuse_lora
* remove space
* rewrite fuse_lora a bit.
* feedback
* copy over load_lora_into_text_encoder.
* address dhruv's feedback.
* fix-copies
* fix issubclass.
* num_fused_loras
* fix
* fix
* remove mapping
* up
* fix
* style
* fix-copies
* change to SD3TransformerLoRALoadersMixin
* Apply suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* up
* handle wuerstchen
* up
* move lora to lora_pipeline.py
* up
* fix-copies
* fix documentation.
* comment set_adapters().
* fix-copies
* fix set_adapters() at the model level.
* fix?
* fix
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 21:40:58 +05:30
Aryan
3ae0ee88d3
[tests] speed up animatediff tests ( #8846 )
...
* speed up animatediff tests
* fix pia test_ip_adapter_single
* fix tests/pipelines/pia/test_pia.py::PIAPipelineFastTests::test_dict_tuple_outputs_equivalent
* update
* fix ip adapter tests
* skip test_from_pipe_consistent_config tests
* fix prompt_embeds test
* update test_from_pipe_consistent_config tests
* fix expected_slice values
* remove temporal_norm_num_groups from UpBlockMotion
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 17:35:43 +05:30
Dhruv Nair
5fbb4d32d5
[CI] Slow Test Updates ( #8870 )
...
* update
* update
* update
2024-07-25 16:00:43 +05:30
Sayak Paul
d8bcb33f4b
[Tests] fix slices of 26 tests (first half) ( #8959 )
...
* check for assertions.
* update with correct slices.
* okay
* style
* get it ready
* update
* update
* update
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 14:56:49 +05:30
Sanchit Gandhi
4a782f462a
[AudioLDM2] Fix cache pos for GPT-2 generation ( #8964 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-25 09:21:49 +05:30
RandomGamingDev
cdd12bde17
Added Code for Gradient Accumulation to work for basic_training ( #8961 )
...
added line allowing gradient accumulation to work for basic_training example
2024-07-25 08:40:53 +05:30
Sayak Paul
2c25b98c8e
[AuraFlow] fix long prompt handling ( #8937 )
...
fix
2024-07-24 11:19:30 +05:30
Dhruv Nair
93983b6780
[CI] Skip flaky download tests in PR CI ( #8945 )
...
update
2024-07-24 09:25:06 +05:30
Sayak Paul
41b705f42d
remove residual i from auraflow. ( #8949 )
...
* remove residual i.
* rename to aura_flow in pipeline test
2024-07-24 07:31:54 +05:30
Sayak Paul
50d21f7c6a
[Core] fix QKV fusion for attention ( #8829 )
...
* start debugging the problem,
* start
* fix
* fix
* fix imports.
* handle hunyuan
* remove residuals.
* add a check for making sure there's appropriate procs.
* add more rigor to the tests.
* fix test
* remove redundant check
* fix-copies
* move check_qkv_fusion_matches_attn_procs_length and check_qkv_fusion_processors_exist.
2024-07-24 06:52:19 +05:30
Dhruv Nair
3bb1fd6fc0
Fix name when saving text inversion embeddings in dreambooth advanced scripts ( #8927 )
...
update
2024-07-23 19:51:20 +05:30
Tolga Cangöz
cf55dcf0ff
Fix Colab and Notebook checks for diffusers-cli env ( #8408 )
...
* chore: Update is_google_colab check to use environment variable
* Check Colab with all possible COLAB_* env variables
* Remove unnecessary word
* Make `_is_google_colab` more inclusive
* Revert "Make `_is_google_colab` more inclusive"
This reverts commit 6406db21ac .
* Make `_is_google_colab` more inclusive.
* chore: Update import_utils.py with notebook check improvement
* Refactor import_utils.py to improve notebook detection for VS Code's notebook
* chore: Remove `is_notebook()` function and related code
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-23 18:04:20 +05:30
Vinh H. Pham
7a95f8d9d8
[Tests] Improve transformers model test suite coverage - Temporal Transformer ( #8932 )
...
* add test for temporal transformer
* remove unused variable
* fix code quality
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-23 15:36:30 +05:30
akbaig
7710415baf
fix: checkpoint save issue in advanced dreambooth lora sdxl script ( #8926 )
...
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com >
2024-07-23 14:44:56 +05:30
Aritra Roy Gosthipaty
8b21feed42
[Tests] reduce the model size in the audioldm2 fast test ( #7846 )
...
* chore: initial model size reduction
* chore: fixing expected values for failing tests
* requested edits
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-23 14:34:07 +05:30
Dhruv Nair
f57b27d2ad
Update pipeline test fetcher ( #8931 )
...
update
2024-07-23 10:02:22 +05:30
Sayak Paul
c5fdf33a10
[Benchmarking] check if runner helps to restore benchmarking ( #8929 )
...
* check if runner helps.
* remove caching
* gpus
* update runner group
2024-07-23 06:38:13 +05:30
Vishnu V Jaddipal
77c5de2e05
Add attentionless VAE support ( #8769 )
...
* Add attentionless VAE support
* make style and quality, fix-copies
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-22 14:16:58 -10:00
Sayak Paul
af400040f5
[Tests] proper skipping of request caching test ( #8908 )
...
proper skipping of request caching test
2024-07-22 12:52:57 -10:00
Jiwook Han
5802c2e3f2
Reflect few contributions on ethical_guidelines.md that were not reflected on #8294 ( #8914 )
...
fix_ethical_guidelines.md
2024-07-22 08:48:23 -07:00
Sayak Paul
f4af03b350
[Docs] small fixes to pag guide. ( #8920 )
...
small fixes to pag guide.
2024-07-22 08:35:01 -07:00
Seongsu Park
267bf65707
🌐 [i18n-KO] Translated docs to Korean (added 7 docs and etc) ( #8804 )
...
* remove unused docs
* add ko-18n docs
* docs typo, edit etc
* reorder list, add `in translation` in toctree
* fix minor translation
* fix docs minor tone, etc
2024-07-22 08:08:44 -07:00
Sayak Paul
1a8b3c2ee8
[Training] SD3 training fixes ( #8917 )
...
* SD3 training fixes
Co-authored-by: bghira <59658056+bghira@users.noreply.github.com >
* rewrite noise addition part to respect the eqn.
* styler
* Update examples/dreambooth/README_sd3.md
Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com >
---------
Co-authored-by: bghira <59658056+bghira@users.noreply.github.com >
Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com >
2024-07-21 16:24:04 +05:30
Lucain
56e772ab7e
Use model_info.id instead of model_info.modelId ( #8912 )
...
Mention model_info.id instead of model_info.modelId
2024-07-20 20:01:21 +05:30
Pierre Chapuis
fe7948941d
allow tensors in several schedulers step() call ( #8905 )
2024-07-19 18:58:06 -10:00
王奇勋
461efc57c5
[fix code annotation] Adjust the dimensions of the rotary positional embedding. ( #8890 )
...
* 2d rotary pos emb dim
* make style
---------
Co-authored-by: haofanwang <haofanwang.ai@gmail.com >
2024-07-19 18:57:36 -10:00
shinetzh
3b04cdc816
fix loop bug in SlicedAttnProcessor ( #8836 )
...
* fix loop bug in SlicedAttnProcessor
---------
Co-authored-by: neoshang <neoshang@tencent.com >
2024-07-19 18:14:29 -10:00
Álvaro Somoza
c009c203be
[SDXL] Fix uncaught error with image to image ( #8856 )
...
* initial commit
* apply suggestion to sdxl pipelines
* apply fix to sd pipelines
2024-07-19 12:06:36 -10:00
Dhruv Nair
3f1411767b
SSH into cpu runner additional fix ( #8893 )
...
* update
* update
* update
2024-07-18 16:18:45 +05:30
Dhruv Nair
588fb5c105
SSH into cpu runner fix ( #8888 )
...
* update
* update
2024-07-18 11:00:05 +05:30
Dhruv Nair
eb24e4bdb2
Add option to SSH into CPU runner. ( #8884 )
...
update
2024-07-18 10:20:24 +05:30
Sayak Paul
e02ec27e51
[Core] remove resume_download from Hub related stuff ( #8648 )
...
* remove resume_download
* fix: _fetch_index_file call.
* remove resume_download from docs.
2024-07-18 09:48:42 +05:30
Sayak Paul
a41e4c506b
[Chore] add disable forward chunking to SD3 transformer. ( #8838 )
...
add disable forward chunking to SD3 transformer.
2024-07-18 09:30:18 +05:30
Aryan
12625c1c9c
[docs] pipeline docs for latte ( #8844 )
...
* add pipeline docs for latte
* add inference time to latte docs
* apply review suggestions
2024-07-18 09:27:48 +05:30
Tolga Cangöz
c1dc2ae619
Fix multi-gpu case for train_cm_ct_unconditional.py ( #8653 )
...
* Fix multi-gpu case
* Prefer previously created `unwrap_model()` function
For `torch.compile()` generalizability
* `chore: update unwrap_model() function to use accelerator.unwrap_model()`
2024-07-17 19:03:12 +05:30
Beinsezii
e15a8e7f17
Add AuraFlowPipeline and KolorsPipeline to auto map ( #8849 )
...
* Add AuraFlowPipeline and KolorsPipeline to auto map
Just T2I. Validated using `quickdif`
* Add Kolors I2I and SD3 Inpaint auto maps
* style
---------
Co-authored-by: yiyixuxu <yixu310@gmail.com >
2024-07-16 17:13:28 -10:00
Sayak Paul
c2fbf8da02
[Chore] allow auraflow latest to be torch compile compatible. ( #8859 )
...
* allow auraflow latest to be torch compile compatible.
* default to 1024 1024.
2024-07-17 08:26:36 +05:30
Sayak Paul
0f09b01ab3
[Core] fix: shard loading and saving when variant is provided. ( #8869 )
...
fix: shard loading and saving when variant is provided.
2024-07-17 08:26:28 +05:30
Sayak Paul
f6cfe0a1e5
modify pocs. ( #8867 )
2024-07-17 08:26:13 +05:30
Tolga Cangöz
e87bf62940
[Cont'd] Add the SDE variant of ~~DPM-Solver~~ and DPM-Solver++ to DPM Single Step ( #8269 )
...
* Add the SDE variant of DPM-Solver and DPM-Solver++ to DPM Single Step
---------
Co-authored-by: cmdr2 <secondary.cmdr2@gmail.com >
2024-07-16 15:40:02 -10:00
Sayak Paul
3b37fefee9
[Docker] include python3.10 dev and solve header missing problem ( #8865 )
...
include python3.10 dev and solve header missing problem
2024-07-16 16:02:39 +05:30
Aryan
bbd2f9d4e9
[tests] fix typo in pag tests ( #8845 )
...
* fix typo in pag tests
* fix typo
2024-07-12 17:41:34 +05:30