@@ -137,7 +137,7 @@ def _gemv_4bit_impl(
137137
138138# SYCL should be faster for xpu, so at first checking if it is available.
139139if not isinstance (lib , ErrorHandlerMockBNBNativeLibrary ):
140- logger .info ("Loading sycl bitsandbytes kernels for XPU" )
140+ logger .info ("Register sycl bitsandbytes kernels for XPU" )
141141
142142 @register_kernel ("bitsandbytes::dequantize_4bit" , "xpu" )
143143 def _ (
@@ -204,7 +204,7 @@ def _(
204204 torch ._check (out .dtype == A .dtype , lambda : f"Expected out.dtype == { A .dtype } , got { out .dtype } " )
205205 _gemv_4bit_impl (A , B , shapeB , absmax , code , blocksize , out = out )
206206elif triton_available :
207- logger .info ("Loading triton bitsandbytes kernels for XPU" )
207+ logger .info ("Register triton bitsandbytes kernels for XPU" )
208208 from ..triton import ops as triton_ops
209209
210210 register_kernel ("bitsandbytes::quantize_blockwise" , "xpu" )(triton_ops .quantize_blockwise )
@@ -215,4 +215,4 @@ def _(
215215 register_kernel ("bitsandbytes::dequantize_4bit" , "xpu" )(triton_ops .dequantize_4bit )
216216 register_kernel ("bitsandbytes::gemv_4bit" , "xpu" )(triton_ops .gemv_4bit )
217217else :
218- logger .warning ("Loading pytorch bitsandbytes kernels for XPU because no native library or triton packages found." )
218+ logger .warning ("Register pytorch bitsandbytes kernels for XPU because no native library or triton packages found." )
0 commit comments