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

Method debug_get_from_remote

python/tvm/runtime/disco/session.py:43–56  ·  view source on GitHub ↗

Get the value of a DRef from a remote worker. It is only used for debugging purposes. Parameters ---------- worker_id : int The id of the worker to be fetched from. Returns ------- value : object The value of the register.

(self, worker_id: int)

Source from the content-addressed store, hash-verified

41 """
42
43 def debug_get_from_remote(self, worker_id: int) -> Any:
44 """Get the value of a DRef from a remote worker. It is only used for debugging purposes.
45
46 Parameters
47 ----------
48 worker_id : int
49 The id of the worker to be fetched from.
50
51 Returns
52 -------
53 value : object
54 The value of the register.
55 """
56 return _ffi_api.DRefDebugGetFromRemote(self, worker_id) # type: ignore # pylint: disable=no-member
57
58 def debug_copy_from(
59 self,

Callers 15

test_allreduceFunction · 0.80
test_callbackFunction · 0.80
_compileFunction · 0.80
_kernel_compileFunction · 0.80
test_intFunction · 0.80
test_floatFunction · 0.80
test_stringFunction · 0.80
test_string_objFunction · 0.80
test_shape_tupleFunction · 0.80
test_allreduceFunction · 0.80
test_group_allreduceFunction · 0.80

Calls

no outgoing calls

Tested by 15

test_allreduceFunction · 0.64
test_callbackFunction · 0.64
_compileFunction · 0.64
_kernel_compileFunction · 0.64
test_intFunction · 0.64
test_floatFunction · 0.64
test_stringFunction · 0.64
test_string_objFunction · 0.64
test_shape_tupleFunction · 0.64
test_allreduceFunction · 0.64
test_group_allreduceFunction · 0.64