You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Hao Cheng via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/08/23 03:02:36 UTC

[Apache TVM Discuss] [Questions] `GraphModuleDebug.profile()` support RPC call?


while using `GraphModuleDebug.profile()`  to get the profile report, but get the following result.
```
Traceback (most recent call last):
  File "verfy.py", line 48, in <module>
    run_debug()
  File "verfy.py", line 38, in run_debug
    mod.profile()
  File "/srv/workspace/chenghao/framework/tvm/python/tvm/contrib/debugger/debug_executor.py", line 292, in profile
    return self._profile(collectors)
  File "tvm/_ffi/_cython/./packed_func.pxi", line 323, in tvm._ffi._cy3.core.PackedFuncBase.__call__
  File "tvm/_ffi/_cython/./packed_func.pxi", line 257, in tvm._ffi._cy3.core.FuncCall
  File "tvm/_ffi/_cython/./packed_func.pxi", line 246, in tvm._ffi._cy3.core.FuncCall3
  File "tvm/_ffi/_cython/./base.pxi", line 163, in tvm._ffi._cy3.core.CALL
ValueError: Traceback (most recent call last):
  5: TVMFuncCall
  4: _ZNSt17_Function_handlerIFvN3tvm7runtime7TVMArgsEPNS1_11TVMR
  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::EventHandler::ValidateArguments(TVMValue const*, int const*, int)
  File "/srv/workspace/chenghao/framework/tvm/src/runtime/rpc/rpc_endpoint.cc", line 177
ValueError: Cannot pass argument 0, type Array is not supported by RPC
```





---
[Visit Topic](https://discuss.tvm.apache.org/t/graphmoduledebug-profile-support-rpc-call/10859/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/3cf45c86e764de4a0ac284c77e53305ca48e2cd1135898c7e0db3c5d8ccdb665).

[Apache TVM Discuss] [Questions] Type Array is not supported by RPC?

Posted by Tristan Konolige via Apache TVM Discuss <no...@discuss.tvm.ai>.

Hi @Wanger-SJTU, right now profiling is not supported over RPC. There are a couple issue blocking support, but the main one is that the profiling report cannot be sent over rpc.





---
[Visit Topic](https://discuss.tvm.apache.org/t/type-array-is-not-supported-by-rpc/10859/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/93908fdcbbb95dfcacc3bcbafc12a1131e5637e9c177ea40928b5fdea7c520bd).