Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix donate invar in 3d pipeline parallelism #119

Merged
merged 4 commits into from
Oct 9, 2021
Merged

Conversation

ZYHowell
Copy link
Collaborator

@ZYHowell ZYHowell commented Oct 8, 2021

The original one does not set alias based on donate invars in the final compilation. To do so, this PR:

  1. adds reschedule_vars to keep donated invars always first ones and the corresponding outvar has the same index;
  2. setup alias of each stage's XlaComputation
  3. In the compile_with_search progress, donated invars are also added as much as possible.

@ZYHowell ZYHowell changed the title set donate invar in compilation fix donate invar in 3d pipeline parallelism Oct 8, 2021
@ZYHowell ZYHowell merged commit a7a8738 into master Oct 9, 2021
@ZYHowell ZYHowell deleted the fix-pipeline-donation branch October 11, 2021 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants