• v0.10.7-rc.1
    Release / build (push) Successful in 1m12s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m58s
    Pre-Release

    gitea-actions released this 2026-10-01 12:21:04 +02:00 | 579 commits to main since this release

    From 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 what ldd says libggml-cuda.so is missing. The binary's
      own ldd could 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 .py would 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 its model.safetensors.index.json names, 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 add takes 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 doctor failed a node for a RoCE port with no RoCE v2 GID entry, or for
    ib_uverbs not 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 add still warns
      once that adapters are up with no fabric given.
    • node add --fabric hands 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 restart places 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 replicas shows restart refused: and why.
    • Room being made — a lower class preempted, an idle on-demand replica
      stopping — is waited for, as before.
    • ctl restart --in-place stops each replica first, whatever room there is.

    Engines per node, and nodes that do not run them all

    A cluster with older GPUs could not add them cleanly: node add refused a
    V100 node for the vLLM it could not run, though it was meant for llama.cpp,
    and --ignore-checks passed over every other problem with it.

    • What vLLM cannot do is a warning, in llmgw doctor and node add: the
      node joins without it and serves what it does run. node add checks the
      vLLM the control plane installs, not the binary's own default.
    • node add --disable-engine vllm keeps an engine off a node for good:
      written as engines.disabled in its agent.yaml, never installed or
      advertised there, and not checked by doctor.
    • engine_overrides in server.yaml give nodes picked by GPU class, id
      or labels a different version of an engine, or none: a CUDA 12 vLLM on
      Volta beside a CUDA 13 one on newer cards.
    • The CUDA requirement follows the version. vLLM before 0.26 and SGLang
      before 0.5 are built for CUDA 12 and are installed on driver 525 and Volta;
      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 versions
      would.
    • An engine binary named in agent.yaml is 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 by gpu_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_node for llama.cpp, tp for 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 its gpu_class on 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). tp or pp on 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 write gpus_per_node instead; so is
    nodes above one.

    Downloads