Skip to content

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jlewitt1
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

jlewitt1 commented Feb 16, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch 2 times, most recently from f85379d to 1879740 Compare February 17, 2025 16:24
@jlewitt1 jlewitt1 force-pushed the 02-11-adds_pool_field_to_ondemand_cluster branch from 921ad2d to a9901fd Compare February 20, 2025 09:50
@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch 2 times, most recently from b1285b0 to 505140c Compare February 24, 2025 22:28
@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch from 505140c to 21c9e93 Compare February 25, 2025 11:27
Base automatically changed from 02-11-adds_pool_field_to_ondemand_cluster to main February 25, 2025 19:57
@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch 2 times, most recently from 0faa465 to 3d467f8 Compare March 3, 2025 11:02
@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch from 3d467f8 to 9c8fa2e Compare March 8, 2025 09:07
@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch from 9c8fa2e to e7bdf33 Compare March 8, 2025 09:17
@jlewitt1 jlewitt1 changed the base branch from main to cluster-fac-dep March 8, 2025 09:17
@jlewitt1 jlewitt1 force-pushed the pool-factory-updates branch from e7bdf33 to c7b37b7 Compare March 8, 2025 09:20
Base automatically changed from cluster-fac-dep to main March 10, 2025 13:49
@@ -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"
Copy link
Collaborator

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

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.

3 participants