From 259ad7e718c396479f2216b1361dab5a9eeb5b02 Mon Sep 17 00:00:00 2001 From: YangKai0616 Date: Fri, 19 Sep 2025 11:13:44 +0800 Subject: [PATCH] Update log --- bitsandbytes/cextension.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bitsandbytes/cextension.py b/bitsandbytes/cextension.py index 93ff32b67..2eb584a66 100644 --- a/bitsandbytes/cextension.py +++ b/bitsandbytes/cextension.py @@ -294,9 +294,6 @@ def get_native_library() -> BNBNativeLibrary: if hasattr(dll, "get_context"): # only a CUDA-built library exposes this return CudaBNBNativeLibrary(dll) - # TODO: Remove this log for XPU after 8-bit optimizer is supported - logger.warning("The 8-bit optimizer is not available on your device, only available on CUDA for now.") - return BNBNativeLibrary(dll)