Skip to content

Conversation

@mbs-octoml
Copy link
Contributor

@mbs-octoml mbs-octoml commented Oct 4, 2021

This is a follow up to address Christopher's comment in #8788. The nature of ToANF means we don't need to worry about passing in an IRModule context to recover the result device for a global function.

We don't need the Optional<IRModule> on ToANormalForm and friends.
@u99127
Copy link

u99127 commented Oct 5, 2021

Could we fix the commit message to reflect what exactly is being fixed ?

Copy link
Member

@Mousius Mousius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whilst incredibly flattered by the personalised commit message, and appreciative of the rapid follow up - I agree with @u99127 that we should amend the commit message as we merge this 😸

@mbs-octoml
Copy link
Contributor Author

Updated, ready to merge.

@mbs-octoml
Copy link
Contributor Author

Arrrg! Updating description triggers a CI re-run :-(((

@mbs-octoml mbs-octoml changed the title [Relay] Address Christopher's comments from #8788 [Relay] Remove unnecessary Optional<IRModule> argument to ToANormalForm and friends Oct 5, 2021
@masahi masahi merged commit 01771ab into apache:main Oct 6, 2021
@mbs-octoml mbs-octoml deleted the mbs-memory-planning branch October 6, 2021 18:22
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
We don't need the Optional<IRModule> on ToANormalForm and friends.
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
We don't need the Optional<IRModule> on ToANormalForm and friends.
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.

5 participants