Repository navigation
Release rehearsal 2 fixes: libomp packed, package-check log, drop --build, HRX e2e skip, checksums, image PATH - #472
Conversation
…age PATH The 2026-10-20 rehearsal on ryzen (engine 4e4e3be) found: - weekly.sh: package_checks listed files with `tee /dev/stderr`, which reopens package-checks.log with O_TRUNC; the log kept only its last line behind NUL bytes. Use `tee >(cat >&2)`. - make-binary-drop.sh --build copied build-tree ELFs with their build RUNPATHs and its own check refused them. package-linux.sh's RPATH fix() and strip move into scripts/pack-elf.sh, shared by both. - The HRX llama.cpp libraries need libomp.so (TheRock's LLVM) and nothing packed it: the packed llama-server, CPU path included, only loaded where TheRock sat at the build machine's path. pack-elf.sh copies it beside them ($ORIGIN); credited in NOTICE-BINARY and NOTICE (Apache-2.0 WITH LLVM-exception). The package checks and the drop now fail when ldd finds a library missing (TheRock's documented runtime aside), with ROCR_VISIBLE_DEVICES=-1. - serve_e2e_hrx failed instead of skipping without a gfx1151 and held every bump on such a host. It skips (77) unless scripts/gpu-targets.sh (sysfs, no GPU opened) finds one; a held bump names the host and its GPU. - SHA256SUMS was written before changes.json; the release stage rewrites it. - 1bit OS: SSH sessions lacked /opt/lemonade/bin. init writes /etc/profile and links lemonade/lemond into /usr/bin; vmtest checks the CLI over SSH. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…umps.json) Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR Reviewer Guide 🔍(Review updated until commit 30f32ad)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 30f32ad |
…5691d31, together (engine#679, #3085, #3123) Two pins in one PR because they only work together: fork #472 asks the add-on for GET_ROWS tensor claims, and gpu-kernels #123 is the claim. Either alone leaves the other half missing. llama.cpp 4f094d611e test-hrx-ops: the next_q8 rows accept the add-on tree and say so (engine#3085) (#471) 48d7eeb7c0 test-hrx-ops: the flash-attention rows expect the specialization the matchers actually set (#470) 3514f3a840 hrx: a GET_ROWS no fork form takes is asked of the add-on tensor claims before it is refused (engine#679) (#472) gpu-kernels ac5691d310 hip-hrx: hip.get_rows_f16, GET_ROWS of strided f16 rows into f32, so the QSA indexer-cache gathers stay on HRX (engine#679) (#123) Measured effect of the pair, from the fork #472 body: engine#679 Flash-Next 19k decode 8.0-8.5 -> 13.7-17.8 tok/s. #471 is the half of engine#3085 no pin has carried yet: in an add-on tree the four FA rows were 1/4 at 53ab4140 and 2/4 at 9ad20054, and the two that failed (`fa_decode_next_q8.`, `.true`) failed on `plan.dispatches.size()`, which #471 relaxes. #472 is the only commit here that is not test-only (`ggml/src/ggml-hrx/ggml-hrx.cpp` +6, `tests/test-backend-ops.cpp` +4) — it adds a claim path, it does not touch `gguf_architectures.hrx`, so the registry's class tables cannot change from it. The gpu-kernels commit does change the add-on's kernel id/name tables (+2/-1 aliases, +4/-2 ids), which is why the two travel together.
…5691d31, together (engine#679, #3085, #3123) (#3141) Two pins in one PR because they only work together: fork #472 asks the add-on for GET_ROWS tensor claims, and gpu-kernels #123 is the claim. Either alone leaves the other half missing. llama.cpp 4f094d611e test-hrx-ops: the next_q8 rows accept the add-on tree and say so (engine#3085) (#471) 48d7eeb7c0 test-hrx-ops: the flash-attention rows expect the specialization the matchers actually set (#470) 3514f3a840 hrx: a GET_ROWS no fork form takes is asked of the add-on tensor claims before it is refused (engine#679) (#472) gpu-kernels ac5691d310 hip-hrx: hip.get_rows_f16, GET_ROWS of strided f16 rows into f32, so the QSA indexer-cache gathers stay on HRX (engine#679) (#123) Measured effect of the pair, from the fork #472 body: engine#679 Flash-Next 19k decode 8.0-8.5 -> 13.7-17.8 tok/s. #471 is the half of engine#3085 no pin has carried yet: in an add-on tree the four FA rows were 1/4 at 53ab4140 and 2/4 at 9ad20054, and the two that failed (`fa_decode_next_q8.`, `.true`) failed on `plan.dispatches.size()`, which #471 relaxes. #472 is the only commit here that is not test-only (`ggml/src/ggml-hrx/ggml-hrx.cpp` +6, `tests/test-backend-ops.cpp` +4) — it adds a claim path, it does not touch `gguf_architectures.hrx`, so the registry's class tables cannot change from it. The gpu-kernels commit does change the add-on's kernel id/name tables (+2/-1 aliases, +4/-2 ids), which is why the two travel together. Co-authored-by: bong-water-water-bong <[email protected]>
…e swiglu row fix (engine#3120) (#3169) Fork #475 squashed as 78092612d ("the packed-weight layout belongs to the route that ran, not to the row") and #477 as "the two layouts the swiglu rows choose between must differ" are both on the fork's line and neither is in main's pin, which still points at the #472 squash (3514f3a84085, merged 06:12Z; #475 merged 08:00Z). What the bump fixes: eight dense_matmul_swiglu.q4_k.q4_k rows fail on hrx-ops-test.cpp:453 (binding.layout == kQ4KPackedK256Row64Layout) in an add-on build even with #465's per-row acceptance, because the packed K256/row64 layout is a fact about the LOOM kquant route and the add-on reads the weight stored (#2392). The #477 commit adds the distinctness arm that keeps the two-route choice from collapsing into one value. git merge-base --is-ancestor 78092612d <new pin> -> yes registry/architectures.json carries the same sha in the same commit, as every bump does. Co-authored-by: bong-water-water-bong <[email protected]>
Fixes from release rehearsal 2 (ryzen, main 4e4e3be, 20 Oct). The full pipeline ran end to end there; VMTEST PASS; a clean clone built from the binary drop.
tee >(cat >&2);tee /dev/stderrreopened and truncated package-checks.logscripts/pack-elf.sh(package-linux.sh's formerfix()+ strip, RPATH-leak and missing-library checks), used by package-linux.sh and make-binary-drop.sh--buildmake-binary-drop.sh --buildpasses (before: 11 RPATH failures)libomp.so(LLVM OpenMP, Apache-2.0 WITH LLVM-exception, credited in NOTICE-BINARY) packed beside the libraries that load it, RUNPATH$ORIGIN; package and drop checks fail iflddfinds anything missing beyond TheRock's documented runtime--builddrop: ctest 37/37 incl. serve_e2e_cpu (before: fails, libomp.so not found)scripts/gpu-targets.sh, sysfs only, opens no GPU;ONEBIT_HRX_E2E_TARGETS); held-bump reason names the host and its GPUssha256sum -cpasses for all 4 files/etc/profilefor SSH login shells (Dropbear's own PATH) and lemonade/lemond linked into /usr/bin[]when bumps.json is missing (running the stage alone crashed)All runs with
ROCR_VISIBLE_DEVICES=-1, no GPU or NPU use.tools/copyright.py --checkclean. Evidence: ryzen~/wt/tosreh2-REPORT.md.🤖 Generated with Claude Code