-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds the lowering of scan to HLO While op. It also introduce apply_layers which can sequentially apply a bunch of layers using scan underneath. In this milestone we use AOTAutograd to obtain the backward of the function being scanned. Users can either save the activations in fn or recompute them by passing different graph partitioners to AOTAutograd.
- Loading branch information
Showing
13 changed files
with
1,503 additions
and
132 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
Oops, something went wrong.