Skip to content

Commit c585724

Browse files
committed
missed a dtype
1 parent 715e3d0 commit c585724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchao/quantization/linear_quant_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def __init__(
143143
"scales_and_zeros",
144144
torch.zeros(
145145
(in_features // groupsize, out_features, 2),
146-
dtype=self.scales_precision,
146+
precision=self.scales_precision,
147147
device=device,
148148
),
149149
)

0 commit comments

Comments
 (0)