Skip to content

Clean up and fix numpy_helper and subbyte #1888

Clean up and fix numpy_helper and subbyte

Clean up and fix numpy_helper and subbyte #1888

GitHub Actions / Test Results failed May 4, 2024 in 0s

9 errors, 24 fail, 77 skipped, 1 291 pass in 1m 9s

    3 files  +    3      3 suites  +3   1m 9s ⏱️ + 1m 9s
1 401 tests +1 401  1 291 ✅ +1 291   77 💤 + 77  24 ❌ +24   9 🔥 + 9 
4 182 runs  +4 182  3 827 ✅ +3 827  256 💤 +256  72 ❌ +72  27 🔥 +27 

Results for commit 26ad6b0. ± Comparison against earlier commit 8f29dd8.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.helper_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/helper_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/helper_test.py:30: in <module>
    from onnx.reference.op_run import to_array_extended
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.model_container_refeval_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/model_container_refeval_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/model_container_refeval_test.py:17: in <module>
    import onnx.reference
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.reference_evaluator_ml_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/reference_evaluator_ml_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/reference_evaluator_ml_test.py:28: in <module>
    from onnx.reference import ReferenceEvaluator
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.reference_evaluator_model_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/reference_evaluator_model_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/reference_evaluator_model_test.py:14: in <module>
    import onnx.reference as orf
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.reference_evaluator_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/reference_evaluator_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/reference_evaluator_test.py:30: in <module>
    import onnx.reference.custom_element_types as custom
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.test_backend_onnxruntime

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/test_backend_onnxruntime.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/test_backend_onnxruntime.py:15: in <module>
    import onnx.backend.test
onnx/backend/test/__init__.py:8: in <module>
    from onnx.backend.test.runner import Runner as BackendTest
onnx/backend/test/runner/__init__.py:24: in <module>
    import onnx.reference
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.test_backend_reference

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/test_backend_reference.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/test_backend_reference.py:16: in <module>
    import onnx.backend.test
onnx/backend/test/__init__.py:8: in <module>
    from onnx.backend.test.runner import Runner as BackendTest
onnx/backend/test/runner/__init__.py:24: in <module>
    import onnx.reference
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.test_backend_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/test_backend_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/test_backend_test.py:15: in <module>
    import onnx.backend.test
onnx/backend/test/__init__.py:8: in <module>
    from onnx.backend.test.runner import Runner as BackendTest
onnx/backend/test/runner/__init__.py:24: in <module>
    import onnx.reference
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: onnx.test.tools_test

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/Users/runner/work/onnx/onnx/onnx/test/tools_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
onnx/test/tools_test.py:14: in <module>
    from onnx.reference import ReferenceEvaluator
onnx/reference/__init__.py:8: in <module>
    from onnx.reference.reference_evaluator import ReferenceEvaluator
onnx/reference/reference_evaluator.py:23: in <module>
    from onnx.reference.op_run import (
onnx/reference/op_run.py:14: in <module>
    from onnx.numpy_helper import to_array, unpack_int4
E   ImportError: cannot import name 'unpack_int4' from 'onnx.numpy_helper' (/Users/runner/work/onnx/onnx/onnx/numpy_helper.py)

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fn_inf (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:277: in test_float8_e4m3fn_inf
    back = numpy_helper.float8e4m3_to_float32(to)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fn_negative_nan (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:503: in test_float8_e4m3fn_negative_nan
    back = numpy_helper.float8e4m3_to_float32(to)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fn_negative_zero (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:451: in test_float8_e4m3fn_negative_zero
    back = numpy_helper.float8e4m3_to_float32(to)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fn_out_of_range (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:366: in test_float8_e4m3fn_out_of_range
    back = numpy_helper.float8e4m3_to_float32(to)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fnuz_inf (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:300: in test_float8_e4m3fnuz_inf
    back = numpy_helper.float8e4m3_to_float32(to, uz=True)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fnuz_negative_nan (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:516: in test_float8_e4m3fnuz_negative_nan
    back = numpy_helper.float8e4m3_to_float32(to, uz=True)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fnuz_negative_zero (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:464: in test_float8_e4m3fnuz_negative_zero
    back = numpy_helper.float8e4m3_to_float32(to, uz=True)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e4m3fnuz_out_of_range (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:387: in test_float8_e4m3fnuz_out_of_range
    back = numpy_helper.float8e4m3_to_float32(to, uz=True)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e5m2_negative_nan (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:529: in test_float8_e5m2_negative_nan
    back = numpy_helper.float8e4m3_to_float32(to)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e5m2_negative_zero (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:477: in test_float8_e5m2_negative_zero
    back = numpy_helper.float8e4m3_to_float32(to)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e5m2fnuz_negative_nan (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:542: in test_float8_e5m2fnuz_negative_nan
    back = numpy_helper.float8e4m3_to_float32(to, fn=True, uz=True)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8_e5m2fnuz_negative_zero (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:490: in test_float8_e5m2fnuz_negative_zero
    back = numpy_helper.float8e4m3_to_float32(to, fn=True, uz=True)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8e4m3_to_float32 (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
onnx/test/numpy_helper_test.py:173: in test_float8e4m3_to_float32
    self.assertEqual(numpy_helper.float8e4m3_to_float32(int("1111110", 2)), 448)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8e4m3_to_float32_round_00 (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
onnx/test/numpy_helper_test.py:227: in test_float8e4m3_to_float32_round
    f32 = numpy_helper.float8e4m3_to_float32(f8)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8e4m3_to_float32_round_01 (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
onnx/test/numpy_helper_test.py:227: in test_float8e4m3_to_float32_round
    f32 = numpy_helper.float8e4m3_to_float32(f8)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'

Check warning on line 0 in onnx.test.numpy_helper_test.TestNumpyHelper

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: test_float8e4m3_to_float32_round_02 (onnx.test.numpy_helper_test.TestNumpyHelper)

artifacts/Test Results (macos-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (ubuntu-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
artifacts/Test Results (windows-latest-{{ matrix.python_version }})/pytest.xml [took 0s]
Raw output
TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
onnx/test/numpy_helper_test.py:227: in test_float8e4m3_to_float32_round
    f32 = numpy_helper.float8e4m3_to_float32(f8)
onnx/numpy_helper.py:140: in float8e4m3_to_float32
    return _float8e4m3fn_to_float32(data, fn=fn, uz=uz)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2329: in __call__
    return self._vectorize_call(func=func, args=vargs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2407: in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2367: in _get_ufunc_and_otypes
    outputs = func(*inputs)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:2324: in func
    return self.pyfunc(*the_args, **kwargs)
E   TypeError: _float8e4m3fn_to_float32_scalar() got an unexpected keyword argument 'fn'