Skip to content

Commit f1ddce2

Browse files
committed
chore: lint
Signed-off-by: Jade Zheng <zheng.shoujian@outlook.com>
1 parent c7a74a6 commit f1ddce2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vllm_ascend/worker/worker_v1.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,10 @@ def pin_lora(self, lora_id: int) -> bool:
248248
def execute_dummy_batch(self) -> None:
249249
runner = self.model_runner
250250
if runner.dp_size <= 1:
251-
raise ValueError("Dummy batch execution should only be "
252-
"performed with data parallelism enabled, but got "
253-
f"dp_size={runner.dp_size}.")
251+
raise ValueError(
252+
"Dummy batch execution should only be "
253+
"performed with data parallelism enabled, but got "
254+
f"dp_size={runner.dp_size}.")
254255

255256
# If torchair graph is enabled, notify the other DP ranks that this is a
256257
# dummy run by using '-1' as a flag for num_tokens. This will be

0 commit comments

Comments
 (0)