-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement distributed
unfold
operation (#1419)
* implemented the easy cases and a simple test * general case * exception handling, added test with two unfold (2D slices) * added unfold to manipulations module * added test * fixed behavior for empty unfold_loc, exception handling for size - 1 > chunk_size more tests * wrong exception type in test * fixed wrong exception type in tests * fixed test for single node setting * added better docstring * added test to cover case that there are no fully local unfolds for a node * fixed test case of no fully local unfolds * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixed error due to unspecified torch device * added tests with different datatypes * renamed ´dimension´ to ´axis´ * use `DNDarray.counts_displs()´ * updated docstring * use sanitize_axis * support one-sided halo * use `DNDarray.array_with_halos` * fixed condition for empty local unfold data * more tests * detach after cloning * test: blocking send in get_halo() * replaced Send by Isend in "next" * int64 in batchparallel clustering predict * added error for size=1 * Update batchparallelclustering.py Undid my stupid change before that belongs to another issue * Removed old/dead code, resolved review --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Claudia Comito <[email protected]> Co-authored-by: Fabian Hoppe <[email protected]> Co-authored-by: Hoppe <[email protected]>
- Loading branch information
1 parent
ef97474
commit 2ecf597
Showing
3 changed files
with
173 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters