Commit ea4b59f3 authored by jiqing-feng's avatar jiqing-feng
Browse files

fix log


Signed-off-by: default avatarjiqing-feng <jiqing.feng@intel.com>
parent ed9c8fca
......@@ -291,10 +291,9 @@ def get_native_library() -> BNBNativeLibrary:
if hasattr(dll, "get_context"): # only a CUDA-built library exposes this
return CudaBNBNativeLibrary(dll)
logger.warning(
"The installed version of bitsandbytes was compiled without GPU support. "
"8-bit optimizers and GPU quantization are unavailable."
)
# 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)
......
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