Skip to content

Conversation

@Johnson9009
Copy link
Contributor

@Johnson9009 Johnson9009 commented Apr 18, 2023

This "LOG(FATAL)" will error out when the function isn't found in “executable”, so it will prevent the recursive query the function in the imported modules of "executable".

For example, if the module hierarchy is something like below.
executable
|---LLVMModuleNode
|___NPUModuleNode

This bug will cause we can't get the function in NPUModuleNode by the call "executalbe.get_function("npu_func1", query_imports=True)".

From Arm China.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Apr 18, 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.

Generated by tvm-bot

@Johnson9009
Copy link
Contributor Author

@junrushao @Hzfengsy @tqchen Please help to review, this is so little bug fix, thanks.

@junrushao
Copy link
Member

The PR looks good to me. Retriggering CI

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.

LGTM!

@junrushao junrushao merged commit 7c97c4e into apache:main Apr 20, 2023
@Johnson9009 Johnson9009 deleted the vm_exec branch April 24, 2023 09:52
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.

3 participants