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

Method put

tensorrt_llm/executor/ipc.py:494–500  ·  view source on GitHub ↗
(self, obj: Any)

Source from the content-addressed store, hash-verified

492 self._send_thread.start()
493
494 def put(self, obj: Any):
495 self.setup_sender()
496 if self.fuse_message:
497 self.sending_queue.put_nowait(obj)
498 else:
499 batch = obj if isinstance(obj, list) else [obj]
500 self.queue.put(batch)
501
502 def get(self) -> Any:
503 return self.queue.get()

Callers

nothing calls this directly

Calls 3

setup_senderMethod · 0.95
put_nowaitMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected