Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Hosts and runners

A host is a machine with model runners. A runner is a process that loads a model’s weights and makes takes. The studio’s services can run on one machine while the runners run on several.

A Mac with Apple Silicon is one host, named mac. It runs three runners, each in its own process:

  • torch: PyTorch on the Mac’s GPU.
  • mlx: MLX.
  • native: native binaries, such as MiniMax H3 video and ZONOS3.

On a Mac the CPU and GPU share one memory. So the three runners share one memory budget: the Mac’s memory minus a reserve. Before a run starts, the studio checks that the run’s planned peak, plus everything already loaded on the host, fits the budget. If it does not, the studio asks the runners to unload the least recently used parts, and the run waits until they have.

The Mac app starts its runners itself. From source, start them with make runners. See Install and run.

A machine with an NVIDIA GPU joins as one more host, in one of two ways:

  • On the stack’s own machine (Linux, or Windows with WSL2): the runners run on the machine itself, on the card’s own driver. The torch runner, and a native runner for MiniMax H3 video when SGLang is installed. See An NVIDIA card.
  • A separate NVIDIA host (Linux): the runners run as containers built on that machine, and reach a stack on another machine. The torch runner, and a native runner for MiniMax H3 video and ZONOS3. See Add an NVIDIA host.

Its budget is the GPU’s memory minus a reserve.

Some model variants run on one kind of host only:

Only on a Mac Only on NVIDIA
LTX-2.5 Distilled and Dev, MiniMax H3 Base video, Qwen3.8 27B Every fp8 and int8 community variant

Each family’s page under Models lists its variants.

On Create, Run on picks the host:

  • Auto sends the run to an eligible host: one that has the runner, the weights and the memory. It prefers a host that already has the model loaded.
  • A named host sends it there only. A run set to a host never moves.

A host that cannot take the run is greyed out, with the reason. Generate shows the run’s estimated time and peak memory. A run too big for every host fails at once and says why.

Each host does one run at a time. Other runs wait in a queue, in order. If a host goes offline during a run, the run is tried once more on another eligible host, or it fails with the reason.

An admin sets each host’s memory in System › Hosts. The settings apply to every runner on that host.

Setting What it does
After the queue drains Unload everything stops the runner processes, the only way to be sure memory goes back to the system. Keep warm keeps models loaded until memory is needed or the idle timeout passes. Keep pinned only keeps pinned parts and unloads the rest.
Idle timeout, minutes How long Keep warm waits before unloading. 0 means never.
Memory budget Automatic uses the Mac’s GPU memory limit when one is set, else the memory minus a default reserve (on NVIDIA, the GPU’s memory minus the default reserve). Custom lets you set the Memory reserve, GB kept back for everything else; the budget is the host’s memory minus it.
Pins Keep a model part loaded between runs.

The same settings are available from the command line:

Terminal window
helm hosts # each host's memory, device, runners and what they hold
helm hosts after-run <host> keep_warm --idle-min 10 --reserve-gb 12
helm hosts unload <host> --all

See The helm CLI for the rest.

The stack runs in Docker and the runners run on the machine itself, from a clone of the repository. Every step is in An NVIDIA card, for Linux and for Windows with WSL2.

  • With the Docker stack the host is named gpu (HELMSTUDIO_GPU_HOST in .env names it otherwise). From source it is the name you give make up GPU_HOSTS=<h>.
  • System › Hosts lists the host with its GPU and memory once its runners are up. Download models to it in Models, or with helm model pick --host <h>.
  • To stop the host cleanly, run make runners-nvidia-stop on it. A host that drops off goes offline after about 30 seconds.

These steps join a separate Linux NVIDIA machine to a stack run from source. They are done by hand. The host runs only the runner. It talks to the stack’s message bus (NATS) and object store, both over TLS, with its own credentials. Its weights stay on its own disk.

  1. On the machine that runs the stack, make the host’s credentials and turn on TLS. Pick a short host name of lower-case letters and digits for <h>.

    Terminal window
    make gpu-host-secrets GPU_HOSTS=<h>

    Then set STACK_TLS=on in deploy/.env and run make up.

  2. On the GPU host, install the NVIDIA driver, the NVIDIA Container Toolkit, and Docker with Compose 2.20 or later. The repository’s deploy/gpu-host/setup.sh does this on a fresh Ubuntu 24.04 machine.

  3. Copy the runner to the GPU host: the runner_service folder, the deploy/gpu-host folder, and the host’s secret files from deploy/secrets/ into deploy/gpu-host/secrets/, owned by the runner’s user (uid 10001) and readable by nobody else. Then, in deploy/gpu-host, copy .env.example to .env and set:

    • GPU_HOST: the host name from step 1.
    • MODELS_DIR: the host’s models folder.
    • MODELS_MODE: rw to allow downloads from the studio, ro to keep the folder read only.

    For gated models such as LTX-2.5, put a Hugging Face token in secrets/hf_token.

  4. Connect the host to the stack. The simplest way publishes nothing: an SSH reverse tunnel from the stack’s machine puts the stack’s NATS and object store on the GPU host’s loopback.

    Terminal window
    make gpu-host-tunnel VM=<user>@<address> ZONE=<ssh port> # plain SSH: ZONE takes the port
    make gpu-host-tunnel-stop # later, to close it
  5. Build and start the runner on the GPU host. The build makes the runner’s CUDA image on that machine.

    Terminal window
    cd deploy/gpu-host
    docker compose build
    docker compose up -d
    docker compose ps # healthy means it reached the stack

    MiniMax H3 video and ZONOS3 need the native runner too: build and start with --profile native.

  6. Check it in the studio. System › Hosts lists the new host with its GPU and memory. Download models to it in Models, or with helm model pick --host <h>.

The repository’s deploy/gpu-host/README.md has every detail, including a TLS proxy for a host the tunnel cannot reach.

To stop a host cleanly, run docker compose down on it. A host that drops off goes offline after about 30 seconds.