• v0.10.5-rc.8
    Release / build (push) Successful in 1m7s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m46s
    Pre-Release

    gitea-actions released this 2026-09-30 18:02:59 +02:00 | 610 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    CPU cores are reserved, and memory has to be declared

    The first step of resource allocation for larger clusters: what a replica
    holds of a node is reserved, not assumed.

    • Cores. A profile's cpu_cores is reserved out of its node's CPUs, as
      memory is, and is what its engine computes on (llama.cpp's --threads). A
      node holds as many CPU replicas as it has cores for, and two on one node no
      longer spin against each other. Agents report their CPU count; a node that
      does not, and a profile that declares no cores, constrain nothing.
    • Memory is required of new CPU models. A model with no GPU is all host
      memory, and one declaring none looked to placement as if it fitted
      everywhere, any number of times. Adding one without min_memory_gb is now
      refused. Models stored before this still load, and say what is missing.
    • Declared against measured. Each model shows what one replica reserves
      and the most one of its replicas uses — in ctl models (RESERVES) and on the
      cluster page — with a warning when nothing is declared or when it uses more
      than a tenth over what it reserves.
    • Setting them. llmgw ctl model resources MODEL --memory GB --cores N
      (and POST /api/v1/models/{name}/resources) for a model added at runtime.
      ctl model serve and the mirror's serve form fill in cores — half the
      smallest node the model fits on — beside the memory they already estimate.
      Running replicas keep their old figures until restarted.

    The commands are llmgw ctl model resources and llmgw ctl model class; in
    rc.7 the first was briefly llmgw ctl resources.

    Capacity classes, and preemption

    A model has a class — critical, standard or opportunistic — saying what
    its capacity is worth against another's when there is not enough for both.
    Unset, an on-demand model is opportunistic and every other model standard,
    which is how the catalog behaved before. llmgw ctl model class MODEL CLASS
    sets it.

    When a model cannot be placed, replicas are stopped to make room for it, by
    these rules:

    • A lower class gives way to a higher one.
    • Within a class, only replicas above a model's minimum — room it grew into
      under load — and only for a model still below its own minimum.
    • A critical model's minimum is never taken, nor a replica that has only just
      loaded, nor one spanning several nodes.
    • Idle on-demand replicas go first, then what lower classes grew into, then
      the same within the class, then lower classes' minimums; the longest unused
      first within each.
    • The set is tried on a copy of the inventory first, at most three replicas,
      and nothing is stopped unless it makes the room.

    A replica stopped this way is drained and given 30 seconds to finish what it
    is serving. Its model is held back for up to five minutes, or until the model
    it gave way to has its replicas, so it does not take the room straight back.
    ctl models shows each model's class and "gave room to X" while held; the
    cluster page shows the class and how many replicas were lost; the metric is
    llmgw_model_preempted_total{model,class}, and every preemption is logged.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Each row also says how its model runs without being opened: replicas ready of
    those it should have, how many are still starting, and the nodes they are on —
    in amber when short, in red when parked or when it does not fit. It is one line
    per model beside its mode, and nodes drop the part of the name every node
    shares (node05 for llmgw-node05, the full name on hover).

    One line per record, in every table

    The same rule across the admin pages. Headers do not wrap; a record is one
    line; free text is cut to its column with the whole of it on hover rather than
    given a row of its own; a row across the whole table is only a note or an open
    form. On the cluster page that means a node is one line (its address and logs
    beside its name, not under it), a model's description is a column rather than a
    second row, node names drop the prefix they all share, and the GPUs, classes,
    fabrics and fallbacks columns appear only when some row has something in them —
    on a CPU-only cluster they were three columns of dashes pushing the table past
    the page. On People, a person in many teams shows two and a count, the rest on
    hover.

    Downloads
  • v0.10.5-rc.7
    Release / build (push) Successful in 1m5s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m47s
    Pre-Release

    gitea-actions released this 2026-09-30 17:43:13 +02:00 | 611 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    CPU cores are reserved, and memory has to be declared

    The first step of resource allocation for larger clusters: what a replica
    holds of a node is reserved, not assumed.

    • Cores. A profile's cpu_cores is reserved out of its node's CPUs, as
      memory is, and is what its engine computes on (llama.cpp's --threads). A
      node holds as many CPU replicas as it has cores for, and two on one node no
      longer spin against each other. Agents report their CPU count; a node that
      does not, and a profile that declares no cores, constrain nothing.
    • Memory is required of new CPU models. A model with no GPU is all host
      memory, and one declaring none looked to placement as if it fitted
      everywhere, any number of times. Adding one without min_memory_gb is now
      refused. Models stored before this still load, and say what is missing.
    • Declared against measured. Each model shows what one replica reserves
      and the most one of its replicas uses — in ctl models (RESERVES) and on the
      cluster page — with a warning when nothing is declared or when it uses more
      than a tenth over what it reserves.
    • Setting them. llmgw ctl model resources MODEL --memory GB --cores N
      (and POST /api/v1/models/{name}/resources) for a model added at runtime.
      ctl model serve and the mirror's serve form fill in cores — half the
      smallest node the model fits on — beside the memory they already estimate.
      Running replicas keep their old figures until restarted.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Each row also says how its model runs without being opened: replicas ready of
    those it should have, how many are still starting, and the nodes they are on —
    in amber when short, in red when parked or when it does not fit. It is one line
    per model beside its mode, and nodes drop the part of the name every node
    shares (node05 for llmgw-node05, the full name on hover).

    One line per record, in every table

    The same rule across the admin pages. Headers do not wrap; a record is one
    line; free text is cut to its column with the whole of it on hover rather than
    given a row of its own; a row across the whole table is only a note or an open
    form. On the cluster page that means a node is one line (its address and logs
    beside its name, not under it), a model's description is a column rather than a
    second row, node names drop the prefix they all share, and the GPUs, classes,
    fabrics and fallbacks columns appear only when some row has something in them —
    on a CPU-only cluster they were three columns of dashes pushing the table past
    the page. On People, a person in many teams shows two and a count, the rest on
    hover.

    Downloads
  • v0.10.5-rc.6
    Release / build (push) Successful in 1m4s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m50s
    Pre-Release

    gitea-actions released this 2026-09-30 11:02:32 +02:00 | 612 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Each row also says how its model runs without being opened: replicas ready of
    those it should have, how many are still starting, and the nodes they are on —
    in amber when short, in red when parked or when it does not fit. It is one line
    per model beside its mode, and nodes drop the part of the name every node
    shares (node05 for llmgw-node05, the full name on hover).

    One line per record, in every table

    The same rule across the admin pages. Headers do not wrap; a record is one
    line; free text is cut to its column with the whole of it on hover rather than
    given a row of its own; a row across the whole table is only a note or an open
    form. On the cluster page that means a node is one line (its address and logs
    beside its name, not under it), a model's description is a column rather than a
    second row, node names drop the prefix they all share, and the GPUs, classes,
    fabrics and fallbacks columns appear only when some row has something in them —
    on a CPU-only cluster they were three columns of dashes pushing the table past
    the page. On People, a person in many teams shows two and a count, the rest on
    hover.

    Downloads
  • v0.10.5-rc.5
    CI / test (push) Failing after 31s
    Release / notes (push) Successful in 4s
    Release / build (push) Successful in 1m4s
    Pre-Release

    gitea-actions released this 2026-09-30 11:02:18 +02:00 | 613 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Each row also says how its model runs without being opened: replicas ready of
    those it should have, how many are still starting, and the nodes they are on —
    in amber when short, in red when parked or when it does not fit. It is one line
    per model beside its mode, and nodes drop the part of the name every node
    shares (node05 for llmgw-node05, the full name on hover).

    One line per record, in every table

    The same rule across the admin pages. Headers do not wrap; a record is one
    line; free text is cut to its column with the whole of it on hover rather than
    given a row of its own; a row across the whole table is only a note or an open
    form. On the cluster page that means a node is one line (its address and logs
    beside its name, not under it), a model's description is a column rather than a
    second row, node names drop the prefix they all share, and the GPUs, classes,
    fabrics and fallbacks columns appear only when some row has something in them —
    on a CPU-only cluster they were three columns of dashes pushing the table past
    the page. On People, a person in many teams shows two and a count, the rest on
    hover.

    Downloads
  • v0.10.5-rc.4
    Release / build (push) Successful in 1m8s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m53s
    Pre-Release

    gitea-actions released this 2026-09-30 10:50:02 +02:00 | 614 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Each row also says how its model runs without being opened: replicas ready of
    those it should have, how many are still starting, and the nodes they are on —
    in amber when short, in red when parked or when it does not fit. It is one line
    per model beside its mode, and nodes drop the part of the name every node
    shares (node05 for llmgw-node05, the full name on hover).

    Downloads
  • v0.10.5-rc.3
    Release / build (push) Successful in 1m8s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 4m0s
    Pre-Release

    gitea-actions released this 2026-09-30 10:38:49 +02:00 | 615 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Each row also says how its model runs without being opened: replicas ready of
    those it should have, how many are still starting, and the nodes they are on —
    in amber when short, in red when parked or when it does not fit.

    Downloads
  • v0.10.5-rc.2
    Release / build (push) Successful in 1m6s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m48s
    Pre-Release

    gitea-actions released this 2026-09-30 10:19:31 +02:00 | 616 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    A held model opens to where it runs, and how many

    Clicking a model under Held opens a card beneath it: each replica with its
    node, state, age and the CPU and memory its engine uses, and how many more
    replicas the cluster has room for now, on which nodes, and why not more. The
    replicas it always runs and the most it grows to under load are changed there.
    Room is found by trying the scheduler itself on a copy of the inventory — the
    same decisions the next passes would make, not an estimate beside them — and a
    number of always-running replicas it cannot place is refused with the reason,
    rather than accepted and left short. A ceiling above the room is taken, and
    said. The same answer is at GET /api/v1/models/{name}/headroom on the admin
    API.

    Downloads
  • v0.10.5-rc.1
    CI / test (push) Successful in 3m45s
    Release / build (push) Successful in 58s
    Release / notes (push) Successful in 3s
    Pre-Release

    gitea-actions released this 2026-09-30 08:31:28 +02:00 | 617 commits to main since this release

    Changes since v0.10.4, published as release candidates (v0.10.5-rc.N) until
    there are enough for v0.10.5.

    The mirror page in tabs

    /admin/mirror was one long page: what the mirror holds, the Hugging Face
    explorer and the fetch form, one under another, with every visit waiting on
    Hugging Face for a list it might not show. It is now three tabs — Held (with
    how many are held, downloading and failed), Explore Hugging Face, and Fetch by
    URL — each with its own address. Only the tab shown does its work, and only
    Held reloads while something downloads. A download started from the explorer
    links to Held, where its progress is; a fetch the mirror refused comes back on
    the form it was sent from.

    Downloads
  • v0.10.4
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 4m57s
    Release / build (push) Successful in 4m11s
    Stable

    gitea-actions released this 2026-09-30 04:00:35 +02:00 | 618 commits to main since this release

    Published first as release candidates v0.10.4-rc.1 to rc.9.

    After upgrading, run llmgw ctl restart --all once: CPU replicas take the new
    thread count below only when they start.

    CPU replicas no longer fight over the CPUs

    llama.cpp computes on every CPU of the machine unless told otherwise, and the
    agent did not tell it. Two busy CPU replicas on one node then spin against each
    other: on an 8-vCPU node, 7B generation fell from 10 tokens a second alone to
    0.8 each with both busy, in two rounds of the same test. The agent now starts a
    CPU replica on half the machine's CPUs, where one alone makes 6.5 and two busy
    make 5.5 each. llamacpp.threads in the agent's configuration sets it for a
    node — all of them suits a node that only ever runs one CPU replica — and a
    profile's own --threads still wins. Measured on VMs whose host is
    oversubscribed; the proportions, not the numbers, are the point.

    Tracing

    With tracing.endpoint set (or OTEL_EXPORTER_OTLP_ENDPOINT), each inference
    request is traced over OTLP/HTTP: a span for the request, carrying its
    X-Request-Id, with admission, scheduling and each attempt at an engine under
    it. A caller's own traceparent is continued, and the engine is sent one for
    its attempt. tracing.sample_ratio traces a share of the requests that arrive
    without a decision. Off, it costs nothing.

    Restarting replicas

    llmgw ctl restart REPLICA... | --model M | --all replaces replicas with new
    ones. Each replacement is started beside the replica it replaces, which keeps
    serving until the new one is ready; replicas of one model go one at a time.
    Where no second copy fits anywhere, the old replica is stopped after the drain
    grace period and the new one starts in its place. This is how running engines
    pick up the keys introduced in v0.10.3, an edited profile, or a new engine
    version.

    A model that keeps failing is parked, and everybody is told

    A model whose replicas failed at every start was retried forever: kev-0.5b,
    whose architecture the nodes' llama.cpp did not know, was started 155 times in
    eight hours. After five failures in a row a model is now parked — not placed
    again until its definition changes or llmgw ctl retry MODEL is run — and
    ctl status, ctl models and the admin API say so with the last error.

    A request for a model that will not come up — parked, or fitting on no node —
    is answered at once with the reason, instead of "the model is loading; retry
    shortly", which a client would retry forever. Each request still makes the
    control plane try placing it afresh, so a model that fits once room is made is
    not refused on an old answer. "no placement for model" is logged when its
    reason changes or every ten minutes, not on every pass: it was 250 identical
    lines in two days for one model.

    Metrics and alerts for what goes wrong

    New series: llmgw_model_replicas_desired, llmgw_model_start_failures,
    llmgw_model_parked, llmgw_model_unplaceable, llmgw_node_engine_install,
    llmgw_control_plane_leader and llmgw_certificate_expiry_timestamp_seconds.
    llmgw_model_replicas_ready is now published at 0 for every model that should
    be running; it was published only while a replica was ready, so
    ModelHasNothingServing could never fire. New alerts: ModelParked,
    ModelFailingToStart, ModelCannotBePlaced, EngineInstallFailed,
    ControlPlaneLeadership, CertificateExpiresSoon and CertificateExpiresVerySoon.

    ctl status counts a model against the replicas it should have now rather
    than its minimum, so an on-demand model that was asked for and fitted nowhere
    no longer reads as satisfied.

    Backups

    llmgw server backup writes the store and /etc/llmgw — configuration,
    secrets, and the certificate authority's key — to one archive readable by root
    only, keeping the newest 14. deploy/systemd/llmgw-backup.timer runs it
    nightly. The control plane publishes the newest archive's time as
    llmgw_backup_last_success_timestamp_seconds, and BackupTooOld fires when it is
    more than 26 hours old or there has never been one. docs/install.md now says how
    to restore, including why running engines survive it: the engine-key secret
    comes back with the store.

    Replicas follow load between min and max

    A model's max was a ceiling nothing reached: every model ran exactly its
    minimum however long its queue. Now, when requests are waiting at the engines —
    every slot of every replica busy — at one or more per replica for a minute, one
    replica is added, up to max; ten minutes with nothing waiting takes one of
    those away, down to min. One step at a time, and not while the previous one
    is still starting, so a spike that is over before a replica loads does not
    leave several behind. Each decision is logged with the load that made it.
    llmgw ctl scale MODEL --min 1 --max 3 turns it on for a model.

    A model from the registry in one command

    llmgw ctl model serve OWNER/REPO takes a model from the registry to a replica
    that answers. It picks the GGUF file (--quant, Q4_K_M by default), has the
    mirror fetch it and checks what arrived against the registry's published
    sha256, checks that the nodes' llama.cpp can load it, sizes its memory from its
    header, adds it to the catalog, waits for a replica — stopping early with the
    reason if it fits nowhere or keeps failing — and asks it to say hello. Each step
    is shown as it happens. It runs in the control plane as a job, so a download of
    hours does not depend on a terminal staying open. --on-demand adds it without
    starting a replica.

    Upgrading from one command

    sudo llmgw ctl upgrade VERSION, run on the control plane, upgrades that
    machine and then every node in turn. Each agent is told the version over its
    existing stream, fetches the release for its own platform, checks it against
    the release's checksums, keeps the old binary beside the new and restarts,
    while its engines keep serving. A node that does not come back on the new
    version, ready, with its replicas, stops the upgrade before the next one.
    Running it again resumes. Agents from before this have to be moved by hand
    once.

    Following a request

    Every response carries X-Request-Id — the client's own when it sends a plain
    one, otherwise one the gateway makes — and the engine receives it too. One
    access log line per request records it with the model asked for and served,
    the replica, status, time queued, time to the first token, total time,
    tokens, and the key, project and user. Usage records keep the id, replica,
    queue time and time to first token, and llmgw ctl request ID reads one back:
    the answer to "why was this slow?".

    Rate-limit headers

    Responses carry OpenAI's x-ratelimit-limit-*, x-ratelimit-remaining-* and
    x-ratelimit-reset-* for requests and tokens, from whichever level of the
    tenancy tree will refuse first, so SDKs and editors can slow down before they
    are refused.

    Memory sized from the model

    The mirror's serve form sizes a llama.cpp model's memory from its GGUF header:
    weights, plus the KV cache for the context pool from its layers, KV heads and
    head width, plus the engine's own. At a 16k pool that cache ranges from 0.44 GB
    to 5.25 GB across the models on the live mirror, which the old "weights plus
    half again plus two" could not see.

    Security

    • Alertmanager answered anyone on the network, including requests to
      silence alerts. The monitoring README now binds it to loopback, where
      Prometheus beside it is its only client.
    • Login and signup could be made to use gigabytes. Each attempt hashes with
      64 MiB of argon2, with no bound on how many ran at once, and the per-address
      throttle grew by one entry per address tried. Hashes now run a few at a time
      and the rest wait; the throttle expires old entries, and when it is still
      full it refuses new addresses rather than dropping live ones — which would
      have let a flood of made-up addresses reset the throttle on a real one.
    • Any key holder could grow Prometheus without bound by asking for made-up
      model names, each of which became a metric label. Requests are counted under
      the catalog's name for their model, or "unknown".
    • A SQLite backup left a full copy of the store readable by local users
      while it ran. The snapshot is now made in a private directory, and
      llmgw-backup.service sets UMask=0077.
    • An engine archive could write outside its directory through chained
      links.
      Archives are unpacked through os.Root, and a link may only point
      at a file beside it. Every llama.cpp b10991 archive, CPU and CUDA, already
      follows that rule.
    • Onboarding made every node trust the cluster's root for everything. It
      was added to the system store, so a certificate the control plane signed
      would pass for any site with every TLS client on the node. The agent trusts
      it through its own configuration only; onboarding no longer adds it, and
      takes it out of a node that an older version onboarded.
    • Any node could manage a mirror running mutual TLS, since one root signs
      every node's certificate. llmgw mirror serve --api-client NAME answers only
      the certificate with that common name, and the mirror warns when mutual TLS
      runs without one.
    • The administrator's password stayed in init.log. It is shown once, on
      the screen, and the log keeps a placeholder.
    • Auth off on a public address was silent. The server now warns at start
      when the API listens beyond loopback without keys.
    • The actor recorded with a change was whatever the caller sent, line
      breaks included. It is cut to a short printable name, and sudo llmgw ctl
      records the person who ran sudo rather than root.
    • vLLM's Ray head ran its dashboard, whose job API runs code for anyone who
      reaches it. It is off. The head itself still has no authentication, and
      SGLang still takes its key as a flag; docs/install.md says what to do about
      both. The monitoring README says how to keep Prometheus's queries to the
      control plane.

    Fixes

    • Tests that slept a fixed time and then asserted now wait for their
      condition. They are the likeliest cause of CI's intermittent failures on a
      loaded runner.
    • ctl reported a change the API had queued (202 Accepted) as an error, as
      ctl restart did on its first real use.
    • The status each failure is answered with — 499, 502, 503 with and without
      Retry-After, 504, 429 — is now tested case by case.

    Releases

    Small fixes are published as release candidates of the next version —
    v0.10.4-rc.1, rc.2 — which sort after v0.10.3 and before v0.10.4. Their release
    notes come from this section, and they are marked as pre-releases. Onboarding
    treats a release candidate as a release and downloads it.

    Downloads
  • v0.10.4-rc.9
    Release / build (push) Successful in 1m2s
    Release / notes (push) Successful in 2s
    CI / test (push) Successful in 3m48s
    Pre-Release

    gitea-actions released this 2026-09-30 03:18:07 +02:00 | 619 commits to main since this release

    Changes since v0.10.3, published as release candidates (v0.10.4-rc.N) until
    there are enough for v0.10.4.

    Restarting replicas

    llmgw ctl restart REPLICA... | --model M | --all replaces replicas with new
    ones. Each replacement is started beside the replica it replaces, which keeps
    serving until the new one is ready; replicas of one model go one at a time.
    Where no second copy fits anywhere, the old replica is stopped after the drain
    grace period and the new one starts in its place. This is how running engines
    pick up the keys introduced in v0.10.3, an edited profile, or a new engine
    version.

    A model that keeps failing is parked, and everybody is told

    A model whose replicas failed at every start was retried forever: kev-0.5b,
    whose architecture the nodes' llama.cpp did not know, was started 155 times in
    eight hours. After five failures in a row a model is now parked — not placed
    again until its definition changes or llmgw ctl retry MODEL is run — and
    ctl status, ctl models and the admin API say so with the last error.

    A request for a model that will not come up — parked, or fitting on no node —
    is answered at once with the reason, instead of "the model is loading; retry
    shortly", which a client would retry forever. Each request still makes the
    control plane try placing it afresh, so a model that fits once room is made is
    not refused on an old answer. "no placement for model" is logged when its
    reason changes or every ten minutes, not on every pass: it was 250 identical
    lines in two days for one model.

    Metrics and alerts for what goes wrong

    New series: llmgw_model_replicas_desired, llmgw_model_start_failures,
    llmgw_model_parked, llmgw_model_unplaceable, llmgw_node_engine_install,
    llmgw_control_plane_leader and llmgw_certificate_expiry_timestamp_seconds.
    llmgw_model_replicas_ready is now published at 0 for every model that should
    be running; it was published only while a replica was ready, so
    ModelHasNothingServing could never fire. New alerts: ModelParked,
    ModelFailingToStart, ModelCannotBePlaced, EngineInstallFailed,
    ControlPlaneLeadership, CertificateExpiresSoon and CertificateExpiresVerySoon.

    ctl status counts a model against the replicas it should have now rather
    than its minimum, so an on-demand model that was asked for and fitted nowhere
    no longer reads as satisfied.

    Backups

    llmgw server backup writes the store and /etc/llmgw — configuration,
    secrets, and the certificate authority's key — to one archive readable by root
    only, keeping the newest 14. deploy/systemd/llmgw-backup.timer runs it
    nightly. The control plane publishes the newest archive's time as
    llmgw_backup_last_success_timestamp_seconds, and BackupTooOld fires when it is
    more than 26 hours old or there has never been one. docs/install.md now says how
    to restore, including why running engines survive it: the engine-key secret
    comes back with the store.

    Replicas follow load between min and max

    A model's max was a ceiling nothing reached: every model ran exactly its
    minimum however long its queue. Now, when requests are waiting at the engines —
    every slot of every replica busy — at one or more per replica for a minute, one
    replica is added, up to max; ten minutes with nothing waiting takes one of
    those away, down to min. One step at a time, and not while the previous one
    is still starting, so a spike that is over before a replica loads does not
    leave several behind. Each decision is logged with the load that made it.
    llmgw ctl scale MODEL --min 1 --max 3 turns it on for a model.

    A model from the registry in one command

    llmgw ctl model serve OWNER/REPO takes a model from the registry to a replica
    that answers. It picks the GGUF file (--quant, Q4_K_M by default), has the
    mirror fetch it and checks what arrived against the registry's published
    sha256, checks that the nodes' llama.cpp can load it, sizes its memory from its
    header, adds it to the catalog, waits for a replica — stopping early with the
    reason if it fits nowhere or keeps failing — and asks it to say hello. Each step
    is shown as it happens. It runs in the control plane as a job, so a download of
    hours does not depend on a terminal staying open. --on-demand adds it without
    starting a replica.

    Upgrading from one command

    sudo llmgw ctl upgrade VERSION, run on the control plane, upgrades that
    machine and then every node in turn. Each agent is told the version over its
    existing stream, fetches the release for its own platform, checks it against
    the release's checksums, keeps the old binary beside the new and restarts,
    while its engines keep serving. A node that does not come back on the new
    version, ready, with its replicas, stops the upgrade before the next one.
    Running it again resumes. Agents from before this have to be moved by hand
    once.

    Following a request

    Every response carries X-Request-Id — the client's own when it sends a plain
    one, otherwise one the gateway makes — and the engine receives it too. One
    access log line per request records it with the model asked for and served,
    the replica, status, time queued, time to the first token, total time,
    tokens, and the key, project and user. Usage records keep the id, replica,
    queue time and time to first token, and llmgw ctl request ID reads one back:
    the answer to "why was this slow?".

    Rate-limit headers

    Responses carry OpenAI's x-ratelimit-limit-*, x-ratelimit-remaining-* and
    x-ratelimit-reset-* for requests and tokens, from whichever level of the
    tenancy tree will refuse first, so SDKs and editors can slow down before they
    are refused.

    Memory sized from the model

    The mirror's serve form sizes a llama.cpp model's memory from its GGUF header:
    weights, plus the KV cache for the context pool from its layers, KV heads and
    head width, plus the engine's own. At a 16k pool that cache ranges from 0.44 GB
    to 5.25 GB across the models on the live mirror, which the old "weights plus
    half again plus two" could not see.

    Security

    • Alertmanager answered anyone on the network, including requests to
      silence alerts. The monitoring README now binds it to loopback, where
      Prometheus beside it is its only client.
    • Login and signup could be made to use gigabytes. Each attempt hashes with
      64 MiB of argon2, with no bound on how many ran at once, and the per-address
      throttle grew by one entry per address tried. Hashes now run a few at a time
      and the rest wait; the throttle expires old entries, and when it is still
      full it refuses new addresses rather than dropping live ones — which would
      have let a flood of made-up addresses reset the throttle on a real one.
    • Any key holder could grow Prometheus without bound by asking for made-up
      model names, each of which became a metric label. Requests are counted under
      the catalog's name for their model, or "unknown".
    • A SQLite backup left a full copy of the store readable by local users
      while it ran. The snapshot is now made in a private directory, and
      llmgw-backup.service sets UMask=0077.
    • An engine archive could write outside its directory through chained
      links.
      Archives are unpacked through os.Root, and a link may only point
      at a file beside it. Every llama.cpp b10991 archive, CPU and CUDA, already
      follows that rule.

    Fixes

    • Tests that slept a fixed time and then asserted now wait for their
      condition. They are the likeliest cause of CI's intermittent failures on a
      loaded runner.
    • ctl reported a change the API had queued (202 Accepted) as an error, as
      ctl restart did on its first real use.

    Releases

    Small fixes are published as release candidates of the next version —
    v0.10.4-rc.1, rc.2 — which sort after v0.10.3 and before v0.10.4. Their release
    notes come from this section, and they are marked as pre-releases. Onboarding
    treats a release candidate as a release and downloads it.

    Downloads