-
v0.10.0
Stablereleased this
2026-09-29 21:06:42 +02:00 | 645 commits to main since this releaseIndependent InfiniBand fabrics and NVLink domains, told apart, drawn and
placed on; a node checked byllmgw doctorand added byllmgw node add; vLLM
installed by the nodes themselves; people in many places at once; and a chat
page, editor setup and a model explorer for the people using it.Independent InfiniBand fabrics, told apart and drawn
A fabric was whatever
agent.yamlcalled it, and nothing checked. At a site
with several independent fabrics, two given one name would have had a replica
spread across both — started, then hung on its first collective. Now:- Identity. Each active InfiniBand port reports the master subnet manager
it sees (sminfo) and every subnet manager on its fabric (saquery SMIR),
asked once a minute through one port per fabric. Ports whose managers are
listed together are one physical fabric, so a failover does not split one in
two. A RoCE port's fabric is the IP network of its RoCE v2 address. The agent
installsinfiniband-diagswhere there are adapters and nosminfo. - Placement divides a declared fabric by that identity and forms a replica
on one part only. A node whose adapters for one name are cabled to two
fabrics is refused; a node that cannot say is kept apart from those that can. - Subnet managers. The cluster page lists each fabric's master, its
priority, its standbys and its master changes over the last day, and warns
when a fabric has no standby, when its ports disagree on the master, when a
port is up with no subnet manager (INIT), and when one name covers two
fabrics or two names one fabric. - Ports while running. The agent re-reads every InfiniBand and RoCE port on
each heartbeat: state, physical state, rate, error and data counters. A port
going down takes its fabric off the node within seconds, and back when it
returns — it used to wait for the agent to restart. - Maps. Every five minutes one node on each fabric
runsibnetdiscover, and the control plane parses it./admin/fabricsdraws
the fabric: switches in their tiers, adapters under their leaves, cables
coloured by rate, degraded ones — trained below the rest of their kind —
marked in red, rail alignment, and the cluster's own adapters live, with
their traffic running along the cables. It zooms, pans, highlights what a
switch or adapter touches, and opens detail on a click. Placement prefers
the nodes of one leaf and puts nodes with a degraded cable last.
NVLink, on every build and across nodes
- The release binary sees NVLink. It is built without cgo, so without NVML,
which was the only source of NVLink peers: on every NVLink machine the
portable agent reported none. Discovery now readsnvidia-smi topo -m: NVLink
peers, each card's NUMA node, and how near each network adapter is. - GPUs are chosen by it. Every set of the right size is scored: NVLink pairs
within it, then — for a multi-node shard — nearness to the fabric's adapters,
then NUMA nodes spanned. It used to grow one card's peers, which took cards
joined to that one but not to each other. - Multi-node NVLink domains — an NVL72 rack, an NVLink Switch system — are
found from each GPU's fabric state, ClusterUUID and CliqueId, with
nvidia-imexand its channels. A replica spanning nodes is placed inside one
domain first, on nodes whose every card is joined and whose IMEX is up, and
its shards getNCCL_MNNVL_ENABLE=1; InfiniBand is the fallback.
/admin/nvlinkdraws each domain as a rack of trays and says what keeps a
tray out. A node's page shows its GPU-by-GPU NVLink matrix.
Multi-node launches fixed before they meet hardware
- vLLM launches multi-node its own way by default. An empty
engines.vllm.launch_modemeantray, never checked against a real cluster;
it now meansmp, every node runningvllm servewith--nnodes,
--node-rankand--master-addr, the workers--headless, as vLLM
documents. Themppath used to give workers no rank and the leader's
address as their own. Setlaunch_mode: rayto keep Ray. - NCCL bootstraps over the node's own interface. The agent's default of
eth0meant it never looked for the interface holding its management
address, and the control plane sent one name for every node. A node on
ens3orbond0had NCCL bind nothing. - RoCE shards get
NCCL_IB_GID_INDEX, the RoCE v2 entry with an IPv4
address; NCCL's default is a v1 link-local one that does not route. - A Ray worker now waits for its head before joining.
- The agent unit sets
LimitMEMLOCK=infinity, which RDMA needs.
llmgw doctorChecks a node for what llmgw needs of its GPUs and fabric, and says what is
wrong and how to fix it, most serious first: NVSwitch without the fabric
manager, GPUs not joined to their NVLink domain, IMEX,nvidia_peermemand
ib_uverbs, each port's link and subnet manager, a fabric with no standby,
RoCE without a v2 GID, the agent's declared fabrics against the adapters, the
interface NCCL will use, the unit's memlock limit, and the NCCL environment a
shard on each fabric would be given.--jsonwrites every fact it read, to
send back; it exits non-zero when something fails.It also says when the CPU offers no AVX2 — a VM left on QEMU's default CPU
model, where llama.cpp runs several times slower and nothing else looks wrong —
and whether vLLM can be installed on the node, and why not.vLLM installs itself on GPU nodes
The agent installs vLLM as it does llama.cpp: on every node with an NVIDIA GPU
that can run it, with nothing done by hand. A Python 3.12 environment is built
by uv — itself a GitHub release checked against its checksum — from PyPI,
resolved as PyPI stood a day after that vLLM was published and installed with
--require-hashes, so every node gets the same files whenever it is built. The
resolved list stays in the environment asllmgw-requirements.txt.- The default is vLLM 0.30.0, which takes every flag llmgw passes. Set
engines.vllminserver.yamlto change it, or to""to keep your own. - It is built for CUDA 13: it needs driver 580 and a Turing GPU or newer, and
25 GB free while it installs. A node that lacks one says which on the
cluster page; a node with no GPU skips vLLM without a word. - gcc is installed with it, since Triton compiles its kernel launcher on the
first model load. - SGLang installs the same way, on GPU nodes, when
engines.sglangnames a
version.
Checked by installing vLLM 0.30.0 this way on a node of the test cluster: 7.7 GB,
torch 2.13 for CUDA 13.0, importing cleanly. That node has no GPU, so vLLM
itself was not started there.A node is asked only for engines its agent says it can install. An agent older
than this release says nothing, and is asked for llama.cpp alone, so a cluster
half way through its upgrade does not show every node as failing vLLM.llmgw node add: a node in one commandAdding a node was a bash script from the repository, not installed anywhere,
that needed the node's name, the control plane's address and a dozen flags.
It is now part of the binary:sudo llmgw node add ubuntu@10.0.0.21run on the control plane. The node id is the machine's hostname and the
address its agent dials is this machine's on the route to it, checked against
the server certificate. It installs llmgw on the node — the release for its
architecture, fetched and checked there, which works on RHEL too — runs
llmgw doctorthere and stops on a problem, issues and installs the
certificate, writesagent.yamland the unit, starts the agent, and waits for
the node to join and install llama.cpp.In a terminal it is a checklist that fills in, and asks what a script cannot:
which fabric each group of active adapters is on — grouped by the subnet
manager or RoCE network they report — and whether to go on past a problem.
Elsewhere it prints one line per step. Running it again on a node is safe.llmgw node removeforgets a node that is gone for good, which otherwise
stays listed as lost until the control plane restarts; only a lost node, or an
unreachable one with nothing placed on it, is removed.llmgw ctl nodesno
longer lists vLLM as skipped on every CPU node.Tried on an empty VM, from the terminal screen and plain: joined with
llama.cpp ready in under a minute, and 17 seconds to add it again.People belong to many places, or to none
A person was in exactly one project, chosen at approval, and could not use the
gateway before that. Now:- Memberships. A person can be a member of any number of organizations,
teams and projects, or of none. A member of a team or organization may use
every project in it.llmgw users join/leave, and the people page adds and
removes them from either side. Approving no longer requires a project. - Personal keys. A key can belong to a person with no project. On
/profilea person chooses what a new key spends against: one of their
projects, or Personal.llmgw keys create --for <person>does the same.
auth.personalsets default limits for personal use, or turns it off. - Limits for people.
--scope userlimits a person across every key,
project and the chat page.--per-memberon an organization, team or
project gives each member their own share there. Both are on the quotas
page, and are enforced alongside the tree, each in its own pool. - The chat page asks what to spend against when a person has more than one
choice, and checks it on every message. - Spend is recorded with who spent it, so a person's budget survives a
restart, personal use and the chat page included.
Leaving a project revokes the keys the person made there, unless another
membership still reaches it. A personal key keeps no conversations or notes:
those are kept per project.An organization's own page
A member of an organization can be made its manager (
users join --org … --role manager, or the star on the people page). A manager gets/org: the
organization's usage over time by team, project or person, its teams and
projects with limits and spend, and its members — read-only, and only what was
spent in its projects. Administrators can open every organization's page.The chat page
- A model that is not running shows a progress bar while it loads — waiting
for a node, downloading, starting — and the message is sent once it is up,
rather than failing after 45 seconds with "the model is loading". - A finished reply is rendered as markdown, by the server under the model
cards' rules, with its maths typeset by KaTeX: "$5 and $10" stays prose. - Stop, while a reply streams; its tokens, speed and time to first token under
it; a system prompt and a temperature; and the conversation kept in the
browser across a reload — the gateway still keeps none.
Connect an editor, and the Responses API
- The account page makes a key for Continue, Codex or Cline and
shows what the tool needs, filled in: Continue's assistant file, Codex's
provider and profile, Cline's four settings. Continue and Codex get a one-line
command (curl -fsSL <gateway>/setup/<tool>?model=… | sh) whose script holds
no secret — the key comes from the environment — keeps a copy of whatever it
replaces, and leaves the rest of the file alone. POST /v1/responsestranslates the Responses API, which Codex speaks, to
chat completions and back — instructions, messages, function and custom
tools with their calls and outputs, usage, streamed or not — down the same
path as any request.
Your own use
The account page (was "Your keys") shows the last thirty days of a person's own
use and, for each place they spend, a bar for every budget that applies — their
own, or a project's shared with others, said as such.The mirror page
- Explore models opens on what is trending on Hugging Face, with views for
new and most downloaded, filters for task and size, and each repository's
parameters, architecture (✓ where the nodes' llama.cpp loads it), context,
base model and license. "Only what these nodes can run" is on by default. - A repository opens beneath its row with its model card, and a download
started there starts in place, its progress followed in the table above. - What the mirror holds is grouped by model family.
- An importance matrix published beside a model's quantisations is no longer
offered as a model.
How a model runs. Each model a mirrored file is serving now shows how it runs — always on, on
demand, or stopped — and it can be changed there, without the CLI. The serve
form asks the same: on demand loads the model when somebody asks for it and
stops it after 15 minutes unused. A model declared inserver.yamlshows its
mode and says to change it there, because the file is read on every start.Weights the nodes cannot load are not fetched.
kev-0.5bwas a GGUF whose architecture,ggmlc, llama.cpp does not know. It
was downloaded, catalogued and placed, and failed on every node it was tried on.
The architecture was in the first kilobytes of the file all along. Now:- The mirror page's registry listing shows each file's architecture and, for
one the nodes' llama.cpp cannot load, says so instead of offering to fetch
it. A vision projector (mmproj) is marked as not a model on its own. - A fetch reads the file's header first — a range request, not a download —
and refuses one that cannot be served, unless "fetch anyway" is ticked. - Serving from the mirror and
llmgw ctl model addrefuse the same.
The list of architectures is llama.cpp's own (
LLM_ARCH_NAMES) at the build
llmgw pins, b10991: 152 of them. A different build configured inengines:is
not refused, only not checked.Each node's CPU and memory, and a page per node
The agent reads
/procbetween heartbeats: CPU across all cores, load, memory
used and available, and each engine's cores and resident memory. The cluster
page's node table shows CPU and RAM as bars; each node has a page with its
current load, its engines, its fabric ports, its GPUs, and an hour of charts
from Prometheus.The admin pages
- The cluster page leads with capacity, nodes, models and replicas, then usage;
it refreshes in place instead of reloading, and its usage table names people
and projects instead of ids. - The usage page's legend gives each line's total, not its last hour.
- The people page keeps an account on one line and its rarer actions in a menu.
- Every page fits a phone: a wide table scrolls in its own box.
- Static files are named by their content, so a deploy's new styles and
scripts reach browsers at once instead of a day later.
One menu on every page. Each page drew its own menu, and no two agreed: different links, in a different
order, the page you were on sometimes listed and sometimes not. Every signed-in
page now draws the same one — Cluster, People, Quotas, Usage, Mirror on the
left for an administrator, Chat, Account and Sign out on the right for
everyone — with the current page marked. The chat and key pages name the
person's project by its path rather than its id.The quotas page says what actually applies. A branch that sets no limit of its own used to read "—" in every column while
its organization held it to sixty requests a minute. Each limit now shows the
value it is held to from above, muted and marked ↑, with where it comes from on
hover; a larger value set below a stricter one says what caps it, for rate and
token limits as well as budgets. Spend and budget share a column with a meter
that turns red past 90%. The tree is indented like the people page, opening a
form or saving one no longer reloads the page, and the explanations moved under
"How limits combine". Projects are placed under their team by id rather than by
the start of their path, which misplaced them when two organizations shared a
name.The project's website, in every gateway
/aboutis llmgw's own page: what it does, InfiniBand and NVLink, installing,
the reverse proxy configurations, and the release's files to download. It is
served without a key like/, whose footer links to it, and says nothing about
the installation. Its fonts are in the binary, so it makes no request elsewhere.
The published website is rendered from the same template.Metrics
llmgw_node_cpu_utilization_percent,llmgw_node_cpus,llmgw_node_load,
llmgw_node_memory_used_bytes,llmgw_node_memory_available_bytes,
llmgw_shard_cpu_cores,llmgw_shard_memory_bytes,llmgw_ib_port_active,
llmgw_ib_port_rate_gbps,llmgw_ib_port_counter_total,
llmgw_fabric_master_sm,llmgw_fabric_subnet_managers,
llmgw_fabric_problems,llmgw_gpu_nvlink_joined,llmgw_imex_up.Fixes
- PostgreSQL queries with an apostrophe in a comment failed: the placeholder
rewriting read it as the start of a string. Comments are now skipped. - Chart axes read "20.0BB" for sizes and 0% for a quiet CPU.
- Usage by team, project or organization, and the spend on the quotas page,
left out every request made on the chat page: they were joined through the
key, and the chat page has none. They now count where a request was spent. /orgwas answered with "no api key was provided" for a signed-in browser;
a test now drives every session page through the authentication middleware.
Upgrading
Upgrade the control plane first, then the agents: an older agent is served as
before and simply reports none of the new measurements. Existing agent units
keep their old limits untilLimitMEMLOCK=infinityis added to them. A node
that setmgmt_interfacekeeps it; one that did not now uses the interface
holding its management address rather thaneth0. Multi-node vLLM replicas
start withmpunlesslaunch_mode: rayis set.The store migrates on its first start. Migration 0010 turns everyone's project into a membership and
attributes past usage to people where a key had an owner. On SQLite it rebuilds
the keys table; it was run against a copy of a production PostgreSQL store
before release.llmgw users moveis gone: usejoinandleave.vLLM is installed on every GPU node that can run it, once its agent is
upgraded: about 8 GB each, from PyPI. Setengines.vllm: ""inserver.yaml
before upgrading to keep vLLM your own.deploy/bootstrap/onboard-node.shis
replaced byllmgw node add; it still works, for a machine holding the
authority but not this llmgw.Downloads
- Identity. Each active InfiniBand port reports the master subnet manager