-
Notifications
You must be signed in to change notification settings - Fork 37
ignore select factory args if pool is provided #1769
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
base: main
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f85379d
to
1879740
Compare
921ad2d
to
a9901fd
Compare
b1285b0
to
505140c
Compare
505140c
to
21c9e93
Compare
0faa465
to
3d467f8
Compare
3d467f8
to
9c8fa2e
Compare
9c8fa2e
to
e7bdf33
Compare
e7bdf33
to
c7b37b7
Compare
@@ -306,6 +306,32 @@ def ondemand_cluster( | |||
cluster_args = locals().copy() | |||
cluster_args = {k: v for k, v in cluster_args.items() if v is not None} | |||
|
|||
if pool is not None: | |||
cluster_args["launcher"] = "den" |
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.
I think we should also catch an error/warning if launcher="local"
is specified. Also thoughts on throwing errors throughout this check instead of warnings? To be more explicit and not have anything come as a surprise (e.g. autostop set but not actually enabled) to the user bc they missed a warning
No description provided.