-
v0.10.7-rc.3
Pre-Releasereleased this
2026-10-01 14:04:45 +02:00 | 577 commits to main since this releaseFrom the field report in issue #2, after a deployment on GPU nodes.
A GPU placement no longer runs on the CPU unnoticed
llama.cpp placed on a GPU, with its CUDA backend unable to load (cuBLAS not
where the loader looks), came up on the CPU, answered at CPU speed, and was
reported ready while its GPU sat reserved and idle. Three checks now stop it:- Installing the CUDA build asks it which devices it sees
(llama-server --list-devices). None, on a node with GPUs, is a failed
install, with whatlddsayslibggml-cuda.sois missing. The binary's
ownlddcould not say it: the backend is opened at run time. - Starting a shard on GPUs is ready only when its process holds memory on
each of them (nvidia-smi --query-compute-apps, its process group
included). One that does not is stopped and reported failed: "placed on GPU
0 but computing on the CPU", with the devices the engine lists. This covers
a hand-installed binary (engines.llamacpp.bin), which nothing else checks. llmgw ctl engine-check llamacpp, run on a GPU node, now also fails
when the engine sees no GPU, and otherwise prints the devices it computes on.
Shards are also given
CUDA_DEVICE_ORDER=PCI_BUS_ID: placement numbers GPUs
as nvidia-smi does, by PCI bus, and CUDA's own order is fastest first — on a
node with two kinds of GPU, a shard could get a different card from the one it
was given.A model of many files, mirrored whole for vLLM
vLLM loads a directory — shards, config.json, the tokenizer — and does not
read GGUF. Mirroring one could go wrong several ways: the explorer offered the
shards alone, a node could be handed a version still downloading or missing a
shard, and a repository's page given as a model's source was fetched as one
file of HTML.- The explorer fetches a safetensors set with what the engine reads beside
it: config.json, generation_config.json, the tokenizer files, the shard
index, the quantisation config. Never code: a.pywould be the engine
running what the repository ships, which is to be chosen on purpose. - A version is offered to nodes only whole. The mirror refuses its
manifest (409, with what is missing) while a file is still downloading, or
while a shard itsmodel.safetensors.index.jsonnames, or a part of a
split (-00002-of-00004), is absent. A node reports "not complete on the
mirror yet" and is tried again. - Checksums go with the files. The mirror keeps each file's sha256 beside
it and the manifest carries it; a node checks every file of a set against
it before using the set, and fetches one that differs again. llmgw mirror addtakes several URLs into one version.- A Hugging Face repository page is refused as a source, saying to mirror
it or to give the repository id for vLLM to fetch itself.
With a vLLM profile of
tp: 4, placement reserves four GPUs of one node for
such a model, as before.Signing up with an address that has an account
On PostgreSQL, signing up with an address already registered showed
"something went wrong; try again": the store recognised a duplicate by the
word "UNIQUE", which is SQLite's, and PostgreSQL says it in lower case under
code 23505. It now knows both, and the address is answered as on SQLite —
with the same page as a new sign-up, so the page cannot be used to find out
who has an account. That page now also says what to do if the address had
one: sign in, or ask an operator to reset the password.An error the page does not explain says the account was not created and
gives a reference (err-…), logged beside the error, for an operator to find
it; the database's own words stay in the log.An adapter no fabric uses does not keep a node out
llmgw doctorfailed a node for a RoCE port with no RoCE v2 GID entry, or for
ib_uverbsnot being loaded, whether or not any fabric used them; on a node
added for single-node inference, with no fabric given, that refused it for
RDMA nobody had asked for.- Those are failures only for ports a declared fabric uses, and only when a
fabric is declared. Otherwise they are warnings saying nothing uses them yet. - Which fabric an undeclared InfiniBand port is on, and whether it has a
subnet manager LID, are notes rather than warnings;node addstill warns
once that adapters are up with no fabric given. node add --fabrichands its fabrics to doctor (doctor --fabric name:mlx5_0,…), so they are checked as declared even though agent.yaml is
written afterwards.
A restart with no room beside it
ctl restartplaces each replacement beside the replica it replaces. With
no room for it — one GPU, every card that fits held by the replica itself —
the old replica was stopped only after the drain grace period, five minutes
of "restart replacing" with nothing saying why, which read as a restart that
never happened; scaling to zero and back was the way out. And a replacement
that fit nowhere even with the old replica gone was stopped for all the same,
leaving the model with nothing. Now:- The replica is the only thing in the way, found by placing the
replacement on a copy of the inventory without it: stopped at once, the
replacement taking its place. - The replacement fits nowhere even then: the restart is given up and the
replica keeps serving.ctl replicasshowsrestart refused:and why. - Room being made — a lower class preempted, an idle on-demand replica
stopping — is waited for, as before. ctl restart --in-placestops each replica first, whatever room there is.
Every GPU node gets a vLLM it can run, chosen on the cluster page
The vLLM a node installs is the build its hardware runs: CUDA 13 from PyPI
where the driver (580+) allows, and otherwise the same version's CUDA 12.9
build from vLLM's GitHub release, pinned to GitHub's digest, with PyTorch's
CUDA 12.9 torch (driver 525+). One version across the cluster, so the flags
llmgw builds — checked against that version — hold on every node.Volta (V100) is not covered by either build. Read from vLLM's release
pipeline: every x86 build from 0.20.0 on — CUDA 13 and CUDA 12.9 alike — has
kernels for compute capability 7.5 and up (aarch64: 8.0 and up). The last
vLLM built for 7.0 is 0.19.1, whose PyPI wheel is CUDA 12 on PyPI's torch 2.10
(also built for 7.0). A V100 node asked for a newer vLLM is refused, saying
so; give such nodes 0.19.1 withengine_overridesbygpu_class. llmgw's
launch flags are checked against 0.30.0, so runllmgw ctl engine-check vllm
on such a node once it is installed.- The install computes on the GPU before it counts: a small tensor
operation in the new environment. A build without kernels for the card
imports and prints its version, and failed only on its first model; now it
fails to install, saying so. - The build is chosen per node on the cluster page (vLLM build: auto,
CUDA 13, CUDA 12.9, none), withllmgw ctl engine-build NODE vllm BUILD, or
POST /api/v1/nodes/{id}/engines. The choice is kept in the store and sent
to the node at once.
Engines per node, and nodes that do not run them all
A cluster with older GPUs could not add them cleanly:
node addrefused a
V100 node for the vLLM it could not run, though it was meant for llama.cpp,
and--ignore-checkspassed over every other problem with it.- What vLLM cannot do is a warning, in
llmgw doctorandnode add: the
node joins without it and serves what it does run.node addchecks the
vLLM the control plane installs, not the binary's own default. node add --disable-engine vllmkeeps an engine off a node for good:
written asengines.disabledin itsagent.yaml, never installed or
advertised there, and not checked by doctor.engine_overridesinserver.yamlgive nodes picked by GPU class, id
or labels a different version of an engine, or none: vLLM 0.19.1, the last
built for Volta, on V100s beside the current one on newer cards.- The requirements follow the version. vLLM before 0.20 is CUDA 12 on
PyPI (driver 525+), and only up to 0.19.1 has Volta kernels; the threshold
had been CUDA 13's for every version, so the doctor's advice to set an older
version could not work. A refusal now says which version would. - An engine binary named in
agent.yamlis used. The agent had installed
its own beside it, which was then used first. - The node page shows each GPU's compute capability.
Serving from the mirror says where a model will run
The serve form put every GGUF model on the CPU: it offered no choice, and its
"Profile name" field, pre-filled "cpu", read as though renaming it would move
the model to a GPU. Placement is decided bygpu_class, which the form never
set. Now:- Runs on lists the fleet's GPU classes with how many cards are free, and
for llama.cpp the CPU. On a fleet with GPUs the class with the most free
cards is chosen. - GPUs per replica sets how many cards a replica takes on one node
(gpus_per_nodefor llama.cpp,tpfor vLLM), and parallel requests
how many a llama.cpp replica serves at once. - The profile is named for where it runs (
t4,t4-x4,cpu) rather than
typed. - A line under the form says what the model will run as — engine, CPU or how
many of which GPU, memory, context pool and how it is divided — and turns
red when the CPU is chosen with GPUs free. The message after adding repeats
it. - Choosing the CPU while GPUs are free is refused unless run on the CPU
anyway is ticked.
llama.cpp on several GPUs of one node
A llama.cpp profile takes several of a node's GPUs with
gpus_per_node: N:
placement reserves N cards of itsgpu_classon one node, the engine sees
those N (CUDA_VISIBLE_DEVICES) and spreads the layers over them
(--split-mode layer, in proportion to each card's free memory, which for
whole cards is even).tporppon a llama.cpp profile was a width nothing
placed — the replica stayed unplaced or ran on one card — and is now refused
when the model is added, saying to writegpus_per_nodeinstead; so is
nodesabove one.Downloads
- Installing the CUDA build asks it which devices it sees