@@ -52,7 +52,6 @@ def __init__(
52
52
use_cached_outputs : bool = False ,
53
53
log_requests : bool = True ,
54
54
start_engine_loop : bool = True ,
55
- external_stat_loggers : Optional [list [list [StatLoggerBase ]]] = None ,
56
55
) -> None :
57
56
if not envs .VLLM_USE_V1 :
58
57
raise ValueError (
@@ -76,14 +75,6 @@ def __init__(
76
75
loggers .append (
77
76
PrometheusStatLogger (vllm_config , engine_index = i ))
78
77
79
- if external_stat_loggers is not None :
80
- # External stat loggers handle own dp splitting
81
- # Should be in format
82
- # [[stat_logger1-dp1, stat_logger1-dp2],
83
- # [stat_logger2-dp1, stat_logger2-dp2]]
84
- for stat_logger in external_stat_loggers :
85
- loggers .append (stat_logger [i ])
86
-
87
78
self .stat_loggers .append (loggers )
88
79
89
80
# Tokenizer (+ ensure liveness if running in another process).
@@ -165,7 +156,6 @@ def from_engine_args(
165
156
engine_args : AsyncEngineArgs ,
166
157
start_engine_loop : bool = True ,
167
158
usage_context : UsageContext = UsageContext .ENGINE_CONTEXT ,
168
- external_stat_loggers : Optional [list [list [StatLoggerBase ]]] = None ,
169
159
) -> "AsyncLLM" :
170
160
"""Create an AsyncLLM from the EngineArgs."""
171
161
@@ -181,7 +171,6 @@ def from_engine_args(
181
171
log_stats = not engine_args .disable_log_stats ,
182
172
start_engine_loop = start_engine_loop ,
183
173
usage_context = usage_context ,
184
- external_stat_loggers = external_stat_loggers ,
185
174
)
186
175
187
176
def __del__ (self ):
0 commit comments