Unverified Commit ee017367 authored by Matthew Douglas's avatar Matthew Douglas Committed by GitHub
Browse files

Merge pull request #1697 from jiqing-feng/log

fix log
parents ed9c8fca ea4b59f3
......@@ -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