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

Remove support for run-time linked-params from codegen #11144

Merged
merged 1 commit into from
May 2, 2022
Merged

Remove support for run-time linked-params from codegen #11144

merged 1 commit into from
May 2, 2022

Conversation

kparzysz-quic
Copy link
Contributor

Linking parameters via a runtime lookup function no longer happens after commit b5f1dabce4 (PR#8509): "Tir constants integration into compilation pipeline". Now, in cases where the runtime lookup would have happened in the past, the parameters are embedded into TIR, removing the need for a runtime lookup.

There is still plenty of code around that implemented the original runtime lookup. This patch removes the unnecessary leftovers from TVM's codegen.

Linking parameters via a runtime lookup function no longer happens after
commit b5f1dab (PR#8509): "Tir constants integration into compilation
pipeline". Now, in cases where the runtime lookup would have happened in
the past, the parameters are embedded into TIR, removing the need for a
runtime lookup.

There is still plenty of code around that implemented the original runtime
lookup. This patch removes the unnecessary leftovers from TVM's codegen.
Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@areusch areusch left a comment

Choose a reason for hiding this comment

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

thanks for the cleanup @kparzysz-quic !

@areusch areusch merged commit 8eae317 into apache:main May 2, 2022
@kparzysz-quic kparzysz-quic deleted the remove-linked-params branch May 2, 2022 15:38
shtinsa pushed a commit to Deelvin/tvm that referenced this pull request May 17, 2022
Linking parameters via a runtime lookup function no longer happens after
commit b5f1dab (PR#8509): "Tir constants integration into compilation
pipeline". Now, in cases where the runtime lookup would have happened in
the past, the parameters are embedded into TIR, removing the need for a
runtime lookup.

There is still plenty of code around that implemented the original runtime
lookup. This patch removes the unnecessary leftovers from TVM's codegen.
SebastianBoblest pushed a commit to SebastianBoblest/tvm that referenced this pull request May 27, 2022
Linking parameters via a runtime lookup function no longer happens after
commit b5f1dab (PR#8509): "Tir constants integration into compilation
pipeline". Now, in cases where the runtime lookup would have happened in
the past, the parameters are embedded into TIR, removing the need for a
runtime lookup.

There is still plenty of code around that implemented the original runtime
lookup. This patch removes the unnecessary leftovers from TVM's codegen.
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.

3 participants