Skip to content

[microTVM][zephyr] Add support for host-driven AoT execution on zephyr#11650

Merged
areusch merged 4 commits into
apache:mainfrom
alanmacd:zephyr-host-driven-aot
Jun 14, 2022
Merged

[microTVM][zephyr] Add support for host-driven AoT execution on zephyr#11650
areusch merged 4 commits into
apache:mainfrom
alanmacd:zephyr-host-driven-aot

Conversation

@alanmacd

@alanmacd alanmacd commented Jun 9, 2022

Copy link
Copy Markdown
Contributor
  • add support for host-driven AoT execution on zephyr;
  • add initial version of reference counting to prevent python code from inadvertently freeing tensors during garbage collection;
  • add support for numerical indices to host-drive AoT get_input();
  • add two initial tests for host-driven AoT execution on zephyr;
  • rename existing zephyr AoT exec. test;

#11121

cc @gromero @mehrdadh @areusch @mkatanbaf

- add initial version of reference counting to prevent python code from inadvertently freeing tensors during garbage collection;
- add support for numerical indices to host-drive AoT get_input();
- add two initial tests for host-driven AoT execution on zephyr;
- rename existing zephyr AoT exec. test;
@alanmacd alanmacd marked this pull request as ready for review June 9, 2022 20:10
@alanmacd alanmacd changed the title Add support for host-driven AoT execution on zephyr [microTVM][zephyr]Add support for host-driven AoT execution on zephyr Jun 9, 2022
@alanmacd alanmacd changed the title [microTVM][zephyr]Add support for host-driven AoT execution on zephyr [microTVM][zephyr] Add support for host-driven AoT execution on zephyr Jun 9, 2022
@github-actions github-actions Bot requested review from areusch, gromero and mehrdadh June 9, 2022 20:13

@areusch areusch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks @alanmacd this looks pretty good! just a couple minor suggestions here.

Comment thread python/tvm/micro/session.py Outdated
Comment thread python/tvm/runtime/ndarray.py Outdated
Comment thread tests/micro/zephyr/test_zephyr_aot_exec.py Outdated
@areusch areusch merged commit 5b3cef3 into apache:main Jun 14, 2022
@areusch

areusch commented Jun 14, 2022

Copy link
Copy Markdown
Contributor

thanks @alanmacd !

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.

2 participants