mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 13:05:07 +00:00
--disable-xformers should not even try to import xformers.
This commit is contained in:
@@ -11,11 +11,10 @@ from .sub_quadratic_attention import efficient_dot_product_attention
|
||||
|
||||
import model_management
|
||||
|
||||
try:
|
||||
|
||||
if model_management.xformers_enabled():
|
||||
import xformers
|
||||
import xformers.ops
|
||||
except:
|
||||
pass
|
||||
|
||||
# CrossAttn precision handling
|
||||
import os
|
||||
|
Reference in New Issue
Block a user