MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / enable_llmapi_debug

Function enable_llmapi_debug

tensorrt_llm/llmapi/utils.py:350–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348
349
350def enable_llmapi_debug() -> bool:
351 global _enable_llmapi_debug_
352 if _enable_llmapi_debug_ is None:
353 _enable_llmapi_debug_ = os.environ.get("TLLM_LLMAPI_ENABLE_DEBUG",
354 "0") == "1"
355 return _enable_llmapi_debug_
356
357
358def enable_worker_single_process_for_tp1() -> bool:

Callers 9

logger_debugFunction · 0.85
safe_set_resultMethod · 0.85
_response_readerMethod · 0.85
_call_asyncMethod · 0.85
_call_syncMethod · 0.85
_call_streamingMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected