Blog ·

Antumbra 0.5.3: a second server beside the one that trains

One command sets up a server with no GPU to serve the experts your GPU machine trains. A server in a container now lists its machine under its own name and operating system.

Antumbra 0.5.3 is available. It is a small release on top of 0.5.2, which made a standard install serve experts. This one sets up the second machine.

Install or upgrade

# macOS and Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/albedosehen/antumbra/releases/download/v0.5.3/antumbra-cli-installer.sh | sh
# Windows
irm https://github.com/albedosehen/antumbra/releases/download/v0.5.3/antumbra-cli-installer.ps1 | iex

An existing setup needs nothing. On a machine that runs its own stack, run antumbra setup local again to give the server its machine’s name and operating system.

A server beside a trainer

Training an expert takes an NVIDIA GPU. Serving one does not. Until now the second server, a laptop or a small box that answers through the experts your GPU machine trained, was set up by hand. Now it is one command:

antumbra setup local \
  --serve-from http://trainer:8081 \
  --db-url ws://trainer:8000/rpc \
  --db-pass-file ./trainer-db-pass \
  --jwt-secret-file ./trainer-jwt-secret

The two servers share a database and a signing secret, so you are the same person on both. The two files hold the trainer’s database password and its secret; neither goes on the command line.

Setup checks that the trainer’s database answers from this machine before it starts anything, and starts the server alone, with no database of its own. Three things stay yours:

  • Opening the trainer’s database to the second machine. By default it listens on the trainer alone. Reach it over a private network or a tunnel, and treat that connection as what it is: full access to the store.
  • The same embedding model on both. The default matches; a trainer you set to another model needs the same one here.
  • A machine that already runs its own stack. Setup refuses there, so that stack’s data is not stranded.

Fixed

  • A server run in a container could list its own machine with no name, and with its image’s operating system instead of the machine’s.

Known limits

  • An expert has not yet been served through a server set up this way. The setup was run for real, and the fetch it relies on was run between two machines in 0.5.2; the two have not been run together.
  • The base model’s first download inside a container is still untimed.
  • 0.5.2’s limits stand: signing in by email on a hosted control plane has run in tests only, training needs an NVIDIA GPU, there is no import to go with the export, and the database is not encrypted.

The full list is in the changelog.

← Every postFeed