MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / notify_proxy_threads_to_quit

Function notify_proxy_threads_to_quit

tensorrt_llm/executor/worker.py:236–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234 name="worker_result_queue")
235
236 def notify_proxy_threads_to_quit():
237 # Signal the dispatcher thread in the proxy to quit
238 if result_queue is not None:
239 result_queue.put(None)
240 else:
241 assert result_queues is not None
242 for q in result_queues:
243 q.put(None)
244
245 postprocess_worker_futures = []
246 if is_leader and postproc_worker_config.enabled:

Callers 1

worker_mainFunction · 0.85

Calls 1

putMethod · 0.45

Tested by

no test coverage detected