Repository navigation
hal0 v0.9.5
Added
- NPU chat-first seed (FLM container shape).
NpuConfig.chatnow
defaults toTrueso a bare[npu]section in a slot TOML is a chat-ready
NPU slot out of the box. Operators opt out by settingchat = falsewhen
they want an asr-only or embed-only NPU slot. A new seed
installer/etc-hal0/slots/npu.tomlis included sohal0 setupcan
register a clean (no FLM model pinned,enabled = false)hal0/npu
tile on fresh boxes. The EditSlotDrawer now hides the Model field for
device = "npu"slots (the NPU capability matrix replaces it).
Changed
- Slot routing key is now the slot
name, notrole(ADR-0023 §2.1).
The legacyrolefield onSlotConfigis gone — slot identity IS the
routing key forhal0/<slot>aliases. Resolution chains in
src/hal0/normalize/resolver.pynow use_slot_matches_name(case-
insensitive exact match onname), with one silicon-class escape
hatch: the special namenpuadditionally matches any slot with
device == "npu", so a container that calls the trio's chat edge by
a different slot name (flm,npuchat, …) still answershal0/npu.
Operator-custom seeds (saber-fpx,deckard-fpx*) and live slot
TOMLs that used the oldroletag now resolve by name. Live installs
with the oldrolefield in any slot TOML continue to parse (the
field is parked underextravia Pydantic) and resolve to the slot
by itsname.
Highlights
- New canonical ROCmFPX runner:
ghcr.io/hal0ai/hal0-rocmfpx:vulkan-minicpm5—
built fromHal0ai/Hal0_ROCmFPX@5b395660plus a 4-line upstream cherry-pick
that wires the minicpm5 pre-tokenizer (upstream PR #23384). Unblocks
loading the BRAINTRAIN-1B GGUFs on Strix Halo (thetokenizer.ggml.pre = minicpm5field now resolves correctly). The new image serves both ROCm/HIP
and Vulkan backends from a single artifact; this consolidates the
previously-3-tag ROCmFPX image family into one. - Slot-level image override —
slot.image(top-level string in the slot
TOML) now overrides the profile'simage. Resolution order is
slot.image→profile.image→DEFAULT_ROCMFPX_IMAGE. Future image
bumps will be a code-only release (one constant inschema.py); operators
no longer have to chase profile clones to keep their stack current. The
EditSlotDrawer now exposes an Image form-row (free-form text input
with a livewill use:preview of the effective ref, plus a Reset
button) so operators can pin/clear the override without editing TOMLs.
Breaking
-
SEED_PROFILES reshuffled to a clean 2x2 grid. The three old ROCmFPX
runner slugs (rocmfpx-rocm,vkfpx-moe,vkfpx-dense) are replaced by
four explicitly-named profiles that match the 2x2 (backend x {dense,moe})
matrix. The names are self-describing — the backend is the prefix, the
weight format is the suffix:Old slug New slug Backend Format rocmfpx-rocmrocm-denseROCm0 ROCmFP4 (new) rocm-moeROCm0 ROCmFPX vkfpx-densevulkan-denseVulkan0 ROCmFP4 vkfpx-moevulkan-moeVulkan0 ROCmFPX All four reference
ghcr.io/hal0ai/hal0-rocmfpx:vulkan-minicpm5
(the new canonical runner).rocm-moeis a NEW profile — pre-0.9.5 the
ROCmFPX MoEQuality format was Vulkan-only; this adds the ROCm0/HIP
variant for operators who want a single-backend fleet. -
profile.imageis now deprecated for new code paths. It still works as
a fallback when no slot override is set, but the plan is to drop it from
SEED_PROFILESentirely in 0.9.6. Operator-custom profiles that
overrideimage(e.g.saber-fpx,rocmfpx-rocm-custom,vkfpx-moe-custom,
deckard-fpx*) should migrate to per-slotimageinstead — a single
slot TOML is a single grep hit, a profile clone is a maintenance liability.
Migrations
- Re-pin your custom profiles' images via the slot, not the profile. Edit
/etc/hal0/slots/<name>.tomland add a top-levelimage = "ghcr.io/hal0ai/ hal0-rocmfpx:vulkan-minicpm5"line. The slot-level value wins on next
hal0 slot <name> restart. Once your slots are migrated, you can remove
theimageline from your operator-custom profile inprofiles.toml. - Rename operator-custom profile references in slot TOMLs. If your slot
points at one of the old slugs (profile = "rocmfpx-rocm","vkfpx-moe",
"vkfpx-dense", or a-customclone of those), update it to the matching
new name ("rocm-dense","vulkan-moe","vulkan-dense", or your
custom variant of the new name). Example:nano.toml'sprofilefield
should change from"vkfpx-moe-custom"→"vulkan-moe-custom"(and your
vulkan-moe-customprofile inprofiles.tomlshould mirror the new
vulkan-moeseed's image + flags). - Verify the new image pulls cleanly on a non-production slot first:
hal0 slot <name> image ghcr.io/hal0ai/hal0-rocmfpx:vulkan-minicpm5 && hal0 slot <name> restart. Thencurl :PORT/v1/modelsto confirm the slot
launched the new image (system_fingerprintcarries the upstream commit
hash for traceability). - The
image_mismatchwarning clears naturally — it was a symptom of the
oldprofiles.tomlcarrying stale image refs; once slots own their image,
the mismatch can only happen on a manualimageedit.