Your own machines
Enroll a computer you own so Fluid can run jobs on it, next to your cloud machines.
Warnings and limits
- Jobs on your machine run as the user who installed Fluid's daemon, with that user's files and permissions. Enroll only machines whose jobs you trust.
- An enrollment code is valid 10 minutes and works once. A machine that is not approved within 24 hours is revoked; so is one after the fifth wrong pairing code.
- Only an Owner approves a machine, in the console, with the pairing code the machine prints. The link the machine prints fills it in.
- When the person who enrolled a machine leaves the workspace or is removed from it, the machine waits for approval again. A job running on it goes on to its end. No new job starts, lands or resumes there until an Owner approves it again in the console, which takes no pairing code. Remove the machine if the workspace should not keep it.
- A workspace holds at most 50 machines, and at most 20 codes and unapproved machines wait at once. Each person makes at most 10 codes an hour.
- Fluid never powers your machine off or reboots it. Stopping or suspending a job ends only that job.
- A job suspended on your machine resumes there only while the machine's Fluid is the release the job started with. After you update Fluid on the machine, resume such a job on a cloud machine: it is refused on yours, by name, before anything starts.
- Fluid bills nothing for your machine. Its cost in Fluid is your own hourly estimate, $0 if you set none.
Enroll a machine
Ask Fluid for an install command, on any machine where you are signed in:
fluid machine command --name workstationor in the console: Connections, Add connection, Your machine. The name is up to 24 lowercase letters, digits and hyphens; without one, the machine's host name is used.
Run the command it prints on the computer you are adding, as the user whose account the jobs should use. It installs the CLI if needed, enrolls the machine with its single-use code and starts Fluid's daemon as a service (a systemd unit on Linux, a launchd agent on macOS).
The computer prints a pairing code such as ABCD-EFGH and a link, Approve it at .... Open the link: the console shows the machine's approval with the code filled in. Check the code and what the machine reported, then approve. fluid machine add HOST opens that page for you when it ends. Until the machine is approved, it connects and reports its hardware but takes no jobs.
Options for the install command, after sh -s --:
| Option | What it does |
|---|---|
--name NAME | the machine's name |
--no-service | install no service; run fluid machine run yourself |
--system | Linux, as root: jobs run as a user of their own, fluid, under /var/lib/fluid |
--ssh-host-key SHA256:... | the machine's SSH host key, when it was enrolled through SSH |
Enroll through SSH
From a machine with SSH access to the one you add:
fluid machine add gpu-host --name workstationThe SSH host must already work with key authentication and its known host key. Fluid checks both, shows the host and its key, and asks before it installs anything; the code goes to the host on SSH's standard input, never in a command line.
Run jobs on it
fluid run train.py --on machine.workstation --project demoA spec for your machine may name a GPU model the machine reported (--on machine.workstation:gpu=T4). A model it did not report is refused, with the models it has. A job of several ranks needs as many GPUs of that model as it has ranks. The spec takes no spot, region= or disk_gb=: the machine is where it is, with the disk it has.
Your machines also appear in fluid prices and in quotes when they fit the job. fluid machines lists them with their state: waiting, online, offline or revoked.
Look after the daemon
On the machine:
fluid machine status
fluid machine uninstallfluid machine uninstall suspends the jobs running there, then removes the daemon and revokes the machine. For a --system install, run sudo fluid machine uninstall --system.
To remove a machine from Fluid:
fluid machine rm MACHINE_IDThis is refused while a job runs there or is pinned to it. An Owner can revoke a lost or untrusted machine at once from the console's Machines page; jobs running there are stopped, and nothing saved there is used again.