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

Method get_attr

tensorrt_llm/executor/rpc/rpc_server.py:210–216  ·  view source on GitHub ↗

Get the attribute of the RPC server. Args: name: The name of the attribute to get.

(self, name: str)

Source from the content-addressed store, hash-verified

208 self.register_function(attr, name)
209
210 def get_attr(self, name: str) -> Any:
211 """ Get the attribute of the RPC server.
212
213 Args:
214 name: The name of the attribute to get.
215 """
216 return getattr(self, name)
217
218 async def _drain_pending_requests(self) -> None:
219 """Drain any remaining requests from the socket and send cancellation responses."""

Callers 11

__init__Method · 0.95
post_processMethod · 0.80
_process_moe_nodeFunction · 0.80
_applyMethod · 0.80
_fuse_a_log_handlerFunction · 0.80
_insert_fused_gemmFunction · 0.80
quantize_param_listFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected