Skip to content

Commit 39d2971

Browse files
Update plain_layout.py
1 parent b5572b8 commit 39d2971

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchao/dtypes/uintx/plain_layout.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ def _linear_fp_act_int8_weight_impl(input_tensor, weight_tensor, bias):
263263
)
264264
except Exception:
265265
w_vals_int8_t = w_vals_int8.t()
266-
scale = weight_tensor.tensor_impl.scale
267266
m = torch.mm(
268267
input_tensor.reshape(-1, input_tensor.shape[-1]),
269268
w_vals_int8_t.to(input_tensor.dtype),

0 commit comments

Comments
 (0)