CML self hosted runners on demand with GPUs

1 Like

Thank you for this tutorial.
But i faced a problem while running the runner.
The docker run command needs an additional command to be added in order to run the runner properly.
The whole example is shown below

docker run --name myrunner -d --gpus all \
    -e RUNNER_IDLE_TIMEOUT=1800 \
    -e RUNNER_LABELS=cml,gpu \
    -e RUNNER_REPO=$my_repo_url \
    -e repo_token=$my_repo_token \
    iterativeai/cml:0-dvc2-base1-gpu runner

1 Like

Thanks @bmabir17 for pointing this out (blog/cml: check for GPU · Issue #3408 · iterative/dvc.org · GitHub)!