-
Notifications
You must be signed in to change notification settings - Fork 238
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
Getting error in step "step_set_fifo_depths" when running on FINN 0.9 #1178
Comments
If I remember correctly, this error was encountered before, and it had to do with Verilator requiring too much memory or requiring too many / fast file accesses (right, @LinusJungemann ?). We solved it by moving the entire FINN project directory to ramdisk, so this could be a solution if you have enough RAM available. |
Yes, moving everything to ramdisk circumvents the error. But we don't really know why. So it is probably not a bad idea that somebody investigates this error in more detail. |
Thanks for the reply @bwintermann and @LinusJungemann . I could not understand what's involved in Also I tried to run the same steps (on same network) on a different PC with the same HW configuration, and I did not get any error. So I guess that there is some dependency, which does not cause any error during Vfinn wrapper compilation, but throws an error while running this Vfinn wrapper. I may need to dig deeper to figure out exactly which dependency is causing the error. |
What we meant was that you would basically move the FINN folder and everything else (your model and build scripts for example) to RAM, using it as you would use your hard drive. But, as Linus mentioned, this was only the workaround, not the solution. Have you tried changing the compilation command in FINN to enable debug symbols and then using gdb to look where it crashes? |
@bwintermann Thanks for the reply. I'll try to include the debug symbols and see if I can find any useful information. |
I am facing the issue when trying to run pgs_flow in the tutorial section (FINN version 0.9). When I run the example build file "build.py". (I am running the fpga_flow in tutorial section)
The error is the following:
I am getting this error when running the default example of tfc_w1a1, as covered in the default build.py script.
I have tried the same with version 10.0, and everything works fine. However, FINN v0.9 does give error. Earlier I was able to run and even implement my custom model using this build flow.
The error happens in step "step_set_fifo_depths". It seems the Vfinn wrapper built is not able to run. When I try to run it outside of the build steps (both outside and inside docker), I get the following error:
Below is the docker image (output of "docker ps")
xilinx/finn:v0.9-2-gb3bdff11-dirty.xrt_202210.2.13.466_18.04-amd64-xrt
Thanks
Pradeep
The text was updated successfully, but these errors were encountered: