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

[TOOL][NATIVE] Android native application for deploy and run #13791

Merged
merged 7 commits into from
Jan 24, 2023

Conversation

srkreddy1238
Copy link
Contributor

This application helps as a reference for verifying and integration of TVM compiled models on Android targets natively independent of RPC setup.

tvmc will be used to for compiling tuning and to test run it before deployment.

This PR also covers

  • Enabling clml for tvmc compilation tool.
  • Graph runtime api "get_output_info" to return output tensor specification similar to "get_input_into"
  • This tool adds and enabled 3rdparty dependency "cnpy" to deal with npz files.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jan 16, 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.

  • No users to tag found in teams: tool, native See #10317 for details

Generated by tvm-bot

This application helps as a reference for verifying and integration of
TVM compiled models on Android targets natively independent of RPC setup.

tvmc will be used to for compiling tuning and to run it before deployment.

This PR also covers
 * Enabling clml for tvmc compilation tool.
 * Graph runtime api "get_output_info" to return output tensor specification
   similar to "get_input_into"
 * This tool adds and enabled 3rdparty dependency "cnpy" to deal with npz files.
.gitmodules Show resolved Hide resolved
apps/cpp_rtvm/README.md Outdated Show resolved Hide resolved
apps/cpp_rtvm/README.md Show resolved Hide resolved
apps/cpp_rtvm/README.md Outdated Show resolved Hide resolved
apps/cpp_rtvm/README.md Show resolved Hide resolved
apps/cpp_rtvm/README.md Show resolved Hide resolved
apps/cpp_rtvm/scripts/download_models.py Show resolved Hide resolved
apps/cpp_rtvm/tvm_runner.cc Show resolved Hide resolved
apps/cpp_rtvm/tvm_runner.cc Outdated Show resolved Hide resolved
apps/cpp_rtvm/tvm_runner.cc Show resolved Hide resolved
apps/cpp_rtvm/tvm_runner.cc Show resolved Hide resolved
srkreddy1238 and others added 3 commits January 17, 2023 13:30
Co-authored-by: Egor Churaev <egor.churaev@gmail.com>
Co-authored-by: Egor Churaev <egor.churaev@gmail.com>
apps/cpp_rtvm/README.md Outdated Show resolved Hide resolved
apps/cpp_rtvm/README.md Outdated Show resolved Hide resolved
apps/cpp_rtvm/README.md Outdated Show resolved Hide resolved
apps/cpp_rtvm/README.md Outdated Show resolved Hide resolved
srkreddy1238 and others added 2 commits January 21, 2023 10:31
Co-authored-by: Egor Churaev <egor.churaev@gmail.com>
Copy link
Contributor

@echuraev echuraev left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

Please go ahead and get it merged as @echuraev approved it already :-)

@echuraev echuraev merged commit 1f40b92 into apache:main Jan 24, 2023
@tqchen
Copy link
Member

tqchen commented Jan 24, 2023

One minor note: submodule inclusion would need to include license info, specifically,

Please send a followup PR :)

fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
…13791)

* [TOOL][NATIVE] Android native appliction for deploy and run

This application helps as a reference for verifying and integration of
TVM compiled models on Android targets natively independent of RPC setup.

tvmc will be used to for compiling tuning and to run it before deployment.

This PR also covers
 * Enabling clml for tvmc compilation tool.
 * Graph runtime api "get_output_info" to return output tensor specification
   similar to "get_input_into"
 * This tool adds and enabled 3rdparty dependency "cnpy" to deal with npz files.

* Update apps/cpp_rtvm/README.md

Co-authored-by: Egor Churaev <egor.churaev@gmail.com>

* Update apps/cpp_rtvm/README.md

Co-authored-by: Egor Churaev <egor.churaev@gmail.com>

* * review comments.

* * proof reading

* Update apps/cpp_rtvm/README.md

Co-authored-by: Egor Churaev <egor.churaev@gmail.com>

* * review

Co-authored-by: Egor Churaev <egor.churaev@gmail.com>
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