Skip to content

Commit

Permalink
fix vllm tp stuck (#2909)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang authored Jan 13, 2025
1 parent 039ef96 commit 9e93e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swift/llm/infer/infer_engine/vllm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ def infer(
use_tqdm: Optional[bool] = None,
adapter_request: Optional[AdapterRequest] = None
) -> Union[List[ChatCompletionResponse], Iterator[List[Optional[ChatCompletionStreamResponse]]]]:
self.engine.engine.model_executor.parallel_worker_tasks = None
return super().infer(
infer_requests,
request_config,
Expand Down

0 comments on commit 9e93e7f

Please sign in to comment.