Skip to content

Commit

Permalink
Setting the value for the scpecilative decoding worker class on rocm …
Browse files Browse the repository at this point in the history
…platform (#313)

Signed-off-by: Gregory Shtrasberg <[email protected]>
  • Loading branch information
gshtras authored Dec 9, 2024
1 parent fb82bf1 commit 22f9066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/platforms/rocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
elif vllm_config.speculative_config:
parallel_config.worker_cls = \
"vllm.spec_decode.spec_decode_worker.create_spec_worker"
parallel_config.sd_worker_cls = \
"vllm.worker.worker.Worker"
else:
parallel_config.worker_cls = "vllm.worker.worker.Worker"

Expand Down

0 comments on commit 22f9066

Please sign in to comment.