-
Notifications
You must be signed in to change notification settings - Fork 23
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
🐛 [BUG] - <ONNXModelCPU_tvm_0.9.0_cpu.yaml
file was empty, can't get opset properly properly>
#120
Comments
ONNXModelCPU_tvm_0.9.0_cpu.yaml
file was not generated properly>ONNXModelCPU_tvm_0.9.0_cpu.yaml
file was empty, can't get opset properly properly>
Hi, can you remove the |
Thanks for the answer, @ganler |
Hi, I mean I am interested in the log. Deleting and regenerating yaml with |
Okay, thanks. Got it. Debug log
|
So the problem is that you are not using a TVM with LLVM backend. Because LLVM backend is used but not found in TVM, consequently all operators being "smoke-tested" failed with To fix this you can (i) install official TVM wheels from https://pypi.org/project/apache-tvm/; or (ii) build TVM with LLVM support (add |
You may also use other CPU targets here (https://github.com/ise-uiuc/nnsmith/blob/main/nnsmith/backends/tvm.py#L38) if you don't mind hard-coding the target that you flavor. But I don't think I will change the LLVM backend option to others in the NNSmith given that LLVM is the most common CPU target. |
Thanks! Configure llvm paths to be valid, set(USE_LLVM $CLANG/bin/llvm-config) |
2
3
|
If the yaml file is not empty you can safely ignore the errors. So the rationale here is that we will run some smoke tests for certain operators and data types to examine if it is compilable. It is very fine for a subset of them to not work. It is not fine as you previously found to have nothing work. |
Closed for now. Feel free to reopen if further assistance is needed. |
Description
ONNXModelCPU_tvm_0.9.0_cpu.yaml
file was not generated properly, resulting in the following error messageopset: {}
tvm version: 0.9.0
nnsmith: 0.2.0.dev16
Installation
pip install "git+https://github.com/ise-uiuc/nnsmith@main#egg=nnsmith[torch,onnx]" --upgrade
Reproduction
Screenshots
![DESCRIPTION](LINK.png)
Logs
Front-end framework
onnx
Version of the front-end framework
onnx-1.14.0 onnxruntime-1.15.1
Back-end engine
tvm
Version of the front-end engine
tvm-0.9.0
Other context
The onnxruntime back-end engine is working fine
The text was updated successfully, but these errors were encountered: