-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use functional collectives explicitly (#1832)
Summary: Pull Request resolved: #1832 Preivously for dist_data dynamo tracing we relied on dynamo functional collectives remapping. This remapping adds mutation of the tensor, `.copy_`. Inductor `.copy_` lowering adds non trivial DataDependent logic on strides and sizes, especially check for non-Overlap memory layout. Potentially this could be solved changing dynamo remapping: pytorch/pytorch#122788 **Current Solution:** Use functional collectives for dynamo explicitly, that avoids copy_ in the graph. Reviewed By: ezyang Differential Revision: D55423735 fbshipit-source-id: c7d9a6b7f93fe97432836fd252742b972ba40ce1
- Loading branch information
1 parent
26b6899
commit 8bde6f8
Showing
1 changed file
with
53 additions
and
31 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