-
Notifications
You must be signed in to change notification settings - Fork 70
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
One DPU on ZCU104 not working #104
Comments
Hi @jjsuperpower, I gave it a shot on my side, modified the prj_config in the boards/zcu104 folder as follows:
Which looks very much like your config. Replacing the dpu.bit, .hwh, .xclbin files in /usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq_dpu with the new single core versions, I was able to run the mnist example notebook without issue. I'm using Vitis 2022.1 however. Maybe switching Vitis versions is an option? I believe 2022.1 is better supported for Vitis AI 2.5. |
Thank you for looking into it. I will go ahead and try out your suggestion and see if downgrading Vitis makes a difference. |
I ran the DPU build with Vitis 2022.1 and unfortunately I still have the same error as before. Do you have any other ideas why I am having this error? |
Hi @jjsuperpower, did you find a solution? If so, please feel free to share what it was and/or close out this issue. Thanks. |
Yes, I was able to solve the problem. Apologies for forgetting to reply. The issue I was having was my Here is why I missed this small but very important detail. The Is there a reason the Thanks, |
@jjsuperpower, thanks a bunch that's really useful to know. I made a PR that should address this issue in the future #111 Long story short - I believe that your xclbin was getting downloaded to /usr/lib, however it wasn't replacing dpu.xclbin, it was saved as /usr/lib/custom_overlay.xclbin. The way VART knows where to look for this firmware is via the /etc/vart.conf file, which is hardcoded to dpu.xclbin (or whatever default the Vitis AI petalinux flow leaves it at). The change in the PR will overwrite that config file as part of the xclbin download. |
I am having an issue modifying the ZCU104 example to have only one DPU core instead of two. I am using Vivado and Vitis 2022.2. And I am using XRT build version 2.12.0. For testing, I have been using the code from dpu_mnist_classifier.ipynb script along with the provided xmodel. I am able to successfully compile and run the DPU build example, however when I modify the prj_config file to reduce the DPU cores from two to one I am experiencing an error at runtime. I have been struggling with this error for a few weeks, so any help or suggestions will be much appreciated.
Modified prj_config
Runtime Error
The text was updated successfully, but these errors were encountered: