-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix edge-case contiguity mismatch for Allgatherv (#1058)
* Fix edge-case contiguity mismatch for Allgatherv * Update ubuntu * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * switch back to ubuntu 20.04 * Upgrade CI to ubuntu 22.04 and cuda 11.7.1 * avoid unnecessary gathering of test DNDarrays * early out for resplit of non-distributed DNDarrays * match split of comparison array to expected output * avoid MPI calls in non-distributed cases * avoid MPI calls in non-distributed resplit * set default to None * remove print statement * upgrade torch version * copy to cpu before comparing * use ht.allclose instead of np.allclose * cast different dtype operands to promoted dtype within torch call * compare local tensors to corresponding slice of expected_array only * expand tests * remove redundant code * use pytorch with cuda117 support * [skip ci] Update heat/core/communication.py Co-authored-by: mtar <m.tarnawa@fz-juelich.de> * [skip ci] Update heat/core/communication.py Co-authored-by: mtar <m.tarnawa@fz-juelich.de> * [skip ci] Update heat/core/communication.py Co-authored-by: mtar <m.tarnawa@fz-juelich.de> * Remove dead code * Update pytorch-latest.txt Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mtar <m.tarnawa@fz-juelich.de>
- Loading branch information
1 parent
54db506
commit 73e6204
Showing
12 changed files
with
108 additions
and
39 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
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
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
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