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

Method _notify_many

tensorrt_llm/llmapi/utils.py:479–481  ·  view source on GitHub ↗
(queues: Iterable["_SyncQueue"])

Source from the content-addressed store, hash-verified

477 # Notify many queues in one coroutine, to cut down context switch overhead.
478 @staticmethod
479 async def _notify_many(queues: Iterable["_SyncQueue"]):
480 for queue in queues:
481 queue._aq.notify()
482
483 @staticmethod
484 def notify_many(loop: asyncio.AbstractEventLoop,

Callers 1

notify_manyMethod · 0.80

Calls 1

notifyMethod · 0.80

Tested by

no test coverage detected