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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to