Skip to content

AMDBTX v1.2.2 — SHA packing +3% NPS, Windows PATH fix

Latest

Choose a tag to compare

@thekillsquad007 thekillsquad007 released this 05 Jul 16:46
· 7 commits to main since this release

AMDBTX v1.2.2 — SHA-256 packing + 3% NPS, Windows PATH fix, bundle-priority fix

Changes

  • SHA-256 oracle index packing: rewrote d_candidate_from_midstate index-bytes packing in solver/src/matmul_kernel.hip from d_set_sha_byte OR-equals loop to direct d_bswap32(index) stores. +3% NPS at batch=524288, +1.3% at batch=131072. Consensus preserved (35137 gate passes, 0 verify_misses).
  • Windows subprocess DLL search fix (src/amdbtx_miner/gbt_solve_wrapper.py):
    The 6800M laptop hit STATUS_DLL_NOT_FOUND (0xC0000135) because spawned solver could not find bundled HIP runtime DLLs. Fixed by prepending the bundle's runtime/ directory to the spawned solver's PATH env var on Windows (and LD_LIBRARY_PATH on Linux). Now bundled ROCm runtime DLLs/.so are findable without separate HIP SDK install.
  • Linux Runpath fix (solver/CMakeLists.txt): solves portable-Linux No HIP GPU found errors by embedding $ORIGIN:$ORIGIN/runtime in solver RUNPATH. Bundled PyInstaller runtime/*.so files are now found without system ROCm install.
  • resolve_solver_path bundle-priority fix (src/amdbtx_miner/__main__.py): PyInstaller bundle (sys._MEIPASS) is now checked before the gbt_solve_path set in config.yaml. Users who had a stale path in config can now use the bundled single-file EXE without editing config. (Regression test: tests/test_resolve_solver_path.py.)
  • Robust packaging scripts: package_linux.sh and build_and_package_windows.ps1 now auto-discover ROCm SDK location (no hard-coded Python 3.12 / MSVC 14.44 / /opt/rocm-7.2.* paths) so the same code builds on Ubuntu 22/20, HiveOS, and any ROCm 6.x/7.x install.

Assets (sha256)

See SHA256SUMS for the full list. Highlights:

  • amdbtx_miner-1.2.2-py3-none-any.whl08a88866476dcd9bfb93dce24d51db302e844a1bbc50efecf93515229475acc3
  • amdbtx-miner-linux-v1.2.2.tar.gz (ELF binary + bundled ROCm 7.2 runtime) — d97d4eecc0e007ba83157ea34632b6121812258632cb9aafa9164479ea1e887b
  • amdbtx-miner-windows-v1.2.2.zip (EXE + bundled amdhip64_7.dll etc.) — 2afe526343d263dc06bfea6b3b084bfbd456e090392f362211e47745b31a5848
  • btx-gbt-solve-hip (multi-arch Linux solver, gfx900/906/1030/1031/1100/1101/1102/1200/1201) — 19aacbf9df08aa10974db19cfa497278138e47db7f541de26364a2e4863e180e
  • btx-gbt-solve-hip.exe (Windows solver with gfx1030/1031/1100/1101/1102/1200/1201) — 8c7f75cc96ffb90cf43903a848bbf7b7ec1ad172a210f4a86aee23098add8b82
  • HiveOS tarball (older 174 MB bundle including both Linux flavours) — 564a054d2fab277a1d863e8c2ba8f9921338274a20a240afaeb08975e6af642c
  • Ubuntu-specific legacy flavours amdbtx-miner-linux-ubuntu{20,22}-v1.2.2.tar.gz from before the size optimization pass — kept for backwards compatibility.

Quick start (Windows)

Expand-Archive amdbtx-miner-windows-v1.2.2.zip
.\amdbtx-miner-windows-v1.2.2.exe --payout-address YOUR_BTX_ADDRESS `
    --pool-host btx-sg.lproute.com --pool-port 8660

Quick start (Linux / HiveOS)

tar xzf amdbtx-miner-linux-v1.2.2.tar.gz
chmod +x amdbtx-miner-linux-v1.2.2
./amdbtx-miner-linux-v1.2.2 --payout-address YOUR_BTX_ADDRESS