keryx-miner-v0.4.1-OPoI

keryx-miner-v0.4.1-OPoI

2026. 7. 27.

Performance and compatibility release — the PoM walk gets significantly faster on most rigs, every GPU generation from Pascal to Blackwell is covered natively, plus quality-of-life fixes from community PRs.

⚡ PoM kernel optimizations

  • Vectorized chunk reads (2× ulonglong2): ~+47% hashrate on GDDR6X cards (RTX 3090: ~28.3 MH/s measured).
  • ILP ×2 (two interleaved nonces per thread): ~+5% on top.
  • Byte-exact same walk v2 — blocks validate identically, nothing changes for pools or nodes. Your hashrate number goes up because the walk is faster, not because the unit changed.
  • Tip: the walk is memory-bound — a memory overclock typically gains another few %, core clock barely matters.

🧱 Rebuilt for maximum GPU compatibility

All GPU binaries in this release were rebuilt from scratch in one consistent environment (CUDA 12.2), so every card gets the optimized kernel natively:

  • PoM fatbins regenerated with the new kernel: native code for sm_61 → sm_90 (GTX 1080 Ti / Pascal all the way up to RTX 4090 and Hopper), plus an embedded PTX fallback (compute_89) — RTX 50 (Blackwell) cards JIT-compile the optimized kernel on first launch. No card is left running a stale pre-compiled kernel anymore.
  • Inference engine (libkeryx-llama) built multi-arch: native kernels for sm_70 / 75 / 80 / 86 / 89 / 90 + PTX fallback, shipped identically in the Linux zip and the HiveOS package.
  • Driver requirement unchanged: PTX targets ISA 8.2, so r535+ drivers still work. Linux packages require glibc ≥ 2.34 (Ubuntu 22.04+, current HiveOS images) — same floor as previous releases.

🎛 New: --force-model (per-GPU tier override)

Force a specific model tier per GPU (CUDA device order, CSV):

--force-model light,very-high    # GPU0=light, GPU1=very-high, other GPUs stay auto

Names: very-light | light | default | high | very-high. Bypasses the local VRAM check — an undersized card will OOM. Unlisted/extra cards keep automatic best-fit. The tier is still proven by the walk on the real weights, so forcing is only ever self-penalizing. Credit to @ocminer for pioneering this in his fork!

🔧 Fixes

  • Model downloads: a complete GGUF on disk is now reused even if the .ok sentinel was lost (HiveOS upgrades, manual copies) — no more multi-GB re-downloads. Partial downloads are no longer truncated when the IPFS gateway ignores Range. Tier 0 no longer fetches an unused tokenizer.json. Thanks @fearke85 (#23)!
  • CUDA lib auto-install: installer output is now visible in the miner log instead of being lost to stderr. Thanks @DragonKeeper (#22)!
  • Old-CPU support: the no-AVX/BMI2 build is now the default baseline, baked directly into build.rs — no more SIGILL crashes on pre-Haswell CPUs, and no special build script needed. Zero performance cost: inference is GPU-only, the CPU side only orchestrates. Thanks @CLusmi!