-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU #9307
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grant-arm
requested review from
areusch,
comaniac,
jroesch,
junrushao,
merrymercy,
tqchen and
yzhliu
as code owners
October 18, 2021 10:07
grant-arm
force-pushed
the
arm_ethosu_tutorial
branch
from
October 20, 2021 15:39
79c8372
to
7530a54
Compare
grant-arm
force-pushed
the
arm_ethosu_tutorial
branch
2 times, most recently
from
October 21, 2021 17:17
c9f5fe1
to
cd93e36
Compare
areusch
reviewed
Nov 9, 2021
@grant-arm thanks for sending this! will defer to others for review |
grant-arm
force-pushed
the
arm_ethosu_tutorial
branch
from
November 23, 2021 14:58
cd93e36
to
a317a6e
Compare
…5 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7
…5 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33
- Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90
- Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
grant-arm
force-pushed
the
arm_ethosu_tutorial
branch
from
December 3, 2021 17:14
a317a6e
to
fec62c2
Compare
leandron
approved these changes
Dec 9, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
mikepapadim
pushed a commit
to mikepapadim/tvm
that referenced
this pull request
Dec 9, 2021
…5 NPU (apache#9307) * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7 * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33 * [micronpu] Update and cleanup tutorials. - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90 * [micronpu] Update and cleanup tutorial - Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 7, 2022
…5 NPU (apache#9307) * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7 * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33 * [micronpu] Update and cleanup tutorials. - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90 * [micronpu] Update and cleanup tutorial - Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
yangulei
pushed a commit
to yangulei/tvm
that referenced
this pull request
Jan 11, 2022
…5 NPU (apache#9307) * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7 * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33 * [micronpu] Update and cleanup tutorials. - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90 * [micronpu] Update and cleanup tutorial - Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
yangulei
pushed a commit
to yangulei/tvm
that referenced
this pull request
Jan 12, 2022
…5 NPU (apache#9307) * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7 * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33 * [micronpu] Update and cleanup tutorials. - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90 * [micronpu] Update and cleanup tutorial - Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 13, 2022
…5 NPU (apache#9307) * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7 * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33 * [micronpu] Update and cleanup tutorials. - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90 * [micronpu] Update and cleanup tutorial - Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
qsqqsqqsq-intellif
pushed a commit
to qsqqsqqsq-intellif/tvm
that referenced
this pull request
Apr 29, 2022
…5 NPU (apache#9307) * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU Change-Id: If1e1134b56639021036862e8ea65a8e9d33dceb7 * Tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py Change-Id: Ib554df6649b7313d4414187d5334ec5b03f35f33 * [micronpu] Update and cleanup tutorials. - Moved tutorials/micro/cortex_m_ethosu.py to gallery/how_to/work_with_microtvm/micro_ethosu.py - Replaced full linker script document with a link to the linker script on github Change-Id: Ic77648a4fc3dd76161d689774d21a3347a577b90 * [micronpu] Update and cleanup tutorial - Replace Makefile code with a link to Makefile on github - Replace header files with a link to header files on github - Update demo.c with changes introduced by Device API - Update tvmc command line arguments Change-Id: If6a254b368550c0f3effb8d1cb15f062279964e2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces a tutorial for running TVM on Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU, using bare metal.
In order to run the application without having access to a Cortex(R)-M55 and Ethos(TM)-U55 development board, the sample application will be run on a Fixed Virtual Platform (FVP). The FVP based on Arm(R) Corstone(TM)-300 software, models a hardware system containing a Cortex(R)-M55 and Ethos(TM)-U55.
This tutorial compiles a MobileNet v1 model and instructs TVM to offload operators to the Ethos(TM)-U55 where possible.
@manupa-arm @Mousius @leandron @areusch