There was an error while loading. Please reload this page.
2 parents ed9c8fc + ea4b59f commit ee01736Copy full SHA for ee01736
bitsandbytes/cextension.py
@@ -291,10 +291,9 @@ def get_native_library() -> BNBNativeLibrary:
291
if hasattr(dll, "get_context"): # only a CUDA-built library exposes this
292
return CudaBNBNativeLibrary(dll)
293
294
- logger.warning(
295
- "The installed version of bitsandbytes was compiled without GPU support. "
296
- "8-bit optimizers and GPU quantization are unavailable."
297
- )
+ # 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.")
+
298
return BNBNativeLibrary(dll)
299
300
0 commit comments