-
Notifications
You must be signed in to change notification settings - Fork 247
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
Issue with ResNet18 Context Synthesis Step 16/19 in FINN - Possible BRAM, CPU RAM or FPGA Size Limitation? #1256
Comments
Hi, |
Thank you for the suggestion! I’ve checked the logs (vivado.log and runme.log) as you recommended. Here’s what I’ve observed so far: |
This vivado.log is from a "vivado_stitch_proj_*" folder, right? It indicates that Vivado successfully ran until completion. These warnings are typical for FINN-generated designs. The BRAM usage could be the issue, but I think an "endless" Vivado runtime is more likely due to severely over-utilized LUTs or routing, rather than slightly over-utilized BRAM alone. If it was crashing due to RAM exhaustion, you would see errors in FINN's output as it would not be able to find the expected output files. |
Thank you for the guidance! I’ve checked the LUT utilization, and it’s only 27,000 out of 200,000, so LUTs don’t appear to be the issue. This makes me suspect the problem might be related to:
I’ll investigate further in the synth_out_of_context directory, as you suggested. Could you advise on:
|
@omarghoneim3 , do you have any other vivado.log files? |
Hello,
I'm currently running FINN on Ubuntu within a virtual machine (with 26GB allocated). I successfully used the end-to-end example for the cyber model, and it worked fine on my computer. Encouraged by that, I tried implementing ResNet18 on the same setup.
Everything is working perfectly except for the Context Synthesis step (16/19) in which its stay stuck. At this step, Vivado doesn't seem to show any activity. The top function indicates no visible progress either.
Here are some relevant details about my setup:
This suggests I'm nearing the BRAM limit of the FPGA. I'm not sure if this is the root cause of the issue or if there's something else that might be causing the hang at step 16/19.
Do I need a significantly larger FPGA for ResNet18, or another CPU?
Thanks in advance!
The text was updated successfully, but these errors were encountered: