@@ -130,8 +130,8 @@ def deregister_aqt_quantized_linear_dispatch(dispatch_condition):
130
130
if dispatch_condition in _AQT_QLINEAR_DISPATCH_TABLE :
131
131
del _AQT_QLINEAR_DISPATCH_TABLE [dispatch_condition ]
132
132
else :
133
- logger .warn (
134
- f"Attempting to remove non-existant dispatch condition { dispatch_condition } "
133
+ logger .warning (
134
+ f"Attempting to remove non-existent dispatch condition { dispatch_condition } "
135
135
)
136
136
137
137
@@ -273,7 +273,7 @@ def _(func, types, args, kwargs):
273
273
try :
274
274
return weight_tensor ._quantized_linear_op (input_tensor , weight_tensor , bias )
275
275
except QuantizedLinearNotImplementedError as e :
276
- # fallback path is only called when user did not specify a specfic quantized linear implementation with `_layout.quantized_linear_impl`
276
+ # fallback path is only called when user did not specify a specific quantized linear implementation with `_layout.quantized_linear_impl`
277
277
if (
278
278
isinstance (weight_tensor , AffineQuantizedTensor )
279
279
and hasattr (weight_tensor ._layout , "quantized_linear_impl" )
@@ -362,7 +362,7 @@ def _(func, types, args, kwargs):
362
362
input_tensor , transposed_weight_tensor , bias
363
363
)
364
364
except QuantizedLinearNotImplementedError as e :
365
- # fallback path is only called when user did not specify a specfic quantized linear implementation with `_layout.quantized_linear_impl`
365
+ # fallback path is only called when user did not specify a specific quantized linear implementation with `_layout.quantized_linear_impl`
366
366
if (
367
367
isinstance (weight_tensor , AffineQuantizedTensor )
368
368
and hasattr (weight_tensor ._layout , "quantized_linear_impl" )
@@ -396,7 +396,7 @@ def _(func, types, args, kwargs):
396
396
input_tensor , transposed_weight_tensor , bias
397
397
)
398
398
except QuantizedLinearNotImplementedError as e :
399
- # fallback path is only called when user did not specify a specfic quantized linear implementation with `_layout.quantized_linear_impl`
399
+ # fallback path is only called when user did not specify a specific quantized linear implementation with `_layout.quantized_linear_impl`
400
400
if (
401
401
isinstance (weight_tensor , AffineQuantizedTensor )
402
402
and hasattr (weight_tensor ._layout , "quantized_linear_impl" )
0 commit comments