Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnnxMatMul4Quantizer: Only support ort 1.18+, clean up logic #1642

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

matmul4quantizer clean up

3bfa232
Select commit
Loading
Failed to load commit list.
Open

OnnxMatMul4Quantizer: Only support ort 1.18+, clean up logic #1642

matmul4quantizer clean up
3bfa232
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Olive CI failed Feb 22, 2025 in 37m 48s

Build #20250221.10 had test failures

Details

Tests

  • Failed: 8 (0.45%)
  • Passed: 1,647 (93.42%)
  • Other: 108 (6.13%)
  • Total: 1,763
Code coverage

  • 4580 of 18789 line covered (24.38%)

Annotations

Check failure on line 393 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Olive CI

Build log #L393

Bash exited with code '2'.

Check failure on line 19 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Olive CI

Build log #L19

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 1 in test.unit_test.data_container.test_dataset

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Olive CI

test.unit_test.data_container.test_dataset

collection failure
Raw output
ImportError while importing test module '/olive/test/unit_test/data_container/test_dataset.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/dist-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
/usr/local/lib/python3.10/dist-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/usr/local/lib/python3.10/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
test/unit_test/data_container/test_dataset.py:6: in <module>
    from datasets import Dataset as HFDataset
E   ModuleNotFoundError: No module named 'datasets'

Check failure on line 1 in test.unit_test.engine.packaging.test_packaging_generator

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Olive CI

test.unit_test.engine.packaging.test_packaging_generator

collection failure
Raw output
ImportError while importing test module '/olive/test/unit_test/engine/packaging/test_packaging_generator.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/dist-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
/usr/local/lib/python3.10/dist-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/usr/local/lib/python3.10/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
test/unit_test/engine/packaging/test_packaging_generator.py:12: in <module>
    import mlflow
E   ModuleNotFoundError: No module named 'mlflow'

Check failure on line 1 in test.unit_test.model.test_mlflow_model

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Olive CI

test.unit_test.model.test_mlflow_model

collection failure
Raw output
ImportError while importing test module '/olive/test/unit_test/model/test_mlflow_model.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/dist-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
/usr/local/lib/python3.10/dist-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/usr/local/lib/python3.10/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
test/unit_test/model/test_mlflow_model.py:10: in <module>
    from azureml.evaluate import mlflow as aml_mlflow
E   ModuleNotFoundError: No module named 'azureml'

Check failure on line 1 in test.unit_test.passes.inc.test_inc_quantization

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Olive CI

test.unit_test.passes.inc.test_inc_quantization

collection failure
Raw output
ImportError while importing test module '/olive/test/unit_test/passes/inc/test_inc_quantization.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/dist-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
/usr/local/lib/python3.10/dist-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/usr/local/lib/python3.10/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
test/unit_test/passes/inc/test_inc_quantization.py:11: in <module>
    from torchvision import transforms
E   ModuleNotFoundError: No module named 'torchvision'