Redo custom attention processor to support other attention types #2150
Annotations
9 errors
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py#L1
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py:1:1: I001 Import block is un-sorted or un-formatted
|
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py#L2
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py:2:53: F401 `typing.cast` imported but unused
|
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py#L6
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py:6:61: F401 `diffusers.models.attention_processor.AttnProcessor2_0` imported but unused
|
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py#L73
invokeai/backend/stable_diffusion/diffusion/custom_atttention.py:73:33: F541 f-string without any placeholders
|
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py#L28
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py:28:18: C408 Unnecessary `dict` call (rewrite as a literal)
|
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py#L29
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py:29:1: W293 Blank line contains whitespace
|
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py#L36
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py:36:30: F821 Undefined name `torch`
|
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py#L44
invokeai/backend/stable_diffusion/diffusion/unet_attention_patcher.py:44:1: W293 Blank line contains whitespace
|
|
This job failed
Loading