Skip to content

Commit dc40622

Browse files
lint
1 parent 61f0ee4 commit dc40622

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

torchao/float8/float8_tensor.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,12 @@ def __new__(
313313
linear_mm_config if linear_mm_config is not None else LinearMMConfig()
314314
)
315315
self._gemm_input_role = gemm_input_role
316-
assert axiswise_dim in (None, 0, 1, -1), f"unsupported axiswise_dim {axiswise_dim}"
316+
assert axiswise_dim in (
317+
None,
318+
0,
319+
1,
320+
-1,
321+
), f"unsupported axiswise_dim {axiswise_dim}"
317322
self._axiswise_dim = axiswise_dim
318323

319324
return self

0 commit comments

Comments
 (0)