flow run
Run a job
Usage
flow run [OPTIONS] CONFIG_FILE
Options
| Name | Type | Description | Default |
|---|---|---|---|
--dry-run |
boolean | Do not run job, but show a count of tasks that would be run. | False |
--log-dir-create-unique |
boolean | If set, create a new log directory by appending an _ and numeric suffix if the specified log_dir already exists. If the directory exists and has a _numeric suffix, that suffix will be incremented. If not set, use the existing log_dir (which must be empty or have log_dir_allow_dirty=True). | False |
--log-dir |
directory | Set the log directory. Will override the log_dir specified in the config. | None |
--limit |
integer | Limit the number of samples to run. | None |
--var |
text | Set variables accessible to code executing in the config file through the variable __flow_vars__: task_min_priority = __flow_vars__.get("task_min_priority", 1) Examples: --var task_min_priority=2 If the same key is provided multiple times, later values will override earlier ones. |
None |
--set, -s |
text | Set config overrides. Examples: --set defaults.solver.args.tool_calls=none --set options.limit=10 --set options.metadata={"key1": "val1", "key2": "val2"} The specified value may be a string or json parsable list or dict. If string is provided then it will be appended to existing list values. If json list or dict is provided then it will replace existing values. If the same key is provided multiple times, later values will override earlier ones. |
None |
--help |
boolean | Show this message and exit. | False |