This command runs a workflow within the current Git repo.
It provisions the required compute resources, fetches the same version of code (as you have locally), pre-downloads the data the workflow depends on, and runs the workflow.
If you run it in the attached mode, you'll see the output in real-time as your workflow is running.
dstack run [-h] WORKFLOW [-d] [-t TAG] [ARGS ...]
The following arguments are required:
WORKFLOW- (Required) A name of one of the workflows defined in the
The following arguments are optional:
--tag TAG- (Optional) A tag name. Warning, if the tag exists, it will be overridden.
--detach- (Optional) Run the workflow in the detached mode. Means, the
runcommand doesn't poll for logs and workflow status, but exits immediately.
ARGS– (Optional) Use these arguments to override workflow parameters defined in
--help- (Optional) Shows help for the
dstack runcommand. Combine it with the name of the workflow to see how to override workflow parameters defined in
ARGS to override any of the workflow parameters defined in the