Skip to content

Commit 40b154a

Browse files
run style and quality
1 parent 4ae0687 commit 40b154a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/diffusers/models/attention_processor.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,10 @@ def __init__(
297297
self.set_processor(processor)
298298

299299
def set_use_xla_flash_attention(
300-
self, use_xla_flash_attention: bool, partition_spec: Optional[Tuple[Optional[str], ...]] = None, is_flux = False,
300+
self,
301+
use_xla_flash_attention: bool,
302+
partition_spec: Optional[Tuple[Optional[str], ...]] = None,
303+
is_flux=False,
301304
) -> None:
302305
r"""
303306
Set whether to use xla flash attention from `torch_xla` or not.

0 commit comments

Comments
 (0)