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

[Relay][Op] Connect existing arm_cpu schedule to relay strategy for concat #14270

Merged
merged 2 commits into from
Mar 14, 2023

Conversation

ashutosh-arm
Copy link
Contributor

NPU used generic implementation for concatenate
before cpu schedules were made the default fallback
schedules. This leads to performance degradation
as this blocks fusion with nearby ops. This commit
adds Relay op strategy for arm_cpu implementation
which makes it use arm_cpu schedule before cpu one.
Reference: #13775

cc @lhutton1

@tvm-bot
Copy link
Collaborator

tvm-bot commented Mar 10, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@github-actions github-actions bot requested a review from lhutton1 March 10, 2023 15:13
@ashutosh-arm ashutosh-arm changed the title [ETHOSN] Connected existing arm_cpu schedule to relay strategy for co… [ETHOSN] Connect existing arm_cpu schedule to relay strategy for co… Mar 10, 2023
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 catch @ashutosh-arm! Just one small nit about the test location..

tests/test_select_implementation.py Outdated Show resolved Hide resolved
…atenate

NPU used generic implementation for concatenate
before cpu schedules were made the default fallback
schedules. This leads to performance degradation
as this blocks fusion with nearby ops. This commit
adds Relay op strategy for arm_cpu implementation
which makes it use arm_cpu schedule before cpu one.
Reference: apache#13775

Co-authored-by: Luke Hutton <luke.hutton@arm.com>
Change-Id: Ic29488d2ba25acfdccbb6cdab1697eec9ae3a736
@lhutton1 lhutton1 changed the title [ETHOSN] Connect existing arm_cpu schedule to relay strategy for co… [Relay][Op] Connect existing arm_cpu schedule to relay strategy for concat Mar 14, 2023
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.

LGTM!

@lhutton1 lhutton1 merged commit d22bdce into apache:main Mar 14, 2023
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