diff --git a/comfy/ldm/modules/attention.py b/comfy/ldm/modules/attention.py index e9e93ec72..ccf690945 100644 --- a/comfy/ldm/modules/attention.py +++ b/comfy/ldm/modules/attention.py @@ -34,7 +34,7 @@ SAGE_ATTENTION3_IS_AVAILABLE = False try: from sageattn3 import sageattn3_blackwell SAGE_ATTENTION3_IS_AVAILABLE = True -except ImportError as e: +except ImportError: pass FLASH_ATTENTION_IS_AVAILABLE = False