Cluster

On this page

What it is

Use several computers on the same local network together. One is the controller, which you work on; the others are workers that help. Licenses count the graphics cards actually used to run models, across the whole cluster: up to 2 are free; 3–5 need Team; 6 or more need Enterprise (offline activation supported), activated on the Settings tab. A computer without a dedicated card (integrated graphics, CPU only, Apple Silicon Mac) counts as 1. Anything that runs no models is not counted, such as a controller with "The controller also takes work" turned off. The licensed number goes to the controller first (if it takes work), then to workers in the order they were added; extra cards stay idle, and a worker left with none gets no work.

Using WSL (Windows Subsystem for Linux): we do not recommend running Raubot LM inside WSL as a worker, or as a controller that also runs models. The graphics card is reached through a virtualisation layer, which is slower and causes more problems. Using it as a controller only (with "The controller also takes work" turned off) is fine. To let this computer do the computing, install the Windows version.

Setting up

Install Raubot LM on every computer.

Each worker

On the Cluster tab choose "Worker" and press "Make pairing code". Allow it when Windows Firewall asks.

Worker

If that computer's network is "Public", allowing only private networks will not work. In Windows Settings → Network & internet, set the network to Private. Do this only on a network you trust.

The controller

On the Cluster tab choose "Controller", give the worker a name, paste the whole code and press "Add worker". Repeat for each one.

Controller

A code lasts 10 minutes and works once. If connecting fails, type the worker's IP under "Worker address".

How work is shared

You do not have to choose; it picks in this order:

  1. computers that have the model (the controller counts)
  2. those with it already loaded
  3. those it fits on
  4. the one with the least to do
  5. all equal: the controller

If a worker drops out, work moves to another, with a notice at the bottom left.

Fixing a model to one computer

On the Models tab use that model's drop-down.

Cluster settingEffect
The controller takes work toooff: the controller only hands work out
When the chosen computer is unreachableshow an error, or send it to another

Shared storage (SMB / NFS) model libraries (Team and above)

Multiple machines can mount the same NAS / SMB / NFS share at different local paths (e.g., Z:\models on Windows and /mnt/nas/models on Linux). Enable Shared storage (SMB / NFS) on that library under Models and enter the same Shared ID (default shared-models) on each machine:

  • Models are read directly from each machine's local mount path without redundant network transfers.
  • An atomic write lock (.rlm-write.lock) prevents concurrent downloads from colliding on the same shared directory.
  • Models in shared storage can only be deleted from the controller (compute-only agents cannot delete shared models); the controller unloads the model on nodes first to prevent file-locking conflicts.

Model groups (Enterprise)

Create a group on the Models tab: pick a model, tick the machines that should keep it loaded (this computer alone is fine), and press Create group.

  • Member machines load the model automatically and keep it. It cannot be unloaded or deleted until the group is dissolved.
  • A machine with plenty of video memory can hold several groups. A request for a model that no longer fits is refused.
  • Pick a group at the bottom left of the Chat, Image, Video, Speech and Transcribe tabs, or put the group name in model when calling the API. Work goes only to group members.
  • Image and video groups can have a default flow. The flow engine is then what stays resident, the flow runs on a member machine, and results are saved on the controller only. Each tab can still choose another flow or the basic mode.
  • When there is enough memory, the weights the flow needs are loaded up front, so the first run does not wait for them.
  • A member node needs the model files the flow uses.

Running on several machines at once

The window runs one flow at a time. API requests are independent: as many run at once as the group has free machines, and the rest wait in line. Put the group name in model; see the API reference. The command line can also manage groups and send batches of flows (add --api-key once accounts or API keys are in use):

raubot-lm group list
raubot-lm group create art --model <model> --member local --member <node name> --flow <flow>
raubot-lm group flow art <flow>
raubot-lm group remove art

raubot-lm flow list
raubot-lm flow default image <flow>
raubot-lm flow run <flow> --group art --prompt "a fox" --prompt "a blue bird" --count 4

flow run submits prompts × --count jobs at once and prints the elapsed time and file path as each finishes. --seed sets the starting seed. Run these on the controller while the server is running; add --port if you changed the port and --api-key if API keys are on.

Model file checks

Once a group exists, the SHA-256 of the same model (and of files the flow refers to) is compared across machines in the background. A different or missing file raises a warning on the Models tab, under the group, and in raubot-lm group list; download it again on that machine. Files on shared storage are the same copy for everyone and are not compared. The first check of a large model takes a few minutes.

Machine load dashboard (Enterprise)

The Dashboard tab on the controller shows each machine's CPU, memory, graphics card and video memory use, their recent trend, and the number of jobs running.

Engines

The controller downloads the engines workers need and sends them over; you also choose each worker's engine on this tab. See Engines.

Putting models on other computers

Computers do not each have to download everything.

WhereHow
Models tab on the controller"Send to…" and pick a computer
Download tab on the controllerchoose "Put it on" first, then install
Cluster tab on a worker"Get" under "Models in the cluster"
Download tab on a workerchoose "Ask the controller" under "Put it on"

Source and speeds on the Download tab

Where it comes from

Speeds are tried first and the fastest source is used:

  • the computer downloads from the internet itself
  • copied from another computer that has it
  • sent by the controller
  • if that computer has no internet, the controller downloads and passes it on

The Download tab says which one was chosen. Cancelling or losing the connection and doing it again continues where it stopped. Files already there are not sent again. Contents are checked after the transfer.

A worker can only ask for itself. Files go into its default model library.

Connections

  • Encrypted throughout.
  • Paired computers recognise only each other; "Unpair" on a worker ends it at once.
  • Treat a pairing code like a password.

More in Security.

Scope

  • Within one local network; chat, image, video, speech and transcription all support automatic routing or pinning to a chosen worker.
  • The controller's Cluster tab shows each worker's live load (active jobs, GPU/VRAM and CPU/RAM).
  • Workers return generated chats, images, videos and audio to the controller only; no generated outputs are kept on workers.
  • A model runs on one computer; video memory is not combined.
  • To delete or reconfigure a model on another computer, do it there.
  • For a worker to browse Hugging Face files itself, it needs internet access.

Without a window

A worker can run raubot-lm serve, managed in a browser at http://127.0.0.1:3456/ or via raubot-lm cluster / raubot-lm license CLI commands. For Linux GPU servers, see Linux headless worker node.

If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.