Skip to content

bloomery 0.4.1

Choose a tag to compare

@midagedev midagedev released this 04 Dec 01:21
· 52 commits to main since this release
f4f755e

한 줄 요약: Windows에서 WSL 없이 바로 실행되는 네이티브 아카이브와, 엔진을 품은 데스크톱 앱(Windows·macOS)이 처음 나왔습니다. 앱은 채팅과 웹 조사를 하고, Windows에서는 확인을 받아 가며 다른 앱 창도 다룹니다. 이번 릴리스는 속도를 다시 재지 않아 README의 표는 0.3.18 그대로입니다.

bloomery 0.4.1 adds a native Windows archive and a desktop app, and carries the engine changes that came with them.
This release ran no new timing sitting: the README's tables are 0.3.18's. Every number below names its machine and the
conditions its change stated.

At a glance

  • Native Windows. A Windows x64 zip for RTX 50 series cards with bloomery-serve.exe and bloomery-quantize.exe.
    Unpack it and run it from PowerShell: no CUDA toolkit, no WSL2 and no Visual C++ install. A preview, run on one
    RTX 5090.
  • A desktop app for Windows and Apple Silicon Macs, a separate download on this release page: a chat window over
    the local engine, and an assistant that browses the web and, on Windows, works other apps' windows, asking before
    risky steps. A first release.
  • Inkling 2 continues a conversation from its shared prefix on CUDA (with no DSpark draft attached) and on Metal,
    instead of reading the prompt again from token 0.
  • Inkling 2's first request on a fresh server is back within 0.67 % of 0.3.18's prompt speed: a change made earlier
    in this cycle had slowed it by about 4.5 %.

Native Windows

bloomery-0.4.1-windows-x86_64-cuda-sm120a.zip (32,866,096 bytes, sha256 3ab6bbf8ef57b6ee881b13dee72779342affc351ac460fd88e71476ac2bf4ea0, built at fe20300; only the README and two docs files differ at the tag), with
the Linux tarball's layout: bin/, serving.md, README.md, VERSION, a SHA256SUMS.

  • Who it is for. Windows 10 or 11 on x86-64 with AVX2 and FMA, an NVIDIA card of compute capability 12.0 (the
    RTX 50 series, the RTX PRO Blackwell cards) and a driver for CUDA 13.1 or newer. An older card runs the Linux archive
    in WSL2, as before. The installer, Homebrew and Docker do not take this archive.
  • Start. bin\bloomery-serve.exe --recommend --json, then --model inkling-2-mini --port 8080 or
    -m C:\models\model.gguf. The server prints bound, ready and stopped events, and GET /health answers 503
    with the load's phase until it is ready. Ctrl-Break and POST /shutdown each end it with exit code 0.
  • What differs from Linux. The GPU code ships as PTX and the driver compiles it at the first start (the Linux
    sm120a archive ships cubins). The card runs under WDDM: a kernel past Windows' 2 s timeout resets the card (System
    event 4101), and another program's allocation is not refused, so Windows moves part of the server's memory to host
    memory with no record in the server's log. The RDMA expert tier is Linux only.
  • What was run (one RTX 5090, Windows 11, driver 621.24). Inkling 2 Mini UD-Q4_K_XL starts from a fresh unpack of
    the zip under a PATH with no build tools, answers a chat request and a streamed one at temperature 0, and stops with
    exit code 0 on Ctrl-Break and on POST /shutdown. The first such start read ready at 11.3 s; the load that reads
    the weights through an upload ring reads about 3 s in a look. Qwen3.8-Flash-Next: a room's first fit used to
    fault the card while the zeroing of a fresh spare page was still in flight (CUDA error 700, event 13): its starts were
    red 3 of 5 without the wait and 0 of 5 with it, and 20 of 20 starts reached ready with a reply on the final code.
    bloomery-gpu's library gate: 596 passed on the first pass, the held pass 19 of 19 ten times in a row (red 10 of 10
    without the wait). The host crates' tests: 3,459 passed, 0 failed.
    Looks, not timed numbers.
  • The device code is optimised. Stock cuda-oxide passes opt every public symbol of a module on one command line,
    which is past Windows' 32,767-character limit for bloomery-gpu: the spawn failed and the build went on with
    unoptimised IR. A one-patch backend (Windows only; the Linux backend is the pin as published) passes the list as a
    file and stops the build when opt fails: 246,367 instructions in bloomery-gpu's 597 entries unpatched, 703,455
    patched (instruction counts, not a speed). The archive build now runs the host check first, refuses an unpatched
    backend by name, and refuses an archive whose device modules lack their optimised file, whose PTX holds more than 64
    .func declarations, or whose PE stack reserve is not the config's.
  • CUDA_SCALE_LAUNCH_QUEUES. On Windows the server printed a warning at every start and the card ran at the
    driver's default queue depth, because the loader's threads exist before main. It is written at any thread count
    there now. A probe of how many launches one stream takes before cuLaunchKernel blocks (RTX 5090, driver 621.24):
    1,021 unset, 2,045 at 2x.
  • The home folder. A Windows desktop session has no HOME: --recommend ended 64 "no cache directory" there. The
    home folder has one owner now (HOME, then USERPROFILE), the caches live under %USERPROFILE%\.cache\bloomery, and
    --recommend ends 0 (17 models).
  • Smaller. Windows device names (CON, NUL, COM1 ...) are refused as slot file names (400); Ctrl-C, Ctrl-Break
    and a console close end the server with the stopped event and exit 0; the hub's header cache is written sparse (98
    files, 1.43 TB logical, 0.29 GiB on disk); an NVMe tier gives evicted pages back and the cost key reads the CPU's
    brand string.
  • Known limits are in docs/windows-build.md: no timing sitting ran on Windows, and a look at prefill on one
    RTX 5090 read slower than on Linux, cause not found; no model but Inkling 2 Mini and Qwen3.8-Flash-Next has a
    recorded run there; CUDA_LAUNCH_BLOCKING=1 stops a Qwen3.8 server's first request.

