Skip to content

Summarize changes to support prediction #194

Summarize changes to support prediction

Summarize changes to support prediction #194

Triggered via pull request February 4, 2025 03:49
@MTCamMTCam
synchronize #1
production
Status Failure
Total duration 26m 31s
Artifacts

ci.yml

on: pull_request
Matrix: downstream_tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 44 warnings
Ruff
Process completed with exit code 1.
Pylint
Process completed with exit code 2.
Mypy
Process completed with exit code 1.
Conda Pytest: test/test/test_apps.py#L140
test_trace_fft[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>] pymbolic.mapper.UnsupportedExpressionError: <class 'test_apps.ConstantSizer'> cannot handle expressions of type <class 'pytato.scalar_expr.TypeCast'>
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False-add] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([ 8, 9, 10, 11, 12]).dtype + and dtype('int8') = array([ 8, 9, 10, 11, 12], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False-sub] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([6, 5, 4, 3, 2]).dtype + and dtype('int8') = array([6, 5, 4, 3, 2], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False-mul] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([ 7, 14, 21, 28, 35]).dtype + and dtype('int8') = array([ 7, 14, 21, 28, 35], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False-truediv] AssertionError: (dtype('float64'), dtype('float32')) assert dtype('float64') == dtype('float32') + where dtype('float64') = array([7. , 3.5 , 2.33333333, 1.75 , 1.4 ]).dtype + and dtype('float32') = array([7. , 3.5 , 2.3333333, 1.75 , 1.4 ],\n dtype=float32).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False-pow] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([ 7, 49, 343, 2401, 16807]).dtype + and dtype('int8') = array([ 7, 49, 87, 97, -89], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-True-add] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([ 8, 9, 10, 11, 12]).dtype + and dtype('int8') = array([ 8, 9, 10, 11, 12], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-True-sub] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([-6, -5, -4, -3, -2]).dtype + and dtype('int8') = array([-6, -5, -4, -3, -2], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-True-mul] AssertionError: (dtype('int64'), dtype('int8')) assert dtype('int64') == dtype('int8') + where dtype('int64') = array([ 7, 14, 21, 28, 35]).dtype + and dtype('int8') = array([ 7, 14, 21, 28, 35], dtype=int8).dtype
Conda Pytest: test/test/test_codegen.py#L319
test_scalar_array_binary_arith[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-True-truediv] AssertionError: (dtype('float64'), dtype('float32')) assert dtype('float64') == dtype('float32') + where dtype('float64') = array([0.14285714, 0.28571429, 0.42857143, 0.57142857, 0.71428571]).dtype + and dtype('float32') = array([0.14285715, 0.2857143 , 0.42857143, 0.5714286 , 0.71428573],\n dtype=float32).dtype
Tests for downstream project mirgecom
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Pylint
modifying pylint run because we're on Python 3.13
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L161
'bcast_container_types' is deprecated and will be unsupported from 2025. Use 'container_types_bcast_across', with equivalent meaning.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L161
<class 'testlib.MyContainerDOFBcast'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'testlib.MyContainerDOFBcast'>.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L204
<class 'testlib.Velocity2D'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'testlib.Velocity2D'>.
Tests for downstream project arraycontext: arraycontext/.conda-root/envs/testing/lib/python3.13/site-packages/pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Tests for downstream project arraycontext: arraycontext/test/test_arraycontext.py#L1283
<class 'test_arraycontext.ArrayContainerWithNumpy'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'test_arraycontext.ArrayContainerWithNumpy'>.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L161
'bcast_container_types' is deprecated and will be unsupported from 2025. Use 'container_types_bcast_across', with equivalent meaning.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L161
'bcast_container_types' is deprecated and will be unsupported from 2025. Use 'container_types_bcast_across', with equivalent meaning.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L161
<class 'testlib.MyContainerDOFBcast'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'testlib.MyContainerDOFBcast'>.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L204
<class 'testlib.Velocity2D'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'testlib.Velocity2D'>.
Tests for downstream project arraycontext: arraycontext/test/testlib.py#L161
<class 'testlib.MyContainerDOFBcast'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'testlib.MyContainerDOFBcast'>.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Conda Pytest: pytato/target/loopy/__init__.py#L246
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L246
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L75
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L75
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2025, this will no longer work. There is no replacement as of right now. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project meshmode: meshmode/.conda-root/envs/testing/lib/python3.13/site-packages/pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Tests for downstream project meshmode: meshmode/test/test_array.py#L55
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L75
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L75
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2025, this will no longer work. There is no replacement as of right now. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project meshmode: meshmode/.conda-root/envs/testing/lib/python3.13/site-packages/pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Tests for downstream project meshmode: meshmode/test/test_array.py#L55
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L75
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L75
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2025, this will no longer work. There is no replacement as of right now. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L75
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/pytato/scalar_expr.py#L90
'pymbolic.primitives.Expression' is deprecated. Use 'ExpressionNode' instead. 'pymbolic.primitives.Expression' will continue to work until 2026.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/grudge/trace_pair.py#L112
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L75
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2025, this will no longer work. There is no replacement as of right now. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project grudge: grudge/grudge/trace_pair.py#L112
<class 'grudge.trace_pair.TracePair'> does not have __array_ufunc__ set. This will cause numpy to attempt broadcasting, in a way that is likely undesired. To avoid this, set __array_ufunc__ = None in <class 'grudge.trace_pair.TracePair'>.
Tests for downstream project grudge: grudge/test/test_reductions.py#L167
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.