fix w8a8.py (#3733)

This commit is contained in:
co63oc
2025-09-03 10:57:26 +08:00
committed by GitHub
parent f7a4bea785
commit ce998449e0

View File

@@ -85,7 +85,7 @@ class W8A8LinearMethod(QuantMethodBase):
if weight_scale is None or in_scale is None: if weight_scale is None or in_scale is None:
self.skip_quant = True self.skip_quant = True
return return
layer.wieght = layer.create_parameter( layer.weight = layer.create_parameter(
shape=layer.weight_shape, shape=layer.weight_shape,
dtype=layer.weight_dtype, dtype=layer.weight_dtype,
is_bias=False, is_bias=False,