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

[microTVM]Add default value to unspecified project options in project API #13610

Merged
merged 6 commits into from
Jan 4, 2023

Conversation

mehrdadh
Copy link
Member

In current TVM, project API ignores the default values that are set for each project option in a project API server. This results in extra function handlers to specify the default value for those options in runtime.
This PR searches through available ProjectOptions for a project API server and adds default values for unspecified options before sending the options to API call function handler.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Dec 13, 2022

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.

Generated by tvm-bot

@mehrdadh mehrdadh requested review from gromero and guberti and removed request for guberti December 13, 2022 23:12
@mehrdadh mehrdadh force-pushed the micro/add_default_project_options branch 3 times, most recently from 24d1aeb to 12d3446 Compare December 14, 2022 00:35
@mehrdadh mehrdadh force-pushed the micro/add_default_project_options branch from 96bbd02 to 76b9d38 Compare January 3, 2023 19:00
@mehrdadh mehrdadh merged commit 52fe268 into apache:main Jan 4, 2023
@mehrdadh mehrdadh deleted the micro/add_default_project_options branch January 4, 2023 17:48
Copy link
Member

@guberti guberti left a comment

Choose a reason for hiding this comment

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

LGTM, sorry for the belated review!

fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
… API (apache#13610)

In current TVM, project API ignores the default values that are set for each project option in a project API server. This results in extra function handlers to specify the default value for those options in runtime.
This PR searches through available ProjectOptions for a project API server and adds default values for unspecified options before sending the options to API call function handler.
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.

4 participants