-
Notifications
You must be signed in to change notification settings - Fork 53
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
Quantized example. #412
Quantized example. #412
Conversation
Wow! That seems annoying. IMO there are two ways to proceed:
|
Hmm maybe not, I haven't actually dug into the code all that much. I'll spend some time peeking around, though frankly I'm not sure what screams "I need LLVM."
Good point, thanks. This is probably a result of me using Python3.8 now. I'll have to downgrade to 3.7 again, and see if that works. |
Edit: That was it! I had some conflicting Python issues. Starting a fresh build worked. |
Yay; great news! |
Are there particular actions we need to take to merge this PR? Are we not planning to merge it? |
Hmm good question. So without looking into it any further, running a quantized example requires LLVM. So some options are:
|
@sampsyo should we close this for now since there is no feasible path for progress towards a quantized example running? |
OK yeah, sounds good. Figuring out serious quantization could be a component of a larger "next steps in TVM-to-Calyx" milestone. |
We need LLVM to run this quantized example:
Otherwise, we get:
Similar errors usually points to "Install LLVM", e.g. this and this as well.
tvm/build/config.cmake
:Follow steps 3-7 in the TVM Relay frontend docs.
One thing I noticed was that with step 4,
I'm now getting the following error:
I have no idea whether these are actually related. So instead, I followed the directions provided on the TVM Python Bindings page:
This successfully installed the Python bindings.
Unfortunately, when I retry to run the quantized net example, I'm still getting the same error as above.