• v0.10.4-rc.8
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m50s
    Release / build (push) Successful in 1m8s
    Pre-Release

    gitea-actions released this 2026-09-30 03:05:13 +02:00 | 620 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.

    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
  • v0.10.4-rc.7
    Release / build (push) Successful in 1m5s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m42s
    Pre-Release

    gitea-actions released this 2026-09-30 02:54:36 +02:00 | 621 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.

    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
  • v0.10.4-rc.6
    CI / test (push) Successful in 3m49s
    Release / build (push) Successful in 1m4s
    Release / notes (push) Successful in 3s
    Pre-Release

    gitea-actions released this 2026-09-30 02:42:21 +02:00 | 622 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.

    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
  • v0.10.4-rc.5
    Release / build (push) Successful in 1m8s
    Release / notes (push) Successful in 4s
    CI / test (push) Successful in 3m50s
    Pre-Release

    gitea-actions released this 2026-09-30 02:25:07 +02:00 | 625 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.

    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
  • v0.10.4-rc.4
    Release / build (push) Successful in 1m1s
    Release / notes (push) Successful in 2s
    CI / test (push) Successful in 3m35s
    Pre-Release

    gitea-actions released this 2026-09-30 01:50:33 +02:00 | 626 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.

    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
  • v0.10.4-rc.3
    Release / build (push) Successful in 1m1s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m32s
    Pre-Release

    gitea-actions released this 2026-09-30 01:44:32 +02:00 | 627 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.

    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
  • v0.10.4-rc.2
    Release / build (push) Successful in 1m3s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m34s
    Pre-Release

    gitea-actions released this 2026-09-30 01:21:57 +02:00 | 629 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.

    Fixes

    • 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
  • v0.10.4-rc.1
    Release / build (push) Successful in 1m1s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m30s
    Pre-Release

    gitea-actions released this 2026-09-30 01:00:11 +02:00 | 631 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.

    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.3
    Release / build (push) Successful in 1m4s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 3m39s
    Stable

    gitea-actions released this 2026-09-30 00:38:55 +02:00 | 633 commits to main since this release

    Security fixes from a review of v0.10.2. Three of them were confirmed on the
    live cluster before being fixed.

    Engines demand a key only the router holds

    Engines listened on every address of their node with no key. A request from a
    neighbouring node reached the model directly, past the gateway's
    authentication, quotas and accounting. Each replica's engine is now started
    with a key derived from the replica id and a secret in the store. The router,
    its metrics scrape, the agent's readiness check and ctl bench send it.
    llama.cpp and vLLM receive it through their environment, not their command
    line. Engines started before this keep running without a key until their
    replica is next started.

    The mirror's management API answers only who it was told to

    Without --api-allow, the management API answered anyone who could reach it,
    including every node. It now answers this machine only; the control plane is
    let in with --api-allow or mutual TLS. Upgrading a mirror set up by hand:
    add --api-allow <control plane address> to its unit.
    Downloads started
    through the API go to http and https only, and never to loopback, private or
    link-local addresses (--allow-private-sources to permit that). Model,
    version and file names can no longer be .. or start with a dot.

    The admin listener refuses what a browser page could send

    The admin API has no login and trusts whoever reaches it. A page open in an
    operator's browser, reaching it over an ssh tunnel, could post a model
    definition. The listener now requires Host to be an address or localhost,
    refuses cross-site requests, and takes changes only as application/json.
    A profile's env may no longer set variables that make an engine run other
    code (LD_*, PATH, PYTHON* start-up variables, BASH_ENV and similar).
    They are refused where a model is defined and dropped again before an engine
    starts.

    Fixes

    • The agent installs only engine versions that look like one, whatever the
      control plane sent; a version of ../x could have installed outside
      /opt/llmgw/engines.
    Downloads
  • v0.10.2
    Release / notes (push) Successful in 3s
    CI / test (push) Failing after 4m10s
    Release / build (push) Successful in 3m45s
    Stable

    gitea-actions released this 2026-09-29 22:37:28 +02:00 | 638 commits to main since this release

    • After server init's screen closes, only the administrator's password and
      the next steps are printed, not the whole run again under the screen that
      just showed it. The whole run is kept in /var/lib/llmgw/init.log, root's
      only, and printed in full when init fails.
    • The screens' spinner and text field are llmgw's own rather than from
      bubbles, one dependency fewer. Every llmgw command still asks the terminal
      for its colours as it starts, which bubbletea v1 does on purpose; a terminal
      that never answers waits for its timeout.
    Downloads