Skip to content

Farzan Arena 8.2.3

Choose a tag to compare

@aliGhadyani aliGhadyani released this 26 Nov 14:35
· 90 commits to main since this release

The dashboards' exports answer in under 2 s on a million requests, every model
has its test, Accounting narrows to one person, group, project or model, and
60 GPU panels that failed on live work again.

🚀 Epics and highlights

  • Every export under 2 s on a million requests. The ledger is kept by hour
    as well (gateway.requests_hourly, by person, model, source, kind, key,
    state and project), and its times as a sketch by hour
    (gateway.requests_hourly_spread: each request's time and its time to the
    first token, in buckets 2% wide), both kept exact by triggers on the ledger.
    The 38 panels that sum or count it and the 12 that show percentiles read
    whole hours from them and the minutes either side from the rows, so a sum
    is the rows' own and a percentile within 1% of them; a dashboard's export
    asks its panels eight at once. Usage by person's export went from 6.8 s to
    1.1 s, LLM and users' from 6.8 s to 0.8 s, Hardware's from 3.9 s to 1.2 s
    (measured on a million rows: docs/measurements/million-rows.md).
  • Every model has its test (Admin → Models → Test). Chat models of any
    source as before; a picture model makes a picture as big as asked, a video
    model a clip, a speech model a sentence that a speech-to-text model hears
    back, a speech-to-text model hears what a speech model said, each checked by
    a rule; their capacity is so many a minute.

✨ New features & Enhancements

  • Accounting narrowed to one person, group, project, model, source or kind
    of work (and any of them together), from a funnel on each row, kept in the
    address and in its exports. The machine's cost stays whole; the use
    narrowed to gets its share of it. The usage exports narrow by model, source
    and project, Usage by person's by the model chosen on it.
  • The data export has each API request of the prompt log whole (what it
    sent, the tools' results among it, and the answer's thinking, words and
    tool calls) and its pictures.
  • Every image Arena builds is published on GitHub Packages.
    ./arenactl publish --release pushes them by service to
    ghcr.io/binchitects/farzan/SERVICE:VERSION, and :latest for a final
    release. The images are the offline bundle's own. Their digests are
    attached to the GitHub release and listed in its notes, so a host with
    access to the registry can pull a release instead of copying the bundle.
    Each image keeps the digest it has in the bundle. arenactl sends the
    images itself, in 4 MiB chunks, one after another: a chunk the network
    breaks is sent again, a layer already there is skipped, and a run that
    stops goes on from where it was.
  • Coverage per test: tools/coverage-per-test.sh (dotnet-coverage, one
    session, a snapshot after each test) and tools/coverage-redundant.py: of
    1,752 tests, 1,007 run every line the suite runs.

🐛 Bugs fixed

  • 60 GPU panels failed on live ("found duplicate series for the match
    group"): the GPU exporter's update added labels, so across its restart a GPU
    had two info series. Each panel reads the info one series a GPU.
  • Automations' sweep of abandoned runs threw on every look and never ended
    a run left running: it orders what it takes.
  • A story's shot whose picture or clip was taken out elsewhere (the
    studio's Remove) was shown as a broken link, and the media pages asked for
    it in vain; it reads as not made, to be made again. Retention keeps the files
    a story uses.

💥 Breaking changes & Deprecations

  • ghcr.io/binchitects/code-intel and ghcr.io/binchitects/argus are
    gone.
    Farzan Graph is ghcr.io/binchitects/farzan/code-intel now, with
    the other images. release.yml is removed: CI publishes nothing, so a tag
    no longer builds an image of its own beside the release's.
  • Code workspaces' tables are dropped on the upgrade (studio_workspaces,
    studio_ports, and API keys' workspace_id); a workspace's key stays its
    person's. The workspaces folder under DATA_DIR is left as it is.
  • Percentile panels (latency, time to the first token, p50 by model) rank
    as percentile_disc within 1% instead of interpolating: a number may move by
    up to 1%. Hour-of-day panels assume the database in UTC (or a whole-hour
    zone).