keryx-miner-v0.3.7-OPoI

keryx-miner-v0.3.7-OPoI

18.07.2026

✦ New five-tier model lineup

The served lineup is fully refreshed — five uncensored models from five different labs, one model per tier, one GPU per model:

  • Per-GPU auto-assignment is unchanged: each card mines the highest tier ≤ your flag ceiling that fits its VRAM; small cards downgrade instead of failing.
  • Weights auto-download on first start (gateway with resume). Manual downloads and torrents: https://keryx-labs.com — drop the extracted folder under models/.

✦ New inference engine — in-process llama.cpp

The Rust-side ML framework (candle) is gone. The miner now embeds llama.cpp through libkeryx-llama.so, loaded at runtime next to the binary:

  • One VRAM copy does everything: llama.cpp hosts the model, serves the OPoI inference text, and the PoM possession walk gathers directly over its resident tensors (zero-dup). A 129-chunk byte-gate cross-checks the resident bytes against the on-disk GGUF at every engine start — any mismatch refuses to mine rather than produce bad proofs.
  • cargo build produces the .so for you (pinned llama.cpp build, compiled for your GPU arch). Prebuilt .so files ship in the release assets and the HiveOS package. Without the .so the miner still mines (standalone weight upload) but cannot serve inference.
  • The GGUF weight index (the consensus-critical chunk layout behind the possession proof) is now parsed natively and is byte-validated against the network-pinned per-tier roots for all five models.
  • Per-model chat templates are applied in-engine; reasoning models answer directly (no leaked think-blocks).

✦ Community release

More than half of the commits in this release come from community pull requests — huge thanks to @DragonKeeper for two major PRs:

PR #16 — Redesigned mining screen & stats

  • New TUI mining screen: accepted/rejected block counters, per-GPU power draw and efficiency columns, cleaner header panes, plain-log-file flag.
  • Stats server hardened (slow clients, oversized request lines) and now binds to localhost by default.
  • HiveOS: model cache preserved across miner upgrades (no more re-downloading 10–30 GB of models on every update), pre-upgrade stop.sh hook, legacy cache cleanup, refreshed HIVEOS_README.

PR #15 — Prebuilt NVIDIA fatbins

  • Prebuilt fatbins for the worker and PoM kernels: faster startup, no PTX JIT on supported cards, wider driver compatibility.

This is exactly the kind of contribution that moves the project — if you want to hack on the miner, the door is open.