"src/vscode:/vscode.git/clone" did not exist on "b171e9ada6d485c9f80259ac66a6af0270958ab8"
Commit 7339479b authored by comfyanonymous's avatar comfyanonymous
Browse files

Disable xformers when it can't load properly.

parent f12ec559
......@@ -133,6 +133,10 @@ else:
import xformers
import xformers.ops
XFORMERS_IS_AVAILABLE = True
try:
XFORMERS_IS_AVAILABLE = xformers._has_cpp_library
except:
pass
try:
XFORMERS_VERSION = xformers.version.__version__
print("xformers version:", XFORMERS_VERSION)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment