[Doc] Fix grammatically incorrect error message in gpu_worker and xpu_worker (#36715)
Signed-off-by: Hongbin10 <jdmjdm1998@163.com>
This commit is contained in:
@@ -374,7 +374,7 @@ class Worker(WorkerBase):
|
|||||||
"worker requested memory: %sGiB", format_gib(self.requested_memory)
|
"worker requested memory: %sGiB", format_gib(self.requested_memory)
|
||||||
)
|
)
|
||||||
else:
|
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
|
# Initialize workspace manager
|
||||||
num_ubatches = 2 if self.vllm_config.parallel_config.enable_dbo else 1
|
num_ubatches = 2 if self.vllm_config.parallel_config.enable_dbo else 1
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ class XPUWorker(Worker):
|
|||||||
self.local_rank
|
self.local_rank
|
||||||
).total_memory
|
).total_memory
|
||||||
else:
|
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_CCL_ATL_TRANSPORT = os.getenv("CCL_ATL_TRANSPORT", "ofi")
|
||||||
ENV_LOCAL_WORLD_SIZE = os.getenv(
|
ENV_LOCAL_WORLD_SIZE = os.getenv(
|
||||||
|
|||||||
Reference in New Issue
Block a user