The desktop app

A Tauri app for Windows x64 (bloomery_0.4.1_x64-setup.exe, per user, no administrator needed) and Apple Silicon Macs
(bloomery_0.4.1_aarch64.dmg), with the engine inside (bloomery-serve.exe or bloomery-serve-metal).
The Windows installer is not signed: Windows shows its unknown-publisher warning, and the file's sha256 is beside it on
this page. A Microsoft Store build, which the Store signs, is in certification and is not up yet. The app's privacy
policy is docs/desktop-privacy.md. The Mac app is signed with
a Developer ID and notarized; its engine is the Mac archive built at 8a5693c, two commits before the tag.

  • First run. The engine plans every model of the catalog for the machine; the app shows what fits, what it costs on
    disk and the picks with the reason for each. One button downloads and starts a model.
  • Chat. Streamed answers, reasoning in a folded block, files and folders attached as they are, and under each
    answer the engine's own rates. The app works no number out from a clock.
  • Placement. Where the model runs (cards, host memory, NVMe) and how the last answer used it.
  • Assistant. A request becomes a job: the model works it with tools in a clean browser of its own, every step is
    shown, and the answer names its sources. On Windows a job can also work other apps' windows through their
    accessibility controls (it opens only Notepad, Calculator, File Explorer folders and some Settings pages). Anything
    that sends something out, a change in Settings, the wallpaper and a file dialog's commit are asked first; a stop key
    ends a job.
  • Local. The engine is reached over loopback only. The app sends no usage data and has no updater.
  • A first release. Its known gaps are the last section.

