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

Function get_data_from_queue

tests/unittest/llmapi/test_llm_utils.py:79–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 queue.put(i)
78
79 async def get_data_from_queue():
80 for i in range(10):
81 print(f"get: {queue.get()}")
82
83 thread = threading.Thread(target=put_data_to_queue)
84 thread.start()

Callers 1

test_AsyncQueueFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected