[Bugfix] Fix LongCat TeaCache CFG negative-branch guidance kwargs (#6181)
Signed-off-by: Yifan Zong <yzong@redhat.com>
This commit is contained in:
1 parent
cfbf1392c5
commit
3d34b8b977
6 files changed
+41
-10
No files matched your search
+5
-5
@@ -723,11 +723,11 @@ def extract_flux2_klein_context(
|
||||
def extract_longcat_context(
|
||||
module: nn.Module, # LongCatImageTransformer2DModel
|
||||
hidden_states,
|
||||
timestep,
|
||||
guidance,
|
||||
encoder_hidden_states,
|
||||
txt_ids,
|
||||
img_ids,
|
||||
encoder_hidden_states=None,
|
||||
timestep=None,
|
||||
img_ids=None,
|
||||
txt_ids=None,
|
||||
guidance=None,
|
||||
**kwargs,
|
||||
) -> CacheContext:
|
||||
"""Extract the cache context for LongCat Image.
|
||||
|
||||
Reference in new issue
Block a user