gerald serve
gerald serve [MODEL] [options]Runs in the foreground until Ctrl-C. Guide: Serve a model.
Coding agents do not need it: they start the model themselves after
gerald install.
Arguments
Section titled “Arguments”| Argument | Default | |
|---|---|---|
MODEL |
ruby |
ruby, ruby:alpha or ruby:0.1.0. See Models and channels |
Options
Section titled “Options”| Option | Default | |
|---|---|---|
--device <cpu|cuda|vulkan|metal> |
Detected | Override the detected device |
--port <PORT> |
8080 |
Port to listen on, on 127.0.0.1 |
-y, --yes |
Answer yes to download and build prompts | |
--session-only |
Sign in for this run only; nothing is saved |
Valid devices: metal on macOS; cpu, cuda and vulkan on Linux.
Output
Section titled “Output”Ready: http://127.0.0.1:8080/v1Model: gerald/ruby:0.2.0Backend: a91eab67d8389d979d29fdf6633b2edd0718eb4b (cuda)Backend is the pinned llama.cpp revision and the device in use.
Behaviour
Section titled “Behaviour”- Serves the installed release and never updates it.
- With nothing installed: signs in if needed, asks before downloading, then serves.
- Checks the licence receipt before loading a licensed model.
- Stops a model that agents started in the background, then serves in its place.
- Stops on Ctrl-C or SIGTERM, with its backend.
Examples
Section titled “Examples”gerald servegerald serve ruby:alpha --port 9090gerald serve ruby --yes --device vulkan