Skip to content

Commit a2c07ef

Browse files
committed
No need to contiguous
1 parent 6ed8e04 commit a2c07ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchao/quantization/quantize_/workflows/float8/float8_tensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ def _float8_linear_impl(
341341
assert _is_rowwise_scaled(input_tensor), (
342342
"Input tensor must be rowwise block size"
343343
)
344-
wq = wq.contiguous()
345344
res = torch.ops.fbgemm.f8f8bf16_rowwise(
346345
xq,
347346
wq,

0 commit comments

Comments
 (0)