Home
last modified time | relevance | path

Searched refs:pythonRpcHandler (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/distributed/rpc/
H A Dpy_rref.cpp196 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in toHere() local
197 auto ret = pythonRpcHandler.deserialize( in toHere()
199 pythonRpcHandler.handleException(ret); in toHere()
250 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in createRRefProxy() local
252 auto& functions = pythonRpcHandler.getRRefProxyFunctions(); in createRRefProxy()
274 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in getRRefType() local
275 auto& typeFuncs = pythonRpcHandler.getRRefTypeFunctions(); in getRRefType()
H A Drequest_callback_impl.cpp88 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in serializePyObject() local
93 return pythonRpcHandler.serialize(jit::toPyObject(std::move(value))); in serializePyObject()
110 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in runPythonFunction() local
115 result = pythonRpcHandler.runPythonUdf(function); in runPythonFunction()
128 if (pythonRpcHandler.isRemoteException(result) || !isAsyncExecution) { in runPythonFunction()
H A Dunpickled_python_call.cpp11 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in UnpickledPythonCall() local
13 pythonUdf_ = pythonRpcHandler.deserialize(serializedPyObj); in UnpickledPythonCall()
H A Dpython_functions.cpp43 auto& pythonRpcHandler = PythonRpcHandler::getInstance(); in toPyIValue() local
46 py::object value = pythonRpcHandler.deserialize(resp.serializedPyObj()); in toPyIValue()
47 pythonRpcHandler.handleException(value); in toPyIValue()