Skip to content
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

[Bug] [VTA, RPC] Can’t upload custom bit file by RPC on ZCU104 #16799

Open
muonkmu opened this issue Mar 27, 2024 · 0 comments
Open

[Bug] [VTA, RPC] Can’t upload custom bit file by RPC on ZCU104 #16799

muonkmu opened this issue Mar 27, 2024 · 0 comments
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug

Comments

@muonkmu
Copy link

muonkmu commented Mar 27, 2024

I am testing VTA in the following environment.

Target : ZCU104 (pynq 2.7)
Host : ubuntu 20.04 + TVM(v0.16,dev0)
xilinx toos : vivado 2020.1

I successfully synthesized the “vta.bit” file for ZCU104, and successfully launched the RPC server on ZCU104. However, if I try to upload “vta.bit” using “vta.program_fpga (remote, bitstream=“vta.bit”)”, the following error occurs.

Which version of TVM and Pynq are guaranteed compatibility Is there a solution for this?

Traceback (most recent call last):
  File "Simple_Matrix_Multiply.py", line 24, in <module>
    vta.program_fpga(remote, bitstream="vta.bit")
  File "/home/minwook/Workspace/Study_lab/71_tvm/tvm/vta/python/vta/rpc_client.py", line 66, in program_fpga
    fprogram(os.path.basename(bitstream))
  File "/home/minwook/Workspace/Study_lab/71_tvm/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 239, in __call__
    raise_last_ffi_error()
  File "/home/minwook/Workspace/Study_lab/71_tvm/tvm/python/tvm/_ffi/base.py", line 481, in raise_last_ffi_error
    raise py_err
tvm.error.RPCError: Traceback (most recent call last):
  3: tvm::runtime::RPCWrappedFunc::operator()(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) const
  2: tvm::runtime::RPCClientSession::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)> const&)
  1: tvm::runtime::RPCEndpoint::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)>)
  0: tvm::runtime::RPCEndpoint::HandleUntilReturnEvent(bool, std::function<void (tvm::runtime::TVMArgs)>)
  File "/home/minwook/Workspace/Study_lab/71_tvm/tvm/src/runtime/rpc/rpc_endpoint.cc", line 427
RPCError: Error caught from RPC call:
@muonkmu muonkmu added needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug
Projects
None yet
Development

No branches or pull requests

1 participant