Skip to content

Commit 98fdabd

Browse files
committed
update
1 parent e72bcf4 commit 98fdabd

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/diffusers/hooks/_helpers.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
)
3131
from ..models.transformers.transformer_ltx import LTXVideoTransformerBlock
3232
from ..models.transformers.transformer_mochi import MochiTransformerBlock
33-
from ..models.transformers.transformer_wan import WanAttnProcessor2_0, WanPAGAttnProcessor2_0, WanTransformerBlock
33+
from ..models.transformers.transformer_wan import WanTransformerBlock
3434

3535

3636
@dataclass
@@ -229,14 +229,6 @@ def _skip_attention___ret___hidden_states___encoder_hidden_states(self, *args, *
229229

230230
_skip_proc_output_fn_Attention_CogView4AttnProcessor = _skip_attention___ret___hidden_states___encoder_hidden_states
231231

232-
# Wan
233-
GuidanceMetadataRegistry.register(
234-
model_class=WanAttnProcessor2_0,
235-
metadata=GuidanceMetadata(
236-
perturbed_attention_guidance_processor_cls=WanPAGAttnProcessor2_0,
237-
),
238-
)
239-
240232

241233
def _skip_block_output_fn___hidden_states_0___ret___hidden_states(self, *args, **kwargs):
242234
hidden_states = kwargs.get("hidden_states", None)

0 commit comments

Comments
 (0)