Uh oh!
There was an error while loading. Please reload this page.
Refactor OmniGen - #10771
Conversation
pull the latest code
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: hlky <hlky@hlky.ac>
update to latest version
HuggingFaceDocBuilderDev
commented
Feb 11, 2025
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Uh oh!
There was an error while loading. Please reload this page.
| attention_kwargs: Optional[Dict[str, Any]] = None, | ||
| callback_on_step_end: Optional[Callable[[int, int, Dict], None]] = None, | ||
| callback_on_step_end_tensor_inputs: List[str] = ["latents"], | ||
| max_sequence_length: int = 120000, |
There was a problem hiding this comment.
I see this is not used, but let's confirm with the author if it's intended to be used or not
There was a problem hiding this comment.
This argument is simply copied from other pipelines, but is not used in OmniGen.
yiyixuxu
commented
Feb 11, 2025
@staoxiao can you take a look to see if the changes are ok? |
sayakpaul
commented
Feb 12, 2025
Thanks for the heads-up, Aryan! Appreciate it. I will wait for this before to get merged before starting the LoRA support. |
staoxiao
commented
Feb 12, 2025
@a-r-r-o-w@yiyixuxu , thanks for refactoring. I think these changes are ok. |
a-r-r-o-w
commented
Feb 12, 2025
Thanks for the review @staoxiao! Will merge once CI is green |
Refactors OmniGen added in #10148.
I haven't tested all supported usecases extensively, but I believe the changes should be okay since they did not alter any existing logic (except for RoPE).
The summary of changes are:
apply_rotary_embfunction, we use the Diffusers one