Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge changes #183

Merged
merged 20 commits into from
Oct 12, 2024
Merged

Merge changes #183

merged 20 commits into from
Oct 12, 2024

Conversation

Skquark
Copy link
Owner

@Skquark Skquark commented Oct 12, 2024

No description provided.

yiyixuxu and others added 20 commits October 3, 2024 08:36
* fix startswith syntax in xlabs lora conversion

* Trigger CI

#9581 (comment)
…9601)

* fix vae dtype when accelerate config using --mixed_precision="fp16"

* Add param for upcast vae
* refac: docstrings in import_utils.py

* Update import_utils.py
… submodels (#9576) (#9587)

* Fix for use_safetensors parameters, allow use of parameter on loading submodels (#9576)
…9553)

* Update distributed_inference.md to include `transformer.device_map`

* Update docs/source/en/training/distributed_inference.md

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

---------

Co-authored-by: Steven Liu <[email protected]>
* Removed int8 to float32 conversion (`* 2.0 - 1.0`) from `train_transforms` as it caused image overexposure.

Added `_resize_for_rectangle_crop` function to enable video cropping functionality. The cropping mode can be configured via `video_reshape_mode`, supporting options: ['center', 'random', 'none'].

* The number 127.5 may experience precision loss during division operations.

* wandb request pil image Type

* Resizing bug

* del jupyter

* make style

* Update examples/cogvideo/README.md

* make style

---------

Co-authored-by: --unset <--unset>
Co-authored-by: Aryan <[email protected]>
* handle dora.

* print test

* debug

* fix

* fix-copies

* update logits

* add warning in the test.

* make is_dora check consistent.

* fix-copies
* Fixed local variable noise_pred_text referenced before assignment when using PAG with guidance scale and guidance rescale at the same time.

* Fixed style.

* Made returning text pred noise an argument.
… transformer attention processors (#9517)

* Update transformer_flux.py
* allow loras to be loaded with low_cpu_mem_usage.

* add flux support but note https://github.com/huggingface/diffusers/pull/9510\#issuecomment-2378316687

* low_cpu_mem_usage.

* fix-copies

* fix-copies again

* tests

* _LOW_CPU_MEM_USAGE_DEFAULT_LORA

* _peft_version default.

* version checks.

* version check.

* version check.

* version check.

* require peft 0.13.1.

* explicitly specify low_cpu_mem_usage=False.

* docs.

* transformers version 4.45.2.

* update

* fix

* empty

* better name initialize_dummy_state_dict.

* doc todos.

* Apply suggestions from code review

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

* style

* fix-copies

---------

Co-authored-by: Steven Liu <[email protected]>
* added pag to sd img2img pipeline


---------

Co-authored-by: YiYi Xu <[email protected]>
* make controlnet support interrupt

* remove white space in controlnet interrupt
…ment (#9571)

* flux controlnet control_guidance_start and control_guidance_end implement

* minor fix - added docstrings, consistent controlnet scale flux and SD3
…th_lora_16gb.ipynb (#9634)

Add files via upload

fix IsADirectoryError when running the training code
* Added diff diff support for kolors img2img

* Fized relative imports

* Fized relative imports

* Added diff diff support for Kolors

* Fized import issues

* Added map

* Fized import issues

* Fixed naming issues

* Added diffdiff support for Kolors img2img pipeline

* Removed example docstrings

* Added map input

* Updated latents

Co-authored-by: Álvaro Somoza <[email protected]>

* Updated `original_with_noise`

Co-authored-by: Álvaro Somoza <[email protected]>

* Improved code quality

---------

Co-authored-by: Álvaro Somoza <[email protected]>
@Skquark Skquark merged commit aca5451 into Skquark:main Oct 12, 2024
3 of 6 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.