Driver blocked in wait mode on Alveo U250 #426
-
Hi, Have you ever experienced something like this before? Do you have any idea what could cause this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, Let me update this and explain a little further. I am trying to implement a ResNet-18 on Alveo U250 to later use it as the encoder of a U-Net. In order to better understand FINN and Brevitas and how to use it I tried experimenting on light neural networks architectures that wouldn't take too long to process through the framework. To generate the hardware architecture I used the standard build dataflow of FINN and trained on MNIST. I then tried to deploy it on the Alveo card using the generated PYNQ driver and the validate.py script. However, the execution does not work as expected and the program gets stuck in a wait statement during the execution of the execute_on_buffers function (this line). It behaves as if the driver never received an output buffer from the DMA. In order to try to understand and solve this issue I tried the following experiments:
Hope it clarifies the issue and questions, and I hope you can help. Regards, Hugo |
Beta Was this translation helpful? Give feedback.
Ok, got it. The runtime weights were not loaded, which caused the wait state. The
runtime_weight_dir
needs to be set correctly. If it is not set, no exception will be thrown.