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] Add the ability to inject a setup hook for customization of runtime_env on init #24036

Merged
merged 4 commits into from
Apr 20, 2022

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Apr 20, 2022

Why are these changes needed?

This adds an environment variable hook which can be used to arbitrarily rewrite the runtime_env option programmatically. The user specifies a module path (e.g., your.module.runtime_env_hook) that receives the runtime_env option from ray.init() and can rewrite it as needed.

@ericl ericl merged commit 6d8d739 into ray-project:master Apr 20, 2022
pcmoritz added a commit that referenced this pull request Apr 30, 2022
This extends #24036 to also cover job submission.

Co-authored-by: Eric Liang <ekhliang@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

3 participants