Skip to content

Commit

Permalink
Move driver worker to device
Browse files Browse the repository at this point in the history
  • Loading branch information
vwxyzjn committed Aug 18, 2024
1 parent e680349 commit 7341071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/executor/gpu_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _init_executor(self) -> None:
assert self.parallel_config.world_size == 1, (
"GPUExecutor only supports single GPU.")

self.driver_worker = self._create_worker()
self.driver_worker = self._create_worker(local_rank=self.device_config.device.index)
self.driver_worker.init_device()
self.driver_worker.load_model()

Expand Down

0 comments on commit 7341071

Please sign in to comment.