From c74e751824f2ee88bc8d8683be54667290cacffc Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 7 Jul 2026 18:03:06 +0100 Subject: [PATCH] [Doc] Fix grammatically incorrect error message in gpu_worker and xpu_worker (#36715) Signed-off-by: Hongbin10 --- vllm/v1/worker/gpu_worker.py | 2 +- vllm/v1/worker/xpu_worker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/v1/worker/gpu_worker.py b/vllm/v1/worker/gpu_worker.py index 03433ed752..57922c7143 100644 --- a/vllm/v1/worker/gpu_worker.py +++ b/vllm/v1/worker/gpu_worker.py @@ -374,7 +374,7 @@ class Worker(WorkerBase): "worker requested memory: %sGiB", format_gib(self.requested_memory) ) else: - raise RuntimeError(f"Not support device type: {self.device_config.device}") + raise RuntimeError(f"Unsupported device type: {self.device_config.device}") # Initialize workspace manager num_ubatches = 2 if self.vllm_config.parallel_config.enable_dbo else 1 diff --git a/vllm/v1/worker/xpu_worker.py b/vllm/v1/worker/xpu_worker.py index e669365890..091406a22b 100644 --- a/vllm/v1/worker/xpu_worker.py +++ b/vllm/v1/worker/xpu_worker.py @@ -82,7 +82,7 @@ class XPUWorker(Worker): self.local_rank ).total_memory else: - raise RuntimeError(f"Not support device type: {self.device_config.device}") + raise RuntimeError(f"Unsupported device type: {self.device_config.device}") ENV_CCL_ATL_TRANSPORT = os.getenv("CCL_ATL_TRANSPORT", "ofi") ENV_LOCAL_WORLD_SIZE = os.getenv(