Skip to content

Conversation

@mehrdadh
Copy link
Member

This PR adds a TVMC tutorial for Zephyr platforms using tvmc micro.

@mehrdadh
Copy link
Member Author

cc @areusch @gromero

@mehrdadh
Copy link
Member Author

cc @hogepodge

Copy link
Contributor

@gromero gromero left a comment

Choose a reason for hiding this comment

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

@mehrdadh nice job! Thanks for adding that tutorial. Just some small fixes (see comments inline) and I think it's pretty much ready to land.

The other fixes in tvmc tests autotuning tutorial are good.

@mehrdadh
Copy link
Member Author

@gromero thanks for the review! I added your changes, PTAL.

# Run Tiny Model on Micro Target
############################################################
#
# To run the flashed model on the device using TVMC, we use ``tvmc run`` subcommand and we pass ``--device micro``
Copy link
Contributor

Choose a reason for hiding this comment

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

could you explain what exactly has happened now at this point, and what we mean by "run the flashed model on the device?"

Copy link
Member Author

Choose a reason for hiding this comment

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

@areusch added more details. Please let me know if I should mention anything else. thanks!

# zephyr \
# --project-option project_type=host_driven zephyr_board=qemu_x86
#
# This will generate a Zephyr project for `qemu_x86` zephyr board. To get more information about
Copy link
Contributor

Choose a reason for hiding this comment

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

could you explain host_driven here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added some details, PTAL. thanks!

Copy link
Contributor

@gromero gromero left a comment

Choose a reason for hiding this comment

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

@mehrdadh Thanks for the v2. LGTM.

@hogepodge
Copy link
Contributor

Thanks for this, read through it and it looks good to me.

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.

@areusch areusch merged commit f93f2a6 into apache:main Jan 27, 2022
@mehrdadh mehrdadh deleted the tvmc_tutorial branch January 27, 2022 17:13
sunggg pushed a commit to sunggg/tvm that referenced this pull request Jan 29, 2022
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
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.

5 participants