From 310a675bb77e484a733719b7b6704d7abea612a4 Mon Sep 17 00:00:00 2001 From: lanluo-nvidia Date: Sun, 15 Sep 2024 14:19:27 -0700 Subject: [PATCH] test --- tests/py/dynamo/models/test_models_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/py/dynamo/models/test_models_export.py b/tests/py/dynamo/models/test_models_export.py index 419595e139..69944aa746 100644 --- a/tests/py/dynamo/models/test_models_export.py +++ b/tests/py/dynamo/models/test_models_export.py @@ -253,7 +253,7 @@ def calibrate_loop(model): @unittest.skipIf( not importlib.util.find_spec("modelopt") or platform.system() != "Linux" - or modelopt.__version__ < "0.17.0", + or Version(metadata.version("nvidia-modelopt")) < Version("0.17.0"), "Int8 quantization is supported in modelopt since 0.17.0 or later for Linux", ) @pytest.mark.unit