MCPcopy Index your code
hub / github.com/apache/tvm / load_module

Method load_module

python/tvm/rpc/client.py:167–180  ·  view source on GitHub ↗

Load a remote module, the file need to be uploaded first. Parameters ---------- path : str The relative location to remote temp folder. Returns ------- m : Module The remote module containing remote function.

(self, path)

Source from the content-addressed store, hash-verified

165 return self._remote_funcs["listdir"](path)
166
167 def load_module(self, path):
168 """Load a remote module, the file need to be uploaded first.
169
170 Parameters
171 ----------
172 path : str
173 The relative location to remote temp folder.
174
175 Returns
176 -------
177 m : Module
178 The remote module containing remote function.
179 """
180 return _ffi_api.LoadRemoteModule(self._sess, path)
181
182 def download_linked_module(self, path):
183 """Link a module in the remote and download it.

Callers 12

finalize_modulesFunction · 0.45
_worker_funcFunction · 0.45
default_upload_moduleFunction · 0.45
run_module_via_rpcFunction · 0.45
jitMethod · 0.45
rpc_runFunction · 0.45
test_rpc_moduleFunction · 0.45
test_rpc_moduleFunction · 0.45
run_openclFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_rpc_moduleFunction · 0.36
test_rpc_moduleFunction · 0.36