@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / e1b5a82179
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 16, 08:15 UTC

Rename vllm.logging to vllm.logging_utils (#10134)

Florian Zimmermeister committed Nov 8, 2024 at 21:53 UTC e1b5a8217974af541abda462e75dc8ce1a7e4004
6 files changed +8 -8
pyproject.toml
+1 -1
@@ -68,7 +68,7 @@ files = [
68 "vllm/entrypoints",
69 "vllm/core",
70 "vllm/inputs",
71 - "vllm/logging",
71 + "vllm/logging_utils",
72 "vllm/multimodal",
73 "vllm/platforms",
74 "vllm/transformers_utils",
tests/test_logger.py
+1 -1
@@ -13,7 +13,7 @@ import pytest
13
14 from vllm.logger import (_DATE_FORMAT, _FORMAT, _configure_vllm_root_logger,
15 enable_trace_function_call, init_logger)
16 -from vllm.logging import NewLineFormatter
16 +from vllm.logging_utils import NewLineFormatter
17
18
19 def f1(x):
vllm/logger.py
+1 -1
@@ -24,7 +24,7 @@ _DATE_FORMAT = "%m-%d %H:%M:%S"
24 DEFAULT_LOGGING_CONFIG = {
25 "formatters": {
26 "vllm": {
27 - "class": "vllm.logging.NewLineFormatter",
27 + "class": "vllm.logging_utils.NewLineFormatter",
28 "datefmt": _DATE_FORMAT,
29 "format": _FORMAT,
30 },
vllm/logging/__init__.py deleted
-5
@@ -1,5 +0,0 @@
1 -from vllm.logging.formatter import NewLineFormatter
2 -
3 -__all__ = [
4 - "NewLineFormatter",
5 -]
vllm/logging_utils/__init__.py new
+5
@@ -0,0 +1,5 @@
1 +from vllm.logging_utils.formatter import NewLineFormatter
2 +
3 +__all__ = [
4 + "NewLineFormatter",
5 +]
vllm/logging_utils/formatter.py renamed