Skip to content

Commit

Permalink
correct skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed May 29, 2024
1 parent d762c99 commit ac5e58c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/brevitas/export/test_onnx_fp8.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
import brevitas.nn as qnn
from brevitas.quant.experimental.float_quant_ocp import Fp8e4m3OCPActPerTensorFloat
from brevitas.quant.experimental.float_quant_ocp import Fp8e4m3OCPWeightPerTensorFloat
from tests.marker import jit_disabled_for_mock
from tests.marker import jit_disabled_for_export


@jit_disabled_for_mock()
@jit_disabled_for_export()
def test_simple_fp8_export():
if torch_version < version.parse('2.1.0'):
pytest.skip(f"OCP FP8 types not supported by {torch_version}")
Expand All @@ -23,7 +23,7 @@ def test_simple_fp8_export():
assert True


@jit_disabled_for_mock()
@jit_disabled_for_export()
def test_fp8_export_activation():
if torch_version < version.parse('2.1.0'):
pytest.skip(f"OCP FP8 types not supported by {torch_version}")
Expand All @@ -33,7 +33,7 @@ def test_fp8_export_activation():
assert True


@jit_disabled_for_mock()
@jit_disabled_for_export()
def test_fp8_export_export_activation():
if torch_version < version.parse('2.1.0'):
pytest.skip(f"OCP FP8 types not supported by {torch_version}")
Expand Down

0 comments on commit ac5e58c

Please sign in to comment.