Skip to content

Commit

Permalink
max_duration for Mosaic jobs (#112)
Browse files Browse the repository at this point in the history
* max_duration for Mosaic jobs

* update max duration to 6
  • Loading branch information
farzadab authored Sep 13, 2024
1 parent 96a17f5 commit ae39709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ integrations:
git_repo: fixie-ai/ultravox
git_branch: $UV_BRANCH
pip_install: poetry==1.7.1
scheduling:
max_duration: 6 # 6 hours max for jobs to avoid hanging jobs
command: >-
cd ultravox && poetry install --no-dev && poetry run torchrun --nproc_per_node=8 -m ultravox.training.train $TRAIN_ARGS
env_variables:
MLFLOW_TRACKING_URI: databricks
UV_BRANCH: main
TRAIN_ARGS: --config_path ultravox/training/configs/release_config.yaml
TRAIN_ARGS: --config_path ultravox/training/configs/release_config.yaml

0 comments on commit ae39709

Please sign in to comment.