Skip to content

Commit bc5de3e

Browse files
committed
fix pylint false positive
Signed-off-by: Andrea Fasoli <andrea.fasoli@ibm.com>
1 parent ef73576 commit bc5de3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/aiu_addons/test_fp8_addon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_fp8_op() -> None:
151151
("channel", "token"), # Per-channel W + per-token dynamic A
152152
],
153153
)
154-
def test_fp8_linear_cpu_support(
154+
def test_fp8_linear_cpu_support( # pylint: disable=redefined-outer-name
155155
weight_strategy: str,
156156
activation_strategy: str,
157157
fp8_test_dimensions: dict,
@@ -225,7 +225,7 @@ def test_fp8_linear_cpu_support(
225225
not available_packages["torchao"] or not available_packages["fms"],
226226
reason="FMS and torchao required to run this test",
227227
)
228-
def test_fp8_linear_cpu_no_activation_quantization(fp8_test_dimensions: dict) -> None:
228+
def test_fp8_linear_cpu_no_activation_quantization(fp8_test_dimensions: dict) -> None: # pylint: disable=redefined-outer-name
229229
"""Test FP8Linear on CPU with only weight quantization (no activation quantization).
230230
231231
This tests the code path where activations are not quantized but weights are FP8.

0 commit comments

Comments
 (0)