• v0.16.4
    CI / test (push) Failing after 10m54s
    Release / build (push) Successful in 6m45s
    Release / notes (push) Successful in 7s
    Stable

    gitea-actions released this 2026-11-19 12:53:22 +01:00 | 38 commits to main since this release

    Slurm beside llmgw for training and batch work — its users, shared files, containers, accounting priced in llmgw's
    books — a model customised from the portal with a file and a button, an organization's admin, and a GPU node whose
    driver was never installed told apart from a CPU node.

    Upgrading.

    • Four migrations (0052–0055: Slurm's users and jobs, held capacity, the portal's training jobs), applied by the
      first control plane to start on this version; nothing to do by hand. llmgw ctl upgrade v0.16.4: the control
      planes carry Slurm, the training page, the admin role and the prices; the agents carry Slurm's node part, the
      containers, and the reading of the PCI bus for a card without a driver, without which such a node still joins
      as a CPU node. Built with Go 1.27, the newest patch at build time.

    Added

    • Customise a model from the portal. A new page, Customise a model
      (/train), lets anyone in a project teach a model how to answer without a
      terminal: an Excel, CSV or JSONL file of questions and answers (columns
      headed Soru/Cevap or Question/Answer, else the first two), checked and
      shown before anything trains; a model; a name; who may use it; and a
      button. The weights to train on are found from where the model's came (a
      GGUF repository's base model on Hugging Face), the card's memory from their
      size, the node as the one with the most free; when it is done the adapter
      is published by itself and appears as a model of its own in the chat and
      the API, a llama.cpp model's replicas replaced one at a time to load it.
      It is the project's by default; its members may share it with the person,
      the team, the organization or everyone (wider than the project only once
      they confirm the file holds nothing that group must not see, and never
      wider than the knowledge bases its pairs came from), and delete it. One
      trains at a time per project. llmgw ctl train start needs only --model
      and --data now, and --publish publishes when done.
    • An organization's admin. Besides member and manager, a membership of
      an organization may now be admin (llmgw users join … --org Acme --role admin, the role chosen on a membership on the people page, the console,
      the admin API). An admin sees the organization's page as a manager does and
      also changes the organization from it: adds, renames and removes its teams
      and projects, adds people with an approved account by their address and
      takes them out, makes its members managers or admins, and revokes keys spent
      in its projects. Limits, approving and suspending accounts, the
      organization's name and the rest of the cluster stay with the cluster's
      administrators; an admin cannot take away their own role. Every change is in
      the audit log.
    • Slurm beside llmgw, for training and batch work. llmgw ctl slurm setup --controller NODE --nodes NODE,... (or --all-nodes, or server init --slurm) has the agents install munge and Slurm from the machines' package
      sources: slurmctld on one node, slurmd configless on the others, slurm.conf
      and gres.conf written from what each node reports. Every node stays llmgw's,
      drained in Slurm, until ctl slurm lend NODE: its replicas move off, then
      Slurm runs jobs there. ctl slurm reclaim NODE takes it back once its jobs
      end. ctl slurm status and the console's Slurm show each node. The
      controller also keeps the jobs' records: slurmdbd, in a MariaDB on that
      machine alone (Slurm takes MySQL or MariaDB only). Slurm's ports
      (6817–6819, srun's 60001–63000) answer the cluster's networks only, as
      llmgw's own do.
    • Slurm's shared files and users. slurm.shared (ctl slurm shared) is
      one path on every Slurm machine: the site's NFS export mounted, an llmgw
      node exporting it over NFS (what server init --slurm chooses, /shared
      from the first machine), or a file system the site mounts. slurm.users: llmgw (ctl slurm users on) makes each active account a Linux user on
      every Slurm machine, the same login and UID (from 200000, never reused)
      everywhere, its home on the shared path; people add SSH keys in the
      portal's Profile (ctl slurm users keys for an operator). They log in to
      the controller; to another Slurm machine only while a job of theirs runs
      there, their session put in the job (pam_slurm_adopt), so nobody uses a
      node's cards outside Slurm, nor on a node llmgw serves from. Root and the
      machines' own users are not held to it.
    • Slurm's jobs in llmgw's accounting. With slurm.users: llmgw each
      project is a Slurm account (organizations and teams above it), its members
      and its team's and organization's on it, and a job must run on one of its
      user's (AccountingStorageEnforce=associations). Each job that ends is
      recorded once, its GPU-hours (or core-hours) priced at auth.gpu_hour_cost
      into its project's usage as model slurm/PARTITION. Accounts a Slurm
      administrator made are not touched.
    • Prices from what the cluster costs. auth.gpu_hour_cost (and
      core_hour_cost) is what an hour of a GPU (a core) costs; the leader keeps
      the hours each model's replicas hold, and llmgw ctl prices suggest prices
      each model from them over the tokens it served, an output token four input
      ones and a cached one a tenth. --apply writes the prices.
    • Slurm's jobs in containers. llmgw ctl slurm containers on
      (slurm.containers) installs enroot and pyxis on every Slurm machine, at
      pinned versions checked against their digests, and nvidia-container-cli on
      GPU machines; Slurm loads pyxis once every machine has it, and then srun --container-image=... runs a job in that image, as its user, with the
      shared path inside.

    Changed

    • Forms only for those who may send them. A viewer sees the people,
      limits, mirror and cluster pages without their forms, an operator the
      mirror's and a node's engines but not the rest; before, they were drawn and
      answered "not found".
    • Smaller forms. A label sits close to its field, a field is as wide as
      what goes in it rather than the page, buttons are smaller, and the short
      forms — a new key, a password, connecting an editor, a capacity or a limit —
      sit on one line or two instead of a screen.

    Fixed

    • A GPU node with no driver joined quietly as a CPU node. The agent found
      GPUs through nvidia-smi alone, so a machine whose driver was never
      installed looked exactly like one with no card. The PCI bus is read as
      well: a card there with no driver fails the checks before the agent is
      installed, with the install and the reboot named (and a driver installed
      but not loaded — Secure Boot, nouveau — told apart from a missing one), and
      a node already in shows the warning in ctl nodes and the console until
      the driver is in and its agent restarted.
    • The serve forms start at the longest context that fits. The mirror
      page's form began every GGUF model at 4096 tokens, and the console's at
      4096 or the plan's figure, whatever the model was trained for. Both now
      start at what it was trained for, as long as its KV cache fits where the
      form places it beside the weights, else at the most that does, in whole
      thousands; the mirror page's llama.cpp slots are as many of that, up to
      four, as the room left holds, and its memory figure is for that pool. A
      plan says what the model was trained for (trained). Strata stays at
      its 32768; vLLM's form is unchanged.
    • A model that failed to start was started in the same place again.
      Placement given the same inputs chooses the same node and card, so an
      on-demand model whose replica failed to load was retried there, past each
      backoff, until it was parked, with another card or node free all along.
      The control plane now remembers where a model's replicas failed (node and
      cards, up to eight places) and places the next one elsewhere when anywhere
      else fits; with nowhere else it is tried there as before. Coming up, a
      change to its definition or ctl retry forgets the places. The log says
      placing a model away from where it failed to start, with both places.
    • Deleted model files came back after a control plane restart. An agent
      registers with the files its startup scan found, and sends the list again
      only when it changes; a file deleted after the agent started was listed
      again by a control plane that restarted, until the next change. A new
      stream now gets the list on its first heartbeat.
    • ctl weights offered models in use for deletion. A model of several
      files (a set, its address ending in /) is fetched into a directory named
      from the address without the slash; the sweep named it from the address
      with it, so every set in the catalog looked like nobody's. On the PoC that
      was 330 GB of six catalog models, the qwen3.8-flash-next Q8_0 among them;
      --collect, and ctl model remove --purge of a set, would have deleted
      them. Both now compute the name the fetch does.
    • A sign-in took an organization's manager role away. A group from single
      sign-on, SCIM or Active Directory that puts someone in an organization wrote
      the membership again at every sign-in or sync, as a plain member: a manager
      made one on the people page was one only until they next signed in. A
      membership the directory names is now added if missing and otherwise left
      as it is.
    • The limits form on the people page's panel was laid out on one line, its
      title squeezed into a column.
    • Deleting the model files nothing uses said what it was asked to free,
      not what it freed.
      The console's "Delete model files nothing uses" and
      ctl weights --collect added up every file the nodes were asked to
      delete as soon as the request was sent, and a model of several files —
      fetched into a directory of its own — was refused by the node as "not
      empty", so a sweep said tens of gigabytes freed and nothing went. The
      node now deletes such a directory whole (a link only as a link), and the
      sweep waits for the nodes to list their files again: freed is what they
      no longer list, and what they kept is said beside, with where to read
      why. Removing a model with its files reports the same way.
    Downloads