Inkling 2

  • A conversation continues from its shared prefix, on CUDA (#1263, issue #1258). The server marks the first user
    start of a template whose <|message_user|> is a special token, and the seat keeps a checkpoint of the conv rings
    there. The window ring holds 1,536 rows for a 1,024 window, so a restore holds while the written end is at most 513 rows
    past the point; a longer tail is the named miss reason=overrun, never a wrong state. One server, real Inkling 2 Mini,
    RTX 5090, cache_n / prompt_n / prompt_ms from the server (no timing lease): a request sharing request A's prefix reads
    1,817 cached and 160 evaluated ids in 52.0 ms against 299.1 ms for the same request on a fresh server, with
    BLOOMERY_DRAFT=off. With the DSpark draft attached the mark is hidden and cache_n stays 0 (the draft-side point is
    a follow-up).
  • The same on Metal (#1262, issue #1258). The Metal seat keeps its checkpoint through the common Metal checkpoint
    owner: each visit's conv ring and the windowed visits' last 1,023 K/V rows. A point is 171,442,176 B for Mini, capacity
    9 at context 32,768. Real server, Inkling 2 Mini MLX 4-bit, M4 Pro 48 GB, the desktop assistant's per-row requests: the
    first row reads cache_n 0 in 4,506 ms of prompt, the next rows 1,817 cached in about 500 ms. The room rule now
    reserves 9 points (1.54 GB): the unasked context for 16, 24, 32 and 48 GB Macs is unchanged (24 GB keeps 1.5 % slack).
  • A fresh server's first request (#1265). The Windows fast load stopped the load from freeing a large host buffer,
    so a fresh server's first prompt pass took its draft-tap buffers from new mappings and faulted them in a page at a
    time (4,840 minor faults against 757; 275 now). The taps keep their host memory, written at load. Same-lease A/B on one
    RTX 5090, tools/ref/depth-serve.sh, 10 rounds, prompt 512, one fresh server a row: pp +4.56 % ± 0.91 % against the
    earlier 0.4.1 build (6,713.93 to 7,020.21 tok/s), within 0.67 % of the 0.3.18 path (7,067.41); decode +0.15 % ± 0.77 %.
  • Tool calls. A block that opens like a call and names no function is content as the model wrote it, no longer an
    HTTP 500 that lost the generation (#1260, issue #1256; the other markups and cases still end in 500, the issue stays
    open). A request with tools and thinking off keeps the template's own effort-0 prompt, and the model may think
    before it calls: /props says so (thinking_off_with_tools, #1266).
  • Metal by name (#1261). bloomery-serve-metal --model inkling-2-mini starts the MLX 4-bit folder; until the
    folder is cached, --dry-run and --recommend answer fit: estimate from the bytes to fetch against free memory,
    and the start plans the real folder.

Serving and agents

  • /props' chat_template_caps states what the chat template takes: supports_tools, supports_tool_calls,
    supports_parallel_tool_calls and supports_system_role, each true only for a conversation the template renders or
    a markup the server parses; /api/show's tools capability reads the same answer (#1266).
  • --recommend --events prints each model's entry as its plan ends, plans run side by side, and a pinned commit's
    hub listing is kept. Looks, not timed numbers: one RTX 5090 under Windows, warm 20.6 s to 2.0 s and a new model folder
    54–66 s to 6.5 s; a DGX Spark, 19.5 s to 4.0 s and 62.4 s to 7.0–7.4 s; picks and rejections equal before and after.
    A start by name of a cached row plans once, and a failed machine census ends --recommend as no-device.
  • Catalog. --model inkling-2-mini (alias inkling2) fetches UD-Q4_K_XL at the commit ae9327c5
    (17,629,759,456 B), the file the 0.3.18 sitting measured; the repo's head holds another build under the same name.
    The repo's DSpark files are no part of the set, so a start by name serves the recall draft. On Windows a temperature-0
    edit request reported draft_n 397 and draft_n_accepted 329 and a sampled one draft_off "sampling" (a look).
  • Mac server (#1245, #1252). bloomery-serve-metal starts the way agents start bloomery-serve: by model name,
    --recommend --json, --dry-run, JSON events and the same exit classes. An open with no --ctx cuts and checks
    against one reading of the free bytes: a drop between two readings used to refuse the load with exit 1 and an
    empty next step; a memory refusal at open ends 80 with a next step now.

Build and toolchain

  • The x86_64-pc-windows-msvc target: its rustflags table (Zen 3 flags, an 8 MiB main-thread stack), the pin's backend
    built under Git Bash (#1244). The host crates build and test on Windows with their OS calls in crates/os (#1250).
    The device engine builds with cargo oxide there, and just lab-windows, lab-windows-gpu and
    just release-build-windows are the recipes.
  • Two toolchain defects went into docs/upstream/nvlabs-ledger.md: C enum constants are c_int on MSVC (row 59) and
    opt's command line on a large crate (row 60, the one patch above).

What this release did not run

  • No new timing sitting. The README's tables are the 0.3.18 binary's, as each names; no number here is a Windows
    number or a release-sitting number. The numbers above are the changes' own: looks, or same-lease A/Bs where stated.
  • No two-machine RDMA rows. The DGX Spark and RTX 5090 pair is 0.3.18's table (docs/numbers.md).
  • No union gate batch. Each change ran its own gates in its round (with a failing run first), then the static tier
    and CI. One host test, host::step::tests::hw_boundary_gives_back_its_context_handles, was red once and green on the
    rerun of the same tree; it is filed. The Metal Inkling 2 row k_pass_pin reads max |logit| 1.462e-2 against its band
    0.014 on an M1 Pro, on the base and on the branch alike (a machine band, not this change's).
  • Windows. One card (RTX 5090) and two models; no timing, two cards, RDMA or other models. The app's Store package
    was built and not installed.
  • The CUDA prefix checkpoint with a DSpark draft attached, and the Mac's restore with a draft (Metal has none).
  • The app's known gaps (looks on one Windows 11 machine at a 1024x768 desktop with Inkling 2 Mini, 5 runs each
    unless noted; no timing sitting):
    • what worked there: the Calculator example 5 of 5, a wallpaper set from an address and its undo 5 of 5, "find
      today's NASA picture of the day and set it as my wallpaper" in one message 5 of 5, an accent-colour change with its
      approval 5 of 5;
    • the package-lookup example completed 0 of 10 times: the job ran out of turns on one row while it scrolled the page;
    • Windows does not let a background app bring itself forward: while a question waits behind another window the app
      flashes its taskbar button and leaves a note;
    • the rule that asks before a delete in File Explorer reads the control's id and was not checked against a recorded
      Explorer window; a button whose click opens a message box was not checked either;
    • the stop key was not pressed by hand on that machine (its path is tested with a fake key), and a wallpaper put-back
      after the monitors change order is refused by name rather than done;
    • the app's working of other apps' windows is Windows only; a Mac has chat and the web assistant;
    • not run: the Windows installer's install step on a clean machine (the machine already had an install; the new
      build was started unpacked), a model download through the library, a coding agent started from the server tab.