Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime env_vars cannot be passed down to executors #380

Open
Deegue opened this issue Sep 21, 2023 · 2 comments
Open

Runtime env_vars cannot be passed down to executors #380

Deegue opened this issue Sep 21, 2023 · 2 comments

Comments

@Deegue
Copy link
Collaborator

Deegue commented Sep 21, 2023

When we use ray.init(runtime_env={"env_vars":"xxx"}), executors cannot get "env_vars" while it is critical for executors in many scenarios.

It is because RayAppMaster will raise a new job which is separated from the worker pod of RayDPSparkMaster.

@g-clef
Copy link

g-clef commented Apr 30, 2024

I'm running in to this also. Would like to be able to run experiments with different dependent libraries (and send them to the workers with an env_var) without having to change the base image of my ray cluster.

@ujjawal-khare-27
Copy link

If you are having ray clusters on k8s, you can introduce these variables in pods env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants