-
Notifications
You must be signed in to change notification settings - Fork 47
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
Error when running ./build-scalehls.sh #50
Comments
Hi @Fiwo735, I'm not sure what is happening here. Could you try to manually create the build folder and config cmake following the commands in the script? |
You should be able to start from here: |
Hi @hanchenye, thank you very much for your quick response! Below is the output when trying to manually build:
Seeing that the error comes from unknown arguments to After adding
I was able to sucessfully run the HLS C/C++ example
Am I missing some more dependencies or was the build process not actually fully successul? |
Hey, great to know that the script is working! On many testing machines, including my own one, the gettimeofday.c test case is failing but apparently on your machine it passes. You can follow #51 and run build-scalehls.sh again to finish the process. For the PyTorch models, torch-mlir is more like an upstream tool instead of a part of scalehls, so torch-mlir is not a submodule and not built by build-scalehls.sh. I'd suggest to use the hash in https://github.com/hanchenye/scalehls#compiling-pytorch-model to build torch-mlir first to have the samples in pytorch/resnet18 working. |
Hi, I would like to follow up with this question, when I use the hash in github link to build torch-mlir and I always got the error saying "fatal error: 'ATen/native/quantized/cpu/packed_params.h' file not found" |
Following the steps mentioned in the README, I cloned the repo,
cd
into it, and tried to build it using./build-scalehls.sh
. I got the following error when trying with Ninja installed:I then disabled Ninja to try to run with
make
and I got a similar error:I use Conda to manage my environment and I have the following library versions:
It is likely some silly error on my side, but given I run into issues on the literal first step of the guide, I am a bit lost on what to try or change, so I would be very happy to get some help here, thanks!
The text was updated successfully, but these errors were encountered: