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

Create simplest, running, Azure Batch kick-off script #28

Open
3 of 9 tasks
natemcintosh opened this issue Mar 13, 2024 · 0 comments · May be fixed by #30
Open
3 of 9 tasks

Create simplest, running, Azure Batch kick-off script #28

natemcintosh opened this issue Mar 13, 2024 · 0 comments · May be fixed by #30
Assignees
Labels
Milestone

Comments

@natemcintosh
Copy link
Collaborator

natemcintosh commented Mar 13, 2024

Goal

Create a single python script to configure and run the model in Azure Batch.

Context

This will eventually be the primary script used for production runs. For now though, it should just get something super basic up and running in Azure Batch.

Required features

  • Use a certain pre-made pool in Azure
  • Run a few models in parallel, e.g. multiple states, multiple diseases
  • Run a post production task, that is dependent on all the model runs completing.
  • Make sure all output is saved to blob storage
  • Be able to kick it off as either a poetry script or a make command. Want to be able to run this from the command line locally, as well as run it in an automated fashion from CI (at a later point in time).

Specifications

  • Have good command line help and documentation
  • Read in a single primary configuration file
  • Start a single main job
  • For each model to run, kick off a task, giving it a properly formed:
    • Docker command, including bind mounts
    • Config file to run on
  • Create a post production task that depends on all model runs finishing. Should have properly formed:
    • Docker command, including bind mounts
    • Config file to run on

Related documents

  • None that I can think of
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants