Skip to content

Summarize changes to support prediction #159

Summarize changes to support prediction

Summarize changes to support prediction #159

Triggered via pull request November 19, 2024 04:29
@MTCamMTCam
synchronize #1
production
Status Failure
Total duration 25m 11s
Artifacts

ci.yml

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

Annotations

13 errors and 2 warnings
Ruff
Process completed with exit code 1.
Mypy
Process completed with exit code 1.
Pylint
Process completed with exit code 2.
Conda Pytest: test/test/test/test_apps.py#L141
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/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/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/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/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/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/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/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/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/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
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
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.