Skip to content

Conversation

@alanmacd
Copy link
Contributor

@alanmacd alanmacd commented Oct 14, 2022

  • Enable building microTVM components by default in build except for Hexagon and iOS.
  • Disable USE_MICRO for CPU minimal pending addition change to include StandaloneCRT with CPU minimal unit tests.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Oct 14, 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

@areusch areusch added needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it and removed needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it labels Oct 19, 2022
@elvin-n
Copy link
Contributor

elvin-n commented Oct 24, 2022

@tvm-bot rerun

@mehrdadh mehrdadh self-assigned this Nov 8, 2022
@mehrdadh
Copy link
Member

mehrdadh commented Nov 8, 2022

Looks like there's only one issue withe hexagon build with crt_standalone. Great progress!

@alanmacd alanmacd changed the title [microTVM] enable building microTVM components by default in build [microTVM] enable building microTVM components by default Nov 8, 2022
Copy link
Member

@driazati driazati left a comment

Choose a reason for hiding this comment

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

just noting something we discussed offline, but the CI failures in https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/PR-13073/13/pipeline/542/#step-1557-log-1949 are difficult to fix in this PR due to Jenkins issues, so we should disable them for the CPU: minimal build (which has the env var PLATFORM set to minimal) temporarily, then I can follow up with a fix to re-enable them

@alanmacd alanmacd marked this pull request as ready for review November 22, 2022 02:18
Copy link
Member

@mehrdadh mehrdadh 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!

@mehrdadh mehrdadh merged commit e662970 into apache:main Nov 22, 2022
@alanmacd alanmacd deleted the micro-always-on branch November 22, 2022 18:39
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
* enable micro by default

* apply patch for ranlib fix

* exclude windows build from including cctools

* remove check for USE_MICRO to build crttest

* disable USE_MICRO for hexagon builds

* remove USE_MICRO conditional from TVM python package init

* remove USE_MICRO restrictions for hexagon build

* remove USE_MICRO conditional for MISRA-C test

* set USE_MICRO to ON in tvm_option, set USE_MICRO to OFF for now in CPU minimal build

Co-authored-by: Mehrdad Hessar <mhessar@octoml.ai>
srkreddy1238 added a commit to srkreddy1238/tvm that referenced this pull request Nov 25, 2022
… compilation

PR:apache#13073 makes microtvm built by default
with x86 compilers. Cross compilation fails due to this.
@srkreddy1238
Copy link
Contributor

Cross compilations fails my making microtvm default.

@echuraev
Copy link
Contributor

@alanmacd, @mehrdadh could you please clarify why we have enabled building microTVM by default?

masahi pushed a commit that referenced this pull request Nov 28, 2022
#13486)

[DOCKER][ADRENO] we don't need microtvm being built for android cross compilation

PR:#13073 makes microtvm built by default
with x86 compilers. Cross compilation fails due to this.
@areusch
Copy link
Contributor

areusch commented Nov 28, 2022

ah @srkreddy1238 @echuraev sorry for the breakage. just to document the intent here: assuming you already compile with USE_RPC ON, the actual net effect of successfully compiling with USE_MICRO ON is to add a minimal transport layer. I think these breakages are likely due to standalone_crt being built via a Make-based system rather than cmake.

let's revert this one for now, and we'll retry at a later time with a cmake-based standalone_crt build, which should properly pick up CXX from the config.cmake.

areusch added a commit that referenced this pull request Nov 28, 2022
areusch added a commit that referenced this pull request Nov 29, 2022
echuraev pushed a commit that referenced this pull request Nov 29, 2022
…13503)

* Revert "[microTVM] enable building microTVM components by default (#13073)"

This reverts commit e662970.

* USE_MICRO ON for minimal and wasm to work around CI limitation.

* revert USE_MICRO for wasm, unrelated
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.

8 participants