Skip to content

Hierarchos Native v0.2.8

Latest

Choose a tag to compare

@necat101 necat101 released this 28 Nov 11:10
4e19176

Windows x64 portable release of Hierarchos Native v0.2.8. It promotes two
qualified query-pass changes and one FP32 input-gradient kernel into the default
RDNA3 training route, and leaves the WMMA precision policy unchanged: global
WMMA stays off by default and Mixed WMMA stays opt-in.

Promoted

  • Phase XVIII literal-index dQ accumulator. On the geometry the existing
    query selector already admitted (QK and value head dimension 128), the query
    pass indexes its dQ accumulator with literals instead of a runtime chain.
    Eight independent geometry/mode series improved in 5/5 ABBA rounds each,
    1.042×–1.124× on the complete optimizer step, with the 95 % CI excluding
    1.0 in every series. The original query shader remains the overall fallback.
  • Phase XX scratch reuse is the default on that qualified path. The query
    pass reuses its softmax/dS scratch instead of rewriting it. The Phase XIX
    five-round, 160-process campaign measured the complete step at 1.088× FP32
    (26.799 → 24.643 ms, 95 % CI 0.9176–0.9210) and 1.120× Mixed (21.386 →
    19.111 ms, 95 % CI 0.8874–0.8977), 5/5 rounds improved in both. The six
    additional regression series improved 1.071×–1.148×.
  • Phase XXII output-tiled FP32 input gradient. For shapes whose rows, input
    dimension and output dimension are all multiples of 32, a 32 x 32 output tile
    computes four outputs per thread while preserving each output's ascending-k
    single-fma reduction. The five-round ABBA measured the complete step at
    1.1462× (24.875 → 21.716 ms, 95 % CI 0.8706–0.8742, 5/5 rounds), with
    272,038/272,038 output words bitwise equal over six shapes. The original
    16 x 16 kernel remains the fallback and the control arm
    (HIERARCHOS_LINEAR_INPUT_GRAD_OUTPUT_TILE=0).

Pass 1 selects query_dqunroll_scratchreuse by default on the qualified path,
query_dqunroll when scratch reuse is disabled or its pipeline is refused, and
the original query shader when the dQ-unroll path is disabled or the geometry is
not admitted. HIERARCHOS_ATTENTION_BACKWARD_QUERY_SCRATCH_REUSE=0 selects the
Phase XVIII fallback; HIERARCHOS_ATTENTION_BACKWARD_QUERY_DQUNROLL=0 selects
the original query shader.

Numerical evidence: Phase XIX compared 140/140 tensors bitwise across 28 cases
(dQ, scratch_probability, scratch_ds, dK, dV), with zero non-finite
values. Phase XX compared 29 complete steps in-graph: 87 comparisons, zero
mismatches, 29/29 loss bits, LoRA gradient digests and parameter digests equal,
and the identical parameter_end_digest = d79a12d8…9c4655. The Phase XVIII
fallback matrix was re-read with scratch reuse pinned off: 30 cases, 150 tensor
comparisons, zero failures.

The Phase XXII full-step ABBA also produced an identical 29-step
parameter_end_digest = d79a12d8…9c4655 in both arms. Every ratio is an
independent paired result on one adapter and is never multiplied into an
overall training speedup.

Unchanged

Mixed WMMA remains opt-in and default-off; its thresholds, full-parameter
learning-rate caveat and adapter elementwise drift observations are unchanged.
FULL_FP16_MAX_REDUCTION = 64, WMMA_MIN_PROFITABLE_MACS = 16_000_000, the hard
numerical gate 0.03125, the Phase XII four-channel key pass, the row-packed
forward and the GQA grouped key pass keep their artifacts, gates and control
arms. No precision threshold or eligibility allowlist moved.

Scope

One measured adapter: integrated AMD RDNA3, PCI 1002:15bf, AMD Radeon
Graphics, driver 32.0.32015.14001, Windows 11 x64. Query-pass eligibility is
head dimension 128 inside the existing two-pass gate. No universal AMD,
NVIDIA, Intel or cross-architecture qualification is implied.
Timings are
per-step milliseconds on one machine: no throughput, power or multi-GPU claim.

Assets

  • Hierarchos-Native-Windows-x64-Portable-v0.2.8.zip — 34,294,807 bytes, 16 entries, SHA-256 aa2d8d7feda9b106120d9abb4b0be28986d554ad6d915af000a0be89db0ec61c
  • BUILD_MANIFEST.json — packaging commit, toolchain, flags, per-executable hashes, the three promoted module identities and the retained attention and WMMA module identities
  • SHA256SUMS — SHA-256 of the archive and the manifest

Seven executables, all x64 PE32+, statically linked against the MSVC C
runtime: no Visual C++ Redistributable, Rust, Cargo, Python or shader
compiler is needed to run them.

hierarchos-native.exe                           5594624  34cf72fee23e08b404ae4647185643d87da6e2171a7a3fb45a838c6eab380683
hierarchos-native-cli.exe                      40308224  98377e4f1c947060844d855bb2878885dbf64631690a488d693e1bac92b72da4
hierarchos-infer.exe                            1108992  6c35e3869d03fdaa43505049615d231dac84c6a6fa31570f467f69c1e51ee7b5
hierarchos-vulkan-train.exe                    16420352  077864930e31aa54a38eb698ba3b2a09dcfc251e1225d0688c8739d89cf3654a
hierarchos-vulkan-devices.exe                    942080  362b720a25164ce67270b116a9156a071bb992e369024fd40fb9dfba0cba43c8
hierarchos-vulkan-transformer-train.exe        28686848  ae9afba58e202cdd715ef3d55e394a860bd42646e69c12fbcd3c3a6b3878dc50
hierarchos-vulkan-transformer-logits.exe       19325952  0b5f57a5abb555e0bf88d03a4370890d394a884afee78e23047af94912dd8622

Built from source commit 77b0b006760171207d6a8e3054fd2070e4bd49c0 (x86_64-pc-windows-msvc, 2026-11-28T10:46:31Z), source state clean.