Skip to content

Implement distributed Kronecker product (kron) for Dask Array#11971

Open
T-60 wants to merge 2 commits into
dask:mainfrom
T-60:feature/kron-array
Open

Implement distributed Kronecker product (kron) for Dask Array#11971
T-60 wants to merge 2 commits into
dask:mainfrom
T-60:feature/kron-array

Conversation

@T-60

@T-60 T-60 commented Jun 1, 2025

Copy link
Copy Markdown

Adds dask/array/kron.py with the kron function using blockwise for 2D arrays.
Supports fallback to NumPy for 1D, empty, or ND>2 cases.
Includes comprehensive unit tests in tests/test_kron.py (basic, random, and reduction cases).

Implementa producto de Kronecker distribuido (kron) para Dask Array

  • Añade dask/array/kron.py con la función kron usando blockwise para arrays 2D.

  • Soporta fallback a NumPy para casos 1D, vacíos o ND>2.

  • Incluye pruebas unitarias variadas en tests/test_kron.py (básicos, aleatorios y reducción).

  • [x]Closes Add NumPy's kron for Dask Arrays #3657

  • Tests added / passed

  • Passes pre-commit run --all-files

- Adds dask/array/kron.py with the kron function using blockwise for 2D arrays.
- Supports fallback to NumPy for 1D, empty, or ND>2 cases.
- Includes comprehensive unit tests in tests/test_kron.py (basic, random, and reduction cases).

Implementa producto de Kronecker distribuido (kron) para Dask Array

- Añade dask/array/kron.py con la función kron usando blockwise para arrays 2D.
- Soporta fallback a NumPy para casos 1D, vacíos o ND>2.
- Incluye pruebas unitarias variadas en tests/test_kron.py (básicos, aleatorios y reducción).
@github-actions

github-actions Bot commented Jun 1, 2025

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

      9 files  ± 0        9 suites  ±0   3h 16m 58s ⏱️ + 3m 3s
 18 043 tests + 9   16 827 ✅ + 9   1 216 💤 ±0  0 ❌ ±0 
161 461 runs  +81  149 327 ✅ +80  12 134 💤 +1  0 ❌ ±0 

Results for commit 3d1c89b. ± Comparison against base commit 87a177d.

♻️ This comment has been updated with latest results.

@T-60

T-60 commented Jun 1, 2025

Copy link
Copy Markdown
Author

Hi! All checks passed except the one with pandas-nightly, which seems unrelated to my documentation change. Please let me know if anything else is needed.

@T-60 T-60 closed this Jun 1, 2025
@T-60 T-60 reopened this Jun 1, 2025
@T-60

T-60 commented Jun 1, 2025

Copy link
Copy Markdown
Author

Hi! All checks passed except the one with pandas-nightly, which seems unrelated to my documentation change. Please let me know if anything else is needed.

@T-60

T-60 commented Jun 1, 2025

Copy link
Copy Markdown
Author

Sorry, I accidentally closed the PR. Reopening it now. Let me know if anything else is needed. Thanks!

@github-actions github-actions Bot added the needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer. label Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add NumPy's kron for Dask Arrays

1 participant