Skip to content

hal0 v0.9.5.1

Choose a tag to compare

@github-actions github-actions released this 09 Jul 08:37
· 2113 commits to main since this release

Highlights

  • First green build on the 0.9.5 line — v0.9.5 shipped with a red CI (stale tests + lint); this hotfix greens the gate and closes v0.9.5's incomplete consolidations.

Added

  • HF inspect recognizes FastFlowLM (NPU) repos. POST /api/models/inspect now detects the FLM model shape (a config.json + tokenizer + …nx NPU-quant weight directory, e.g. model.q4nx) and surfaces one whole-repo variant flagged flm routed to the flm pull path — previously such repos inspected as "no variants" because the filter only admitted .gguf/.mmproj. Detection is shape-based (requires the nx weight blob) so a plain safetensors/GGUF repo is not misread as FLM.

Fixed

  • Profile test suite realigned to the 2×2 seed grid. v0.9.5 consolidated the retired rocmfpx-rocm / vkfpx-* slugs into the {rocm,vulkan} × {dense,moe} grid but left the tests asserting the old names, so main was red. Tests now assert the shipped grid.
  • Role-retirement cleanup finished. v0.9.5 retired SlotConfig.role but left stale tests/docstrings referencing it (test_slot_role, test_chat_normalization, test_llm_slot_views, hal0_llm_slot_views). Removed/updated — slot identity is the name.
  • Curated catalogue guard for FLM/NPU entries. FLM-served curated models (empty hf_repo) no longer surface in the pullable catalogue bucket (nothing to HF-pull), and a new CuratedModel validator requires every entry to be deployable — HF coords (hf_repo + hf_file) or an npu tag with recommended_slot="flm".
  • FLM provider load_chat UnboundLocalError. The legacy defaults branch no longer leaves load_chat unset; chat defaults on (NpuConfig.chat=True).
  • CI lint gate. Cleared 12 ruff check errors + reformatted 7 files (import sorting, duplicate imports, placeholder-less f-strings, dead result binding, SIM103/SIM110/RUF034) that had blocked release CI since v0.9.5.