[ci] fix linter (#13701)

Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
youkaichao
2025-02-22 20:28:59 +08:00
committed by GitHub
parent 3e472d882a
commit 2382ad29d1
5 changed files with 11 additions and 7 deletions
+2 -1
View File
@@ -89,7 +89,7 @@ class EngineCoreClient(ABC):
def execute_dummy_batch(self) -> None:
raise NotImplementedError
async def execute_dummy_batch_async(self) -> None:
raise NotImplementedError
@@ -343,6 +343,7 @@ class SyncMPClient(MPClient):
def execute_dummy_batch(self) -> None:
self._call_utility("execute_dummy_batch")
class AsyncMPClient(MPClient):
"""Asyncio-compatible client for multi-proc EngineCore."""
+2 -1
View File
@@ -1167,7 +1167,8 @@ class GPUModelRunner(LoRAModelRunnerMixin):
for k, v in self.intermediate_tensors.items()
})
with set_forward_context(None, self.vllm_config, num_tokens=num_tokens):
with set_forward_context(None, self.vllm_config,
num_tokens=num_tokens):
hidden_states = model(
input_ids=input_ids,
positions=positions,