Open manudwd opened 1 year ago
Hi @manudwd,
Looking at https://github.com/Xilinx/DPU-PYNQ/issues/106 I ran into the exact same error message as you have reported here. In that case vaitrace was destroying the event loop that xrt_device was grabbing. The solution that worked for me was starting a new event loop inside the vaitrace application like so:
import asyncio
asyncio.set_event_loop(asyncio.new_event_loop())
Not very familiar with your application, but maybe it helps. If you resolved your issue another way please share a solution and/or close the issue. Thanks!
Hello! DPU Target: DPUCZDX8G_ISA1_B4096
Vitis Verison: 2.5.0 (CPU)
I am using the Xilinx-RFSoC ZCU 111 for a custom neural net, I am using that with combinations to some other tools to create something along the lines of a dash board for my results, all of which is intended to happen on the board using board Jupyter terminal.
I am able to load the bitstream as usual using
dpu = DpuOverlay("dpu.bit")
when I run it on the jupyter notebook. The problem occurs when I use it in combination with this web app creating tool calledstreamlit
.streamlit
hosts on the local system as well typically onlocalhost:8501
port, while PYNQ hosts onport:8080
.Expected Behaviour: when I run
streamlit run myDPU_file.py
, the app should be hosted on local computer's browser since the Board is connected to my local computer via UART.Actual Behaviour: The error message:
I understand this problem may not be answered since it is raised in combination with other tools, but the error message seems to suggest that no device is found, which shouldn't be the case. It seems like a fundamental problem of threading, any help in diagnosing would be really appreciated.