Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
track input argument information in one tree at each AOT stage
Both `Lowered` and `Compiled` carry information about input arguments for which the underlying computation was lowered (namely avals, donation bits, and the input pytree structure today). This change rearranges some internals so that all of this information is held together in a single pytree of structs. Doing so simplifies the fields of both stage classes and helps ensure the input argument properties are consistent with one another (e.g. now they must share a consistent pytree structure by definition).
- Loading branch information
Showing
4 changed files
with
102 additions
and
71 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
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