File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments