[V1] Move usage stats to worker and start logging TPU hardware (#16211)

This commit is contained in:
Daniel Li
2025-04-25 14:06:01 -06:00
committed by GitHub
parent a5450f11c9
commit 48cb2109b6
6 changed files with 22 additions and 10 deletions
-4
View File
@@ -28,7 +28,6 @@ from vllm.v1.engine.output_processor import OutputProcessor
from vllm.v1.engine.parallel_sampling import ParentRequest
from vllm.v1.engine.processor import Processor
from vllm.v1.executor.abstract import Executor
from vllm.v1.utils import report_usage_stats
logger = init_logger(__name__)
@@ -97,9 +96,6 @@ class LLMEngine:
# for v0 compatibility
self.model_executor = self.engine_core.engine_core.model_executor # type: ignore
# If usage stat is enabled, collect relevant info.
report_usage_stats(vllm_config, usage_context)
@classmethod
def from_vllm_config(
cls,