How to address resource constraints #905
-
Hi @maltanar ,I'm sorry to bother you again. I encountered an error while building a hardware streaming structure for my custom model on ZCU104, and the error message was Upon inspecting the log files, I identified three DRC UTLZ-1 errors. The primary issue is related to the over-utilization of RAMB18 and RAMB36/FIFO resources in the top-level design. The error message stated:
I reviewed my network, and the ONNX file for my network is only around 5MB. However, I need to set the input size as (1, 9, 432, 432), which is relatively large. Therefore, I need to make adjustments to my hardware design to address this issue. Here are the methods I have tried:
In conclusion, I'm seeking guidance on how to resolve this issue, or how to correctly use the "external" mode. Your assistance is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, which folding configuration (SIMD/PE) are you using throughout your model? Did you apply the automatic SetFolding with a performance target that was too high? What does the resource breakdown between layers look like? Is only the input layer problematic? I would recommend to scale down your input or reduce the overall depth and/or width of your model to get a first working prototype. Afterwards you can still make the model larger or faster (by increasing SIMD/PE) until you hit the resource limits of your device. Please continue any discussion on the external mode here: #904 |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. I used my own configuration of simd/pe, and now I can avoid this problem by adjusting my network model. In #904 and I will write some of the problems I met, but in this discussion I still have some questions:
|
Beta Was this translation helpful? Give feedback.
Hi,
which folding configuration (SIMD/PE) are you using throughout your model? Did you apply the automatic SetFolding with a performance target that was too high?
What does the resource breakdown between layers look like? Is only the input layer problematic? I would recommend to scale down your input or reduce the overall depth and/or width of your model to get a first working prototype. Afterwards you can still make the model larger or faster (by increasing SIMD/PE) until you hit the resource limits of your device.
Please continue any discussion on the external mode here: #904