Skip to content

Commit 27d0d48

Browse files
author
Peter Y. Yeh
committed
lint
1 parent e6ecd1f commit 27d0d48

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/quantization/test_quant_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
TORCH_VERSION_AT_LEAST_2_6,
5656
is_sm_at_least_89,
5757
is_sm_at_least_90,
58-
unwrap_tensor_subclass,
5958
skip_if_rocm,
59+
unwrap_tensor_subclass,
6060
)
6161

6262
try:

torchao/float8/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ class Float8GemmConfig:
148148

149149
# Pre-made recipes for common configurations
150150
class Float8LinearRecipeName(enum.Enum):
151-
152151
# Default, dynamic per-tensor scaling with the cuBLAS tensorwise kernel
153152
TENSORWISE = "tensorwise"
154153

@@ -385,7 +384,6 @@ def from_recipe_name(
385384
)
386385

387386
elif recipe_name is Float8LinearRecipeName.ROWWISE_WITH_GW_HP:
388-
389387
# output_hp = input_fp8_axiswise_dim0 @ weight_t_axiswise_dim1
390388
cc_i = CastConfig(scaling_granularity=ScalingGranularity.AXISWISE)
391389
cc_w = CastConfig(scaling_granularity=ScalingGranularity.AXISWISE)

0 commit comments

Comments
 (0)