()
| 348 | |
| 349 | |
| 350 | def 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 | |
| 358 | def enable_worker_single_process_for_tp1() -> bool: |
no test coverage detected