Skip to content

Commit

Permalink
Remove speculative_config check from _get_create_worker_kwargs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaksymczuk committed Sep 18, 2024
1 parent 963fefd commit 2f9ad84
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions vllm/executor/habana_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,8 @@ def _get_create_worker_kwargs(
distributed_init_method: Optional[str] = None) -> Dict:
worker_kwargs = self._get_worker_kwargs(local_rank, rank,
distributed_init_method)
if self.speculative_config is None:
worker_kwargs.update(worker_module_name="vllm.worker.habana_worker",
worker_class_name="HabanaWorker",)
else:
worker_kwargs.update(
worker_module_name="vllm.worker.habana_worker",
worker_class_name="HabanaWorker",)
worker_kwargs.update(worker_module_name="vllm.worker.habana_worker",
worker_class_name="HabanaWorker",)
return worker_kwargs

def _create_worker(self,
Expand Down

0 comments on commit 2f9ad84

Please sign in to comment.