Make ruff happy

This commit is contained in:
Disty0
2024-08-05 04:23:43 +03:00
parent 33d80a3160
commit c66aab2c43
+1 -1
View File
@@ -325,4 +325,4 @@ def ipex_diffusers():
diffusers.models.attention_processor.SlicedAttnProcessor = SlicedAttnProcessor
diffusers.models.attention_processor.AttnProcessor = AttnProcessor
if not device_supports_fp64 and hasattr(transformers, "transformer_flux"):
diffusers.models.transformers.transformer_flux.rope = rope
diffusers.models.transformers.transformer_flux.rope = rope