Skip to content

Commit

Permalink
[Core/Bugfix] pass VLLM_ATTENTION_BACKEND to ray workers (vllm-projec…
Browse files Browse the repository at this point in the history
  • Loading branch information
SolitaryThinker authored and Jeffwan committed Sep 19, 2024
1 parent 02d742d commit 6efe9b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vllm/executor/ray_gpu_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ def sort_by_driver_then_worker_ip(worker):
VLLM_INSTANCE_ID,
"VLLM_TRACE_FUNCTION":
str(envs.VLLM_TRACE_FUNCTION),
**({
"VLLM_ATTENTION_BACKEND": envs.VLLM_ATTENTION_BACKEND
} if envs.VLLM_ATTENTION_BACKEND is not None else {})
}, ) for (node_id, _) in worker_node_and_gpu_ids]

self._env_vars_for_all_workers = (
Expand Down

0 comments on commit 6efe9b1

Please sign in to comment.