We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23281c8 commit bde878aCopy full SHA for bde878a
bitsandbytes/nn/__init__.py
@@ -17,7 +17,7 @@
17
)
18
19
# CPU and XPU backend do not need triton, and XPU so not support triton for now.
20
-if "xpu" not in backends.keys() or ("cpu" in backends.keys() and len(backends.keys()) == 1):
+if "xpu" not in backends.keys() and len(backends.keys()) > 1:
21
from .triton_based_modules import (
22
StandardLinear,
23
SwitchBackLinear,
0 commit comments