microsoft / hummingbird

Hummingbird compiles trained ML models into tensor computation for faster inference.
MIT License
3.33k stars 277 forks source link

Pipelinefail on ONNX_ML #788

Open ksaur opened 1 month ago

ksaur commented 1 month ago

There was a release yesterday onnx-1.16.1 to onnx-1.16.2

From runner we have about 50 of these:

____________ ERROR collecting tests/test_sklearn_feature_union.py _____________
ImportError while importing test module 'D:\a\hummingbird\hummingbird\tests\test_sklearn_feature_union.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\importlib\__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests\test_sklearn_feature_union.py:15: in <module>
    import hummingbird.ml
hummingbird\ml\__init__.py:22: in <module>
    from .convert import convert, convert_batch  # noqa: F401, E402
hummingbird\ml\convert.py:14: in <module>
    from .operator_converters import constants
hummingbird\ml\operator_converters\__init__.py:20: in <module>
    from .onnx import onnx_operator  # noqa: E402
hummingbird\ml\operator_converters\onnx\onnx_operator.py:12: in <module>
    from onnxconverter_common.registration import register_converter
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\onnxconverter_common\__init__.py:18: in <module>
    from .data_types import *  # noqa F403
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\onnxconverter_common\data_types.py:7: in <module>
    import onnx
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\onnx\__init__.py:77: in <module>
    from onnx.onnx_cpp2py_export import ONNX_ML
E   ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.
ksaur commented 1 month ago

maybe from this https://github.com/onnx/onnx/issues/6267