Skip to content

Commit c5f9751

Browse files
Pavloveugeyinggeh
andauthored
Update src/utils/metrics.py
Co-authored-by: Yingge He <[email protected]>
1 parent 41a3919 commit c5f9751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def log(self, stats: VllmStats) -> None:
363363
counter_metrics = [
364364
(self.metrics.counter_prompt_tokens, stats.num_prompt_tokens_iter),
365365
(self.metrics.counter_generation_tokens, stats.num_generation_tokens_iter),
366-
(self.metrics.counter_preemption_tokens, stats.num_preemption_iter),
366+
(self.metrics.counter_num_preemption, stats.num_preemption_iter),
367367
]
368368
histogram_metrics = [
369369
(self.metrics.histogram_iteration_tokens, [stats.num_tokens_iter]),

0 commit comments

Comments
 (0)