pytorch
15686950 - [spmd] quick fix on batch input view issue (#98813)

Commit
1 year ago
[spmd] quick fix on batch input view issue (#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: https://github.com/pytorch/pytorch/pull/98813 Approved by: https://github.com/yifuwang, https://github.com/mrshenli
Author
Committer
Parents
Loading