Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
· 62 commits to main since this release
v0.5.0

Added

  • Per-backend Ollama config hints in race notes: race notes now emit actionable Ollama parameters tailored to detected hardware, replacing the Apple-Silicon-only generic hint:
    • darwin/mlx — num_gpu=999 flash_attention=1 num_ctx=N keep_alive=-1 (pins model in Metal unified memory)
    • cuda/nvidia — num_gpu=999 flash_attention=1 num_ctx=N
    • rocm/amd — num_gpu=999 num_ctx=N + OLLAMA_FLASH_ATTENTION=1 env var note (RDNA3+ / 7000–9000 series)
    • cpu-only — num_gpu=0 num_thread=<cores-2> num_ctx=N (ctx halved to limit RAM pressure)
    • num_ctx is derived from repo complexity score (128K or 256K) so it can be pasted directly into a modelfile or API call.

Changed

  • Extracted _race_notes() from both console.py and json.py into a shared hannah/reporters/notes.py module — single implementation, no divergence risk.