Skip to content

Commit e3a9cd5

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

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
@@ -278,9 +278,10 @@ def pin_lora(self, lora_id: int) -> bool:
278278
def execute_dummy_batch(self) -> None:
279279
runner = self.model_runner
280280
if runner.dp_size <= 1:
281-
raise ValueError("Dummy batch execution should only be "
282-
"performed with data parallelism enabled, but got "
283-
f"dp_size={runner.dp_size}.")
281+
raise ValueError(
282+
"Dummy batch execution should only be "
283+
"performed with data parallelism enabled, but got "
284+
f"dp_size={runner.dp_size}.")
284285

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

0 commit comments

Comments
 (0)