GPU Runners
Why there’s no toggle
Section titled “Why there’s no toggle”Docker grants a container GPU access via the --gpus flag (or the equivalent
device-request API). Runaway spawns runner containers itself and doesn’t surface a
way to set that per runner, so you can’t declare “this workload’s runners get a
GPU” from the UI.
The path that works
Section titled “The path that works”GPU access onto runner containers is an agent-host and Docker-daemon task:
- Install the NVIDIA Container Toolkit on the agent host. This is what lets Docker expose host GPUs to containers. Follow NVIDIA’s Container Toolkit install guide for your distro.
- Configure the Docker daemon for GPU access. The toolkit registers a
runtime; whether spawned containers get GPUs without an explicit per-container
flag depends on the host’s daemon defaults (for example, setting the NVIDIA
runtime as the default runtime in
daemon.json). If the daemon hands GPUs to containers by default, runner containers on that host inherit them.
Related
Section titled “Related”- Workloads — what the workload settings do expose.
- Multi-host — adding a dedicated agent host (e.g. a GPU box).