Skip to content

EagerJAXArrayContext: return mutable numpy array in to_numpy #1819

EagerJAXArrayContext: return mutable numpy array in to_numpy

EagerJAXArrayContext: return mutable numpy array in to_numpy #1819

Triggered via pull request May 27, 2025 23:16
Status Cancelled
Total duration 10m 12s
Artifacts

ci.yml

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

Annotations

5 errors and 43 warnings
basedpyright: arraycontext/impl/jax/fake_numpy.py#L205
Argument of type "Unknown | None" cannot be assigned to parameter "dtype" of type "DTypeLike" in function "sum" (reportArgumentType)
basedpyright
1 error
basedpyright
Process completed with exit code 1.
Tests for downstream project meshmode
Canceling since a higher priority waiting request for 'fix-to-numpy-jax' exists
Tests for downstream project meshmode
The operation was canceled.
Tests for downstream project mirgecom_examples
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
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.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'minimum'>'.::warning file=/home/runner/work/arraycontext/arraycontext/.conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py,line=420::Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'minimum'>'.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 Intel: .conda-root/envs/testing/lib/python3.13/site-packages/pyopencl/cache.py#L420
Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'minimum'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'minimum'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'copy'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'copy'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'cdouble_conj_kernel'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'cdouble_conj_kernel'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'maximum'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'maximum'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'reduce_kernel_stage1'>'.
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytools/py_codegen.py#L119
Overwriting existing generated code in linecache: '<pyopencl invoker for 'reduce_kernel_stage2'>'.
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 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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/test/test_reductions.py#L167
Broadcasting array context array types across <class 'test_reductions.MyContainer'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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_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 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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/test/test_reductions.py#L167
Broadcasting array context array types across <class 'test_reductions.MyContainer'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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_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 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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/test/test_reductions.py#L167
Broadcasting array context array types across <class 'test_reductions.MyContainer'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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_numpy_array=True' is deprecated and will be unsupported from 2025.
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 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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/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_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 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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/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_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 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. 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/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_numpy_array=True' is deprecated and will be unsupported from 2025.