forked from pytorch/PiPPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements reshape / view / transpose / permute / expand and other ops that only change the shape and layout of the tensor without changing the element's values. This adds support for multiple mesh dimension ; however it won't succeed if communication would be triggered by the operation. This would be the case when flattening a tensor where the tensor is shared on a flatenend dimension other than the first. We will need to tackle that subsequently.
- Loading branch information
Showing
6 changed files
with
1,114 additions
and
91 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
Oops, something went wrong.