Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lanluo-nvidia committed Sep 15, 2024
1 parent 33ae883 commit f618694
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/py/dynamo/models/test_models_export.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# type: ignore
import importlib
import platform
import unittest
from importlib import metadata

Expand Down Expand Up @@ -250,10 +250,8 @@ def calibrate_loop(model):


@unittest.skipIf(
not importlib.util.find_spec("modelopt")
or platform.system() != "Linux"
or Version(metadata.version("nvidia-modelopt")) < Version("0.17.0"),
"modelopt 0.17.0 or later is required, Int8 quantization is supported in modelopt since 0.17.0 or later for linux",
modelopt.__version__ < "0.16.1",
"Int8 quantization is supported in modelopt since 0.16.1 or later",
)
@pytest.mark.unit
def test_base_int8(ir):
Expand Down

0 comments on commit f618694

Please sign in to comment.