Skip to content

Commit 63404ce

Browse files
author
fzilan
committed
jit strict mode do not support dict.copy()
1 parent e8f447b commit 63404ce

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mindone/diffusers/models/transformers/transformer_flux.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,6 @@ def construct(
443443
If `return_dict` is True, an [`~models.transformer_2d.Transformer2DModelOutput`] is returned, otherwise a
444444
`tuple` where the first element is the sample tensor.
445445
"""
446-
if joint_attention_kwargs is not None:
447-
joint_attention_kwargs = joint_attention_kwargs.copy()
448446

449447
if joint_attention_kwargs is not None and joint_attention_kwargs.get("scale", None) is not None:
450448
logger.warning(

0 commit comments

Comments
 (0)