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 14, 05:30 UTC
[Benchmark] Fix terminal colors in benchmark_serving_multi_turn (python 3.12) (#22730)
Signed-off-by: daniels <daniels@pliops.com>
Daniel Serebrenik committed
Aug 12, 2025 at 17:41 UTC
e5d3d63c42aa85025dfb1b5dec369c0c856a4efa
1 file changed
+4
-1
benchmarks/multi_turn/bench_utils.py
+4
-1
@@ -4,7 +4,7 @@ import logging
4
from enum import Enum
5
6
7
-class Color(str, Enum):
7
+class Color(Enum):
8
RED = "\033[91m"
9
GREEN = "\033[92m"
10
BLUE = "\033[94m"
@@ -13,6 +13,9 @@ class Color(str, Enum):
13
YELLOW = "\033[93m"
14
RESET = "\033[0m"
15
16
+ def __str__(self):
17
+ return self.value
18
+
19
20
TEXT_SEPARATOR = "-" * 100
21