Skip to content

[Bug][microTVM]Enabling USMP with VWW model has error #13777

@mehrdadh

Description

@mehrdadh

I tried to add a test that compiles VWW model with AOT in Zephyr to build with and without USMP, with USMP has error:

[14:46:53] /home/mhessar/work/tvm/src/runtime/micro/micro_session.cc:377: remote: output allocate[0]: output0
[14:46:53] /home/mhessar/work/tvm/src/runtime/micro/micro_session.cc:377: remote: pools allocate[0]: global_workspace_1_var
[14:46:53] /home/mhessar/work/tvm/src/runtime/micro/micro_session.cc:377: remote: CMAKE_SOURCE_DIR/crt/src/runtime/crt/aot_executor/aot_executor.c:216: Check failed: 0 == md->num_constant_pools: Constant pools not supported
[14:46:53] /home/mhessar/work/tvm/src/runtime/micro/micro_session.cc:377: remote: TVMError: 0x500

Here's a diff to reproduce this error:
https://github.com/apache/tvm/compare/main...mehrdadh:tvm:micro/zephyr_add_model_usmp?expand=1

cc @alanmacd @d-smirnov @gromero @leandron @mkatanbaf

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions