Skip to content

Commit 6aae879

Browse files
committed
fix
1 parent a783b04 commit 6aae879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightllm/common/quantization/quantize_method.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def __init__(self):
1515
self.weight_scale_suffix = None
1616
self.weight_zero_point_suffix = None
1717
self.act_scale_suffix = None
18-
self.has_weight_scale: bool = (None,)
19-
self.has_weight_zero_point: bool = (None,)
18+
self.has_weight_scale: bool = None
19+
self.has_weight_zero_point: bool = None
2020
# 一些量化模式需要用到的额外量化参数,如awq量化
2121
self.hf_quantization_config = None
2222

0 commit comments

Comments
 (0)