Skip to content

Conversation

@zRzRzRzRzRzRzR
Copy link
Owner

No description provided.

hlky and others added 17 commits January 16, 2025 07:42
* Move buffers to device

* add test

* named_buffers
* use np.int32 in scheduling

* test_add_noise_device

* -np.int32, fixes
…nd HunyuanVideo (huggingface#10544)

* add para_attn_flux.md and para_attn_hunyuan_video.md

* add enable_sequential_cpu_offload in para_attn_hunyuan_video.md

* add comment

* refactor

* fix

* fix

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* fix

* update links

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* fix

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/optimization/para_attn.md

Co-authored-by: Steven Liu <[email protected]>

---------

Co-authored-by: Steven Liu <[email protected]>
* NPU adaption for RMSNorm

* NPU adaption for RMSNorm

---------

Co-authored-by: J石页 <[email protected]>
* implementing flux on TPUs with ptxla

* add xla flux attention class

* run make style/quality

* Update src/diffusers/models/attention_processor.py

Co-authored-by: YiYi Xu <[email protected]>

* Update src/diffusers/models/attention_processor.py

Co-authored-by: YiYi Xu <[email protected]>

* run style and quality

---------

Co-authored-by: Juan Acevedo <[email protected]>
Co-authored-by: Sayak Paul <[email protected]>
Co-authored-by: YiYi Xu <[email protected]>
* Update __init__.py

* add consisid

* update consisid

* update consisid

* make style

* make_style

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* add doc

* make style

* Rename consisid .md to consisid.md

* Update geodiff_molecule_conformation.ipynb

* Update geodiff_molecule_conformation.ipynb

* Update geodiff_molecule_conformation.ipynb

* Update demo.ipynb

* Update pipeline_consisid.py

* make fix-copies

* Update docs/source/en/using-diffusers/consisid.md

Co-authored-by: Steven Liu <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: Steven Liu <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/using-diffusers/consisid.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/en/using-diffusers/consisid.md

Co-authored-by: Steven Liu <[email protected]>

* update doc & pipeline code

* fix typo

* make style

* update example

* Update docs/source/en/using-diffusers/consisid.md

Co-authored-by: Steven Liu <[email protected]>

* update example

* update example

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/pipelines/consisid/pipeline_consisid.py

Co-authored-by: hlky <[email protected]>

* update

* add test and update

* remove some changes from docs

* refactor

* fix

* undo changes to examples

* remove save/load and fuse methods

* update

* link hf-doc-img & make test extremely small

* update

* add lora

* fix test

* update

* update

* change expected_diff_max to 0.4

* fix typo

* fix link

* fix typo

* update docs

* update

* remove consisid lora tests

---------

Co-authored-by: hlky <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Aryan <[email protected]>
* bugfix for npu not support float64

* is_mps is_npu

---------

Co-authored-by: 白超 <[email protected]>
Co-authored-by: hlky <[email protected]>
…#10602)

* enable dreambooth_lora on other devices

Signed-off-by: jiqing-feng <[email protected]>

* enable xpu

Signed-off-by: jiqing-feng <[email protected]>

* check cuda device before empty cache

Signed-off-by: jiqing-feng <[email protected]>

* fix comment

Signed-off-by: jiqing-feng <[email protected]>

* import free_memory

Signed-off-by: jiqing-feng <[email protected]>

---------

Signed-off-by: jiqing-feng <[email protected]>
Remove the FP32 Wrapper

Co-authored-by: Linoy Tsaban <[email protected]>
* initial comit

* fix empty cache

* fix one more

* fix style

* update device functions

* update

* update

* Update src/diffusers/utils/testing_utils.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/utils/testing_utils.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/utils/testing_utils.py

Co-authored-by: hlky <[email protected]>

* Update tests/pipelines/controlnet/test_controlnet.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/utils/testing_utils.py

Co-authored-by: hlky <[email protected]>

* Update src/diffusers/utils/testing_utils.py

Co-authored-by: hlky <[email protected]>

* Update tests/pipelines/controlnet/test_controlnet.py

Co-authored-by: hlky <[email protected]>

* with gc.collect

* update

* make style

* check_torch_dependencies

* add mps empty cache

* bug fix

* Apply suggestions from code review

---------

Co-authored-by: hlky <[email protected]>
@zRzRzRzRzRzRzR zRzRzRzRzRzRzR merged commit 2f30cc1 into cogview4 Jan 22, 2025
7 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.