1 parent f4c7178 commit 83e7290Copy full SHA for 83e7290
1 file changed
lmdeploy/pytorch/nn/linear/w8a8.py
@@ -25,7 +25,7 @@ def __init__(self,
25
all_reduce: bool = True,
26
quant_dtype: torch.dtype | None = torch.int8,
27
layer_type: str = 'attn'):
28
- super().__init__(dtype=torch.float16,
+ super().__init__(dtype=dtype,
29
device=device,
30
colwise=colwise,
31
is_tp=is_tp,
0 commit comments