mirror of
https://github.com/vllm-project/vllm.git
synced 2026-08-03 12:28:06 +00:00
[Benchmark] Fix terminal colors in benchmark_serving_multi_turn (python 3.12) (#22730)
Signed-off-by: daniels <[email protected]>
This commit is contained in:
@@ -4,7 +4,7 @@ import logging
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class Color(str, Enum):
|
||||
class Color(Enum):
|
||||
RED = "\033[91m"
|
||||
GREEN = "\033[92m"
|
||||
BLUE = "\033[94m"
|
||||
@@ -13,6 +13,9 @@ class Color(str, Enum):
|
||||
YELLOW = "\033[93m"
|
||||
RESET = "\033[0m"
|
||||
|
||||
def __str__(self):
|
||||
return self.value
|
||||
|
||||
|
||||
TEXT_SEPARATOR = "-" * 100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user