Skip to content

Implement CupyArrayContext #1846

Implement CupyArrayContext

Implement CupyArrayContext #1846

Triggered via pull request June 16, 2025 20:45
Status Failure
Total duration 11m 34s
Artifacts

ci.yml

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

Annotations

10 errors and 53 warnings
basedpyright: arraycontext/impl/cupy/fake_numpy.py#L181
Method "zeros_like" overrides class "BaseFakeNumpyNamespace" in an incompatible manner   Return type mismatch: base method returns type "None", override returns type "ArrayOrContainer"     Type "ArrayOrContainer" is not assignable to type "None"       "ArrayContainer" is not assignable to "None" (reportIncompatibleMethodOverride)
basedpyright: arraycontext/impl/cupy/__init__.py#L94
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/impl/cupy/__init__.py#L79
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/context.py#L382
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/context.py#L361
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/context.py#L285
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/container/traversal.py#L920
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/container/__init__.py#L307
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/container/__init__.py#L306
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
basedpyright: arraycontext/container/__init__.py#L286
Expected type arguments for generic class "ndarray" (reportMissingTypeArgument)
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.
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.
basedpyright: arraycontext/container/__init__.py#L296
Argument type is unknown   Argument corresponds to parameter "stop" in function "__new__" (reportUnknownArgumentType)
basedpyright: arraycontext/container/__init__.py#L296
Type of "shape" is unknown (reportUnknownMemberType)
basedpyright: arraycontext/container/__init__.py#L293
Argument type is unknown   Argument corresponds to parameter "stop" in function "__new__" (reportUnknownArgumentType)
basedpyright: arraycontext/container/__init__.py#L293
Type of "shape" is unknown (reportUnknownMemberType)
basedpyright: arraycontext/container/__init__.py#L289
Type of "dtype" is unknown (reportUnknownMemberType)
basedpyright: arraycontext/container/__init__.py#L289
Argument type is partially unknown   Argument corresponds to parameter "o" in function "__init__"   Argument type is "ndarray[Unknown, Unknown]" (reportUnknownArgumentType)
basedpyright: arraycontext/container/__init__.py#L287
Type of "char" is unknown (reportUnknownMemberType)
basedpyright: arraycontext/container/__init__.py#L287
Type of "dtype" is unknown (reportUnknownMemberType)
basedpyright: arraycontext/container/__init__.py#L286
Type of parameter "ary" is partially unknown   Parameter type is "ndarray[Unknown, Unknown]" (reportUnknownParameterType)
basedpyright: arraycontext/__init__.py#L57
Type of "from_numpy" is partially unknown   Type of "from_numpy" is "(ary: ndarray[Unknown, Unknown] | int | integer[Any] | float | complex | inexact[Any, float | complex] | builtins.bool | numpy.bool[builtins.bool], actx: ArrayContext) -> (Array | ArrayContainer | int | integer[Any] | float | complex | inexact[Any, float | complex] | builtins.bool | numpy.bool[builtins.bool])" (reportUnknownVariableType)
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/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 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytato/target/loopy/codegen.py#L878
Aff.le_set with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytato/target/loopy/codegen.py#L878
Aff.le_set with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/islpy/_monkeypatch.py#L569
BasicSet.foreach_basic_set with implicit conversion of self to Set is deprecated and will stop working in 2026. Explicitly convert to Set, using .to_set().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytato/target/loopy/codegen.py#L878
Aff.le_set with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/islpy/_monkeypatch.py#L569
BasicSet.foreach_basic_set with implicit conversion of self to Set is deprecated and will stop working in 2026. Explicitly convert to Set, using .to_set().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytato/target/loopy/codegen.py#L878
Aff.le_set with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/islpy/_monkeypatch.py#L569
BasicSet.foreach_basic_set with implicit conversion of self to Set is deprecated and will stop working in 2026. Explicitly convert to Set, using .to_set().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytato/target/loopy/codegen.py#L878
Aff.le_set with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/islpy/_monkeypatch.py#L569
BasicSet.foreach_basic_set with implicit conversion of self to Set is deprecated and will stop working in 2026. Explicitly convert to Set, using .to_set().
Pytest Conda Py3 POCL: .conda-root/envs/testing/lib/python3.13/site-packages/pytato/target/loopy/codegen.py#L878
Aff.le_set with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
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
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/.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/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
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/.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
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
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
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/.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/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
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/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
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
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/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
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
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/meshmode/dof_array.py#L75
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.