Skip to content

Commit

Permalink
model_runner_cls is now use WorkerWrapperBase instead as init cls after
Browse files Browse the repository at this point in the history
upstream PR10555

Signed-off-by: Chendi.Xue <[email protected]>
  • Loading branch information
xuechendi committed Dec 19, 2024
1 parent 9555fef commit 541e180
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vllm/worker/hpu_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ def __init__(

is_encoder_decoder_model = self._is_encoder_decoder_model()
ModelRunnerClass: Type[HPUModelRunnerBase] = HPUModelRunner
if model_runner_cls is not None:
ModelRunnerClass = model_runner_cls
elif is_encoder_decoder_model:
if is_encoder_decoder_model:
ModelRunnerClass = HPUEncoderDecoderModelRunner
self.model_runner: HPUModelRunnerBase = ModelRunnerClass(
vllm_config=vllm_config,
Expand Down

0 comments on commit 541e180

Please sign in to comment.