Skip to content

Add sparse matrix interface #1988

Add sparse matrix interface

Add sparse matrix interface #1988

Triggered via pull request February 5, 2026 21:09
Status Failure
Total duration 11m 39s
Artifacts

ci.yml

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

Annotations

10 errors and 52 warnings
basedpyright
Process completed with exit code 1.
basedpyright
3 errors
basedpyright: arraycontext/impl/pytato/__init__.py#L924
Argument of type "ToTagSetConvertible" cannot be assigned to parameter "tags" of type "frozenset[Tag]" in function "__init__"   Type "ToTagSetConvertible" is not assignable to type "frozenset[Tag]"     "Tag" is not assignable to "frozenset[Tag]" (reportArgumentType)
basedpyright: arraycontext/impl/pytato/__init__.py#L155
"make_csr_matrix" is not a known attribute of module "pytato" (reportAttributeAccessIssue)
basedpyright: arraycontext/impl/pytato/__init__.py#L150
"CSRMatrix" is not a known attribute of module "pytato" (reportAttributeAccessIssue)
Documentation
Process completed with exit code 2.
Pytest Conda Py3 Intel
Process completed with exit code 1.
Pytest Conda Py3 Intel: test/test/test_arraycontext.py#L707
test_array_context_csr_matmul[<_PytatoPyOpenCLArrayContextForTests for <pyopencl.Device 'AMD EPYC 7763 64-Core Processor' on 'Intel(R) OpenCL'>>] AttributeError: module 'pytato' has no attribute 'make_csr_matrix'
Pytest Conda Py3 POCL
Process completed with exit code 1.
Pytest Conda Py3 POCL: test/test/test_arraycontext.py#L707
test_array_context_csr_matmul[<_PytatoPyOpenCLArrayContextForTests for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>] AttributeError: module 'pytato' has no attribute 'make_csr_matrix'
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.
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/impl/jax/__init__.py#L162
Type annotation is missing for parameter "shape" (reportMissingParameterType)
basedpyright: arraycontext/impl/jax/__init__.py#L162
Type of parameter "shape" is unknown (reportUnknownParameterType)
basedpyright: arraycontext/context.py#L621
Type of "add_and_infer_dtypes" is partially unknown   Type of "add_and_infer_dtypes" is "(prog: Unknown, dtype_dict: Unknown, expect_completion: bool = False, kernel_name: Unknown | None = None) -> TranslationUnit" (reportUnknownMemberType)
basedpyright: arraycontext/context.py#L602
Type of "GlobalArg" is partially unknown   Type of "GlobalArg" is "(...) -> ArrayArg" (reportUnknownMemberType)
basedpyright: arraycontext/context.py#L594
Type of "GlobalArg" is partially unknown   Type of "GlobalArg" is "(...) -> ArrayArg" (reportUnknownMemberType)
basedpyright: arraycontext/context.py#L593
Type of "GlobalArg" is partially unknown   Type of "GlobalArg" is "(...) -> ArrayArg" (reportUnknownMemberType)
basedpyright: arraycontext/context.py#L592
Type of "GlobalArg" is partially unknown   Type of "GlobalArg" is "(...) -> ArrayArg" (reportUnknownMemberType)
basedpyright: arraycontext/context.py#L591
Type of "GlobalArg" is partially unknown   Type of "GlobalArg" is "(...) -> ArrayArg" (reportUnknownMemberType)
basedpyright: arraycontext/context.py#L482
Type annotation is missing for parameter "shape" (reportMissingParameterType)
basedpyright: arraycontext/context.py#L482
Type of parameter "shape" is unknown (reportUnknownParameterType)
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 Intel: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Pytest Conda Py3 POCL: arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project meshmode: meshmode/test/test_array.py#L59
'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/.conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
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#L59
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.::warning file=/home/runner/work/arraycontext/arraycontext/meshmode/meshmode/dof_array.py,line=79::'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
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#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/.conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project meshmode: meshmode/test/test_array.py#L59
'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#L79
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#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
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.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/test/test_reductions.py#L172
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.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
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.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/test/test_reductions.py#L172
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.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
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.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.