(msg: str)
| 24 | |
| 25 | @contextmanager |
| 26 | def timer(msg: str): |
| 27 | start = time.perf_counter() |
| 28 | yield |
| 29 | end = time.perf_counter() |
| 30 | logger.info(f"{msg} duration: {end - start:.2f} seconds") |
| 31 | |
| 32 | |
| 33 | def check_vllm_ready(endpoint: str, inference_parallel_size: int, uds: str | None = None): |
no outgoing calls
no test coverage detected