Skip to content

[CLI TOOLS][RTVM] Improve rtvm tool with new options to measure native performance#15818

Merged
srkreddy1238 merged 3 commits intoapache:mainfrom
srkreddy1238:rtvm_perf_options
Sep 29, 2023
Merged

[CLI TOOLS][RTVM] Improve rtvm tool with new options to measure native performance#15818
srkreddy1238 merged 3 commits intoapache:mainfrom
srkreddy1238:rtvm_perf_options

Conversation

@srkreddy1238
Copy link
Copy Markdown
Contributor

Few fixes and enhancements that affects model loading times New options to measure performance.

Few fixes and enhancements that affects model loading times
New options to measure performance.
@srkreddy1238 srkreddy1238 changed the title [RTVM] Improve rtvm tool with new options to measure native performance [CLI TOOLS][RTVM] Improve rtvm tool with new options to measure native performance Sep 26, 2023
Copy link
Copy Markdown
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.

Thank you for your PR! Just a couple of small comments

Comment thread apps/cpp_rtvm/main.cc
Comment thread apps/cpp_rtvm/tvm_runner.cc Outdated
Comment thread apps/cpp_rtvm/main.cc Outdated
@srkreddy1238
Copy link
Copy Markdown
Contributor Author

@echuraev There are some requirements and concerns on high load and unload timings with TVM in general. With PreCompiled bin we could reduce the majority and there exist some more scope with params loading. Unload time is also a bit significant. I am working on few improvements around these areas ...

Copy link
Copy Markdown
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! @srkreddy1238 just up to you if you want to return dynamic allocation or not. Feel free to merge this PR when the CI is green.

Comment thread apps/cpp_rtvm/main.cc Outdated
@srkreddy1238
Copy link
Copy Markdown
Contributor Author

srkreddy1238 commented Sep 28, 2023

Never mind. While I was relooking into the code I found a reference of the deleted object and fixed it.

@srkreddy1238 srkreddy1238 merged commit def551d into apache:main Sep 29, 2023
@srkreddy1238 srkreddy1238 deleted the rtvm_perf_options branch September 29, 2023 05:00
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