Skip to content

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.
@kparzysz-quic kparzysz-quic requested a review from areusch April 27, 2022 16:22
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