[Doc] Fix grammatically incorrect error message in gpu_worker and xpu_worker (#36715)
Signed-off-by: Hongbin10 <jdmjdm1998@163.com>
Robin committed
Jul 7, 2026 at 18:03 UTC
c74e751824f2ee88bc8d8683be54667290cacffc
2 files changed
+2
-2
vllm/v1/worker/gpu_worker.py
+1
-1
@@ -374,7 +374,7 @@ class Worker(WorkerBase):
374
"worker requested memory: %sGiB", format_gib(self.requested_memory)
375
)
376
else:
377
- raise RuntimeError(f"Not support device type: {self.device_config.device}")
377
+ raise RuntimeError(f"Unsupported device type: {self.device_config.device}")
378
379
# Initialize workspace manager
380
num_ubatches = 2 if self.vllm_config.parallel_config.enable_dbo else 1
vllm/v1/worker/xpu_worker.py
+1
-1
@@ -82,7 +82,7 @@ class XPUWorker(Worker):
82
self.local_rank
83
).total_memory
84
else:
85
- raise RuntimeError(f"Not support device type: {self.device_config.device}")
85
+ raise RuntimeError(f"Unsupported device type: {self.device_config.device}")
86
87
ENV_CCL_ATL_TRANSPORT = os.getenv("CCL_ATL_TRANSPORT", "ofi")
88
ENV_LOCAL_WORLD_SIZE = os.getenv(