forked from ROCm/pytorch
-
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.
[spmd] quick fix on batch input view issue (pytorch#98813)
This is a quick fix/hack to get around with the issue that some "global" tensor view operation is invalid, but somehow it get triggered by some models as mini-batch input itself won't have this issue. Since ultimately we should remove the dtensor expand and use the new expansion, this hack is only temporary to unblock Pull Request resolved: pytorch#98813 Approved by: https://github.com/yifuwang, https://github.com/mrshenli
- Loading branch information
1 parent
760967a
commit 1568695
Showing
2 changed files
with
8 additions
and
0 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