From 37b05821a5decab33c67527b9e365cbf0fbdf2f0 Mon Sep 17 00:00:00 2001 From: "Xia, Weiwen" Date: Tue, 7 May 2024 06:34:32 -0700 Subject: [PATCH] Fix lint issue --- bitsandbytes/backends/cpu_xpu_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitsandbytes/backends/cpu_xpu_common.py b/bitsandbytes/backends/cpu_xpu_common.py index ceac893b4..f4e5ed3ec 100644 --- a/bitsandbytes/backends/cpu_xpu_common.py +++ b/bitsandbytes/backends/cpu_xpu_common.py @@ -8,7 +8,7 @@ ipex_cpu = ipex if ipex._C._has_cpu() else None ipex_xpu = ipex if ipex._C._has_xpu() else None -except: +except BaseException: ipex_cpu = None ipex_xpu = None