vllm.v1.executor.ray_env_utils ¶
Functions:
-
get_driver_env_vars–Return driver env vars to propagate to Ray workers.
-
update_runtime_env_for_worker_import–Expose driver environment variables needed before Ray actor import.
get_driver_env_vars(worker_specific_vars) ¶
Return driver env vars to propagate to Ray workers.
Returns everything from os.environ except worker_specific_vars and user-configured exclusions (RAY_NON_CARRY_OVER_ENV_VARS).
Source code in vllm/v1/executor/ray_env_utils.py
update_runtime_env_for_worker_import(runtime_env) ¶
Expose driver environment variables needed before Ray actor import.
VllmConfig can auto-enable breakable CUDA graphs after Ray starts, while eager_break_during_capture resolves the setting during model import.