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

[Help Wanted] Problems encountered when converting the onnx model to tvm.relay #137

Open
Zeus1116 opened this issue Apr 9, 2024 · 3 comments
Labels
user question Users do not understand somewhere of NNSmith

Comments

@Zeus1116
Copy link

Zeus1116 commented Apr 9, 2024

Excuse me. I encountered a series of errors while converting the onnx model generated by nnsmith to tvm.relay. I would like to ask if this is a bug caused by an internal error in TVM or an error in the model generated by NNSmith.
image
image
image
The command I am using is "tvm.relay.frontend.onxx.from_onnx(onnx_model)".

@Zeus1116
Copy link
Author

Zeus1116 commented Apr 9, 2024

Meanwhile, when running these models using nnsmith's exec module, the same error will also be recorded.

@ganler
Copy link
Member

ganler commented Apr 10, 2024

Together with #136, and similar to #126, -- if you are posting an issue here, I'd assume you are assuming this bug is caused by NNSmith. Yet, because the error happens in the deep call stack of TVM (e.g., codegen) -- I am actually not sure if this is anywhere caused by NNSmith. :)

I can look into this sometime later but it'd be good for you to first localize the who the bug belongs to. As it can also be very likely a TVM bug, your installation error (e.g., inadequate dependency built for TVM to support this instruction), etc. This pipeline used to work very well with NNSmith, so I doubt if this bug comes from NNSmith.

@ganler ganler added the user question Users do not understand somewhere of NNSmith label Apr 10, 2024
@Zeus1116
Copy link
Author

Together with #136, and similar to #126, -- if you are posting an issue here, I'd assume you are assuming this bug is caused by NNSmith. Yet, because the error happens in the deep call stack of TVM (e.g., codegen) -- I am actually not sure if this is anywhere caused by NNSmith. :)

I can look into this sometime later but it'd be good for you to first localize the who the bug belongs to. As it can also be very likely a TVM bug, your installation error (e.g., inadequate dependency built for TVM to support this instruction), etc. This pipeline used to work very well with NNSmith, so I doubt if this bug comes from NNSmith.

Thank you for your reply, I will try to locate the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user question Users do not understand somewhere of NNSmith
Projects
None yet
Development

No branches or pull requests

2 participants