-
Notifications
You must be signed in to change notification settings - Fork 16
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
[RuntimeEnv] Add archives plugin in Runtime Env module #500
base: main
Are you sure you want to change the base?
Conversation
…ontext (#501) Signed-off-by: sule <[email protected]>
# - test_1.txt | ||
# - test_1: | ||
# - test_1.txt | ||
archive_url = "http://raylet.cn-hangzhou-alipay-b.oss-cdn.aliyun-inc.com/test_runtime_env/test.zip" # noqa: E501 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This url can not be accessed.
if archive_uris != "": | ||
return [archive_uris] | ||
return [] | ||
elif isinstance(archive_uris, dict): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the dict looks like?
@@ -240,7 +240,7 @@ def __init__( | |||
self._mpi_plugin, | |||
self._image_uri_plugin, | |||
] | |||
self._plugin_manager = RuntimeEnvPluginManager() | |||
self._plugin_manager = RuntimeEnvPluginManager(self._runtime_env_dir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need add the extra parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need add the extra parameter
RuntimeEnv New plugin need runtime env dir from runtime env plugin.
Why are these changes needed?
Add Archives plugin in Runtime Env module #504
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.