[BugFix] Use consistent logger everywhere (#3738)

This commit is contained in:
Nick Hill
2024-03-29 23:26:44 +00:00
committed by GitHub
parent 8b2d3cbc1b
commit 991143cfcd
5 changed files with 13 additions and 10 deletions
+3 -2
View File
@@ -21,7 +21,6 @@
import ctypes
import datetime
import logging
import os
# ===================== import region =====================
@@ -29,7 +28,9 @@ import torch
import torch.distributed as dist
from torch.distributed import ReduceOp
logger = logging.getLogger(__name__)
from vllm.logger import init_logger
logger = init_logger(__name__)
so_file = os.environ.get("VLLM_NCCL_SO_PATH", "")