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

Method __init__

tensorrt_llm/executor/result.py:855–864  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

853 """
854
855 def __init__(self):
856 self._done = False
857 self._timeout = 2
858
859 if has_event_loop():
860 self.aqueue = AsyncQueue()
861 self.queue = self.aqueue.sync_q
862 else:
863 self.queue = Queue()
864 self.aqueue = None
865
866 def set_timeout(self, timeout: float):
867 self._timeout = timeout

Callers

nothing calls this directly

Calls 2

has_event_loopFunction · 0.85
AsyncQueueClass · 0.85

Tested by

no test coverage detected