Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yanbing-j committed Nov 20, 2024
1 parent bac5d4a commit 40cabd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchao/quantization/qat/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def _convert_qat_linear_4w(self, module: torch.nn.Module):
inner_k_tiles=inner_k_tiles,
precision=child.weight.dtype,
scales_precision=config.scale_precision,
device=next(child.parameters()).device,
)
setattr(module, name, quantized_linear)

Expand Down

0 comments on commit 40cabd1

Please sign in to comment.