MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / RPCParams

Class RPCParams

tensorrt_llm/executor/rpc/rpc_common.py:19–29  ·  view source on GitHub ↗

Parameters for RPC calls.

Source from the content-addressed store, hash-verified

17
18
19class RPCParams(NamedTuple):
20 """ Parameters for RPC calls. """
21
22 # seconds to wait for the response
23 timeout: Optional[float] = None
24
25 # whether the client needs the response, if False, it will return immediately
26 need_response: bool = True
27
28 # mode for RPC calls: "sync", "async", or "future"
29 mode: str = "sync"
30
31
32# --- Custom Exceptions ---

Callers 3

_prepare_and_callMethod · 0.85
_call_asyncMethod · 0.85
_call_streamingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected