Uh oh!
There was an error while loading. Please reload this page.
Fix incorrect AOT Memory Planning - #8926
Conversation
Mousius
commented
Sep 3, 2021
CC @manupa-arm |
Mousius
commented
Sep 3, 2021
Also CC @mbs-octoml@electriclilies for reviews 😸 |
4fbb9f5 to
cc0c43bCompareUh oh!
There was an error while loading. Please reload this page.
electriclilies
left a comment
There was a problem hiding this comment.
Overall, LGTM! I'd like to see CalculateWorkspaceBytes in a pass in the future instead of being run directly in the exectutor, but this is fine for now
Uh oh!
There was an error while loading. Please reload this page.
aea2a68 to
97401c5CompareThis change introduces a second memory planning phase in the AOT code generator once the storage rewrite pass has been completed, fixing incorrectly sized workspaces for a variety of models. It comes with accompanying tests so we can safely refactor this later. Also corrected a typo in the TE compiler regards the memory alignment argument 😸 Co-authored-by: Manupa Karunaratne <Manupa.Karunaratne@arm.com>
97401c5 to
fdedfedComparejroesch
commented
Sep 7, 2021
@Mousius is it possible for you guys to put this as a backlog item? will land this version but in general better to try and split these things into passes so we can make the executor code gens function more uniform instead of each one having different arguments/return values, etc. |
This change introduces a second memory planning phase in the AOT code generator once the storage rewrite pass has been completed, fixing incorrectly sized workspaces for a variety of models. It comes with accompanying tests so we can safely refactor this later. Also corrected a typo in the TE compiler regards the memory alignment argument 😸 Co-authored-by: Manupa Karunaratne <Manupa.Karunaratne@arm.com> Co-authored-by: Manupa Karunaratne <Manupa.Karunaratne@arm.com>
This change introduces a second memory planning phase in the AOT code generator once the storage rewrite pass has been completed, fixing incorrectly sized workspaces for a variety of models. It comes with accompanying tests so we can safely refactor this later. Also corrected a typo in the TE compiler regards the memory alignment argument 😸 Co-authored-by: Manupa Karunaratne <Manupa.Karunaratne@arm.com> Co-authored-by: Manupa Karunaratne <Manupa.Karunaratne@arm.com>
This change introduces a second memory planning phase in the AOT code
generator once the storage rewrite pass has been completed, fixing
incorrectly sized workspaces for a variety of models.
It comes with accompanying tests so we can safely refactor this later.
Also corrected a typo in the TE compiler regards the memory alignment
argument 😸
Co-authored-by: Manupa Karunaratne Manupa.Karunaratne@arm.com