You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/03/11 07:14:14 UTC
[GitHub] [tvm] ZSMJcoder opened a new issue #10579: [Bug] RPC load_module failed because of file path
ZSMJcoder opened a new issue #10579:
URL: https://github.com/apache/tvm/issues/10579
case1: pass
mod.save(temp.relpath("gemm.o"))
f = remote.load_module(temp.relpath("gemm.o"))
case2: failed
mod.save("/home/ubuntu/gemm.o")
f = remote.load_module("/home/ubuntu/gemm.o")
log:
TVMError:
---------------------------------------------------------------
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
Check failed: ecode.value() == 0 (2 vs. 0) : Cannot open file: /home/ubuntu/gemm.o No such file or directory
### Expected behavior
case2 pass
### What you were expecting
`
def load_module(file_name):
"""Load module from remote side."""
path = temp.relpath(file_name)
m = _load_module(path)
logger.info("load_module %s", path)
return m`
In file tvm/rpc/server.py, file_name will be changed to be with temp_path prefix, it is weired.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] ZSMJcoder closed issue #10579: [Bug] RPC load_module failed because of file path
Posted by GitBox <gi...@apache.org>.
ZSMJcoder closed issue #10579:
URL: https://github.com/apache/tvm/issues/10579
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] ZSMJcoder commented on issue #10579: [Bug] RPC load_module failed because of file path
Posted by GitBox <gi...@apache.org>.
ZSMJcoder commented on issue #10579:
URL: https://github.com/apache/tvm/issues/10579#issuecomment-1064854600
mistake
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org