-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
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.
Reactions are currently unavailable