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

Models as Batch Jobs #244

Closed
wants to merge 5 commits into from
Closed

Models as Batch Jobs #244

wants to merge 5 commits into from

Conversation

MattToast
Copy link
Member

Allows users to launch individual models through an experiment as a batch job with batch settings.

exp = Experiment(...)
rs = exp.craete_run_settings(...)
bs = exp.create_batch_settings(...)
model = exp.create_model("MyModel", rs, batch_settings=bs)
exp.start(model)  # launches the model as a batch job

If a model with batch settings is added to a higher order entity (e.g. an ensemble), the batch settings of the higher order entity will be used and the batch settings of the model will be ignored to avoid an "sbatch-in-sbatch" scenario or similar .

@MattToast MattToast marked this pull request as ready for review December 6, 2022 22:29
@MattToast MattToast self-assigned this Dec 6, 2022
@MattToast
Copy link
Member Author

Closing as this branch was accidentally pushed to the main repo. It has been re-opened here: #245

@MattToast MattToast closed this Dec 6, 2022
@MattToast MattToast deleted the batch-model-exec branch December 6, 2022 23:35
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.

1 participant