Skip to content

Conversation

@ekalda
Copy link
Contributor

@ekalda ekalda commented Dec 1, 2021

Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.

@ekalda
Copy link
Contributor Author

ekalda commented Dec 1, 2021

Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.
Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

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

Nice work @ekalda, LGTM!

Copy link
Contributor

@manupak manupak left a comment

Choose a reason for hiding this comment

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

LGTM as well!

@manupak manupak merged commit bedc772 into apache:main Dec 10, 2021
@manupak
Copy link
Contributor

manupak commented Dec 10, 2021

Thanks @ekalda @lhutton1. This is merged now!

ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.
yangulei pushed a commit to yangulei/tvm that referenced this pull request Jan 11, 2022
Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.
yangulei pushed a commit to yangulei/tvm that referenced this pull request Jan 12, 2022
Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.
qsqqsqqsq-intellif pushed a commit to qsqqsqqsq-intellif/tvm that referenced this pull request Apr 29, 2022
Both, SPLIT and SPLIT_V get lowered to relay.split and in the
legalization the Relay split gets turned into strided slices. This
patch adds the pattern and legalizer to enable offloading the TFLite's
splits to the NPU.
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