Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
a-r-r-o-w committed Oct 5, 2024
1 parent afd0c17 commit 6265b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/diffusers/pipelines/pyramid_broadcast_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ def __init__(
self._prev_hidden_states = None
self._iteration = 0

_original_processor_params = set(inspect.signature(self._original_processor).parameters.keys())
_supported_parameters = {
original_processor_params = set(inspect.signature(self._original_processor.__call__).parameters.keys())
supported_parameters = {
"attn",
"hidden_states",
"encoder_hidden_states",
"attention_mask",
"temb",
"image_rotary_emb",
}
self._attn_processor_params = _supported_parameters.intersection(_original_processor_params)
self._attn_processor_params = supported_parameters.intersection(original_processor_params)

def __call__(
self,
Expand Down

0 comments on commit 6265b65

Please sign in to comment.