Skip to content

Bump XDNA: amd/xdna-driver a9eb162f4a82 - #252

Merged
bong-water-water-bong merged 1 commit into
mainfrom
bump-xdna/a9eb162f4a82
Sep 30, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
bump-xdna/a9eb162f4a82

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Moves third_party/xdna-driver from 342187206b1f to upstream main a9eb162f4a82 (its XRT submodule: d8ececf95767).

Upstream commits (last 30):

  • c82b32710 accel/amdxdna: remove drm_sched kernel probes from configure_kernel.sh
  • a9eb162f4 accel/amdxdna: remove DRM scheduler from AIE2

CI here has no NPU. Before merging, on Strix Halo:
scripts/build-xdna.sh ~/.cache/xdna-pin/prefix && cmake -B build -G Ninja -DONEBIT_NPU=ON -DONEBIT_XRT_ROOT=$HOME/.cache/xdna-pin/prefix/root/opt/xilinx/xrt && cmake --build build --target onebit && XILINX_XRT=$HOME/.cache/xdna-pin/prefix/root/opt/xilinx/xrt tests/npu_lane_e2e.sh build/1bit <model dir> <model dir>/npu <reference logits>

@context7

context7 Bot commented Sep 30, 2026

Copy link
Copy Markdown

Docs7 for 1bit-monster/engine

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit 8f1b02c

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review (standing in for PR-Agent while coder-llm is paused)

342187206b1f..a9eb162f4a82 is two upstream commits, and both are kernel-driver only. The changed files are in drivers/accel/amdxdna/ (removing the DRM scheduler from AIE2), plus drivers/accel/tools/configure_kernel.sh and the trace header.

  • The xrt submodule is d8ececf95767 on both sides.
  • Nothing under src/shim changed.

So the userspace the engine builds and links through scripts/build-xdna.sh (XRT and the shim) is byte-for-byte the same, and the NPU lane e2e would exercise identical code.

The kernel module isn't installed from this pin: strixhalo runs a separately built out-of-tree amdxdna, and installing modules is the owner's call. So this bump doesn't change what runs.

build and CodeQL pass. Merging.

@bong-water-water-bong
bong-water-water-bong merged commit 4ee1255 into main Sep 30, 2026
8 of 9 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the bump-xdna/a9eb162f4a82 branch September 30, 2026 13:29
bong-water-water-bong added a commit that referenced this pull request Nov 9, 2026
…load names its size (engine #1417) (#1736)

Moves third_party/llama.cpp 8f124f906c -> 60ae4c9358, the tip of 1bit/hrx-vulkan-patched.
Seven merged fork commits ride it:

  60ae4c9  ggml-hrx: the transient arena is charged to the pool before it grows
  18b222e  hrx: cap the host copy staging buffer and copy through it in chunks
  02d8e6b  kv-share: report the layout a context expects, so a provider can match it
  4e57033  ggml-hrx: the forward declaration says bool, matching the definition  <- the pin BUILDS again
  6b8eba3  hrx: say which relation a refused layout-alias node has
  214ccf8  hrx: claim a head-row ROPE only when a fused matcher accepts it
  5c47fa0  ggml-hrx: a failed host-weight materialize names the size and the pool headroom

4e57033 is the reason this bump exists: 8f124f906 does NOT compile. Two merges each
added a forward declaration of device_free_total 130 lines apart (void from #252, bool
from #240), so both merged cleanly and the break was only visible when GGML_HRX is
compiled - which the fork's own CI never does. The engine's hrx_build did see it, which
is what reddened my previous pin PR (#1681) and why that one is superseded rather than
rebased: its target, 8f124f906, reached main from another lane before this.

Regenerated registry/architectures.json with the submodule at 60ae4c935: the ONLY delta
is the sources sha - counts stay hrx 298, npu 9, architectures 298, mapped 298 - so none
of the seven commits touched the architecture surface. Verified: check_pins.py says
'8f124f906 -> 60ae4c935 is ahead' (rc 0) and registry_build.py --check-pins passes.

Still Refs #1417, not Fixes: the live admission check (fork #254 + the fail-safe) is in
this pin, but #1417's reported shape - a request admitted with GTT room while host memory
is short - needs the host term, which is fork #256 + #259 and neither has merged.

Co-authored-by: pi-hrx-sched <[email protected]>
bong-water-water-bong added a commit that referenced this pull request Nov 10, 2026
…rrects #1771)

#1771 retracted the "read hrx_build as unavailable" instruction, which was right, but its closing clause says the failure
"was not a property of the pins in the tree — which is what the same pins failing four hours earlier had seemed to say".
The pins are not the same, and the gitlinks come from the runs themselves:

  red,   21:06 run 42699357566 (fix/1696)        hrx-system 7f4236924  llama.cpp 8f124f906  -> failure
  green, 00:21 run 42727646749 (bump-hrx/831629f) hrx-system 7f4236924  llama.cpp 831629fe9  -> success

hrx-system matches; llama.cpp does not. And 8f124f906 is exactly the pin #1733 root-caused (ggml-hrx.cpp declares
device_free_total twice: void from #252's forward declaration at :383, bool from #240's 800 lines later), which #1759
replaced. As merged, the paragraph teaches the opposite lesson: "a window, not the pins" instead of "this pin was broken,
a bump fixed it, and a llama.cpp bump must clear hrx_build before it lands" — the rule the hw-gate label exists for, and
what #1768 did before merging (hrx_build pass 1m10s).

Docs only.
bong-water-water-bong added a commit that referenced this pull request Nov 10, 2026
…rrects #1771) (#1776)

#1771 retracted the "read hrx_build as unavailable" instruction, which was right, but its closing clause says the failure
"was not a property of the pins in the tree — which is what the same pins failing four hours earlier had seemed to say".
The pins are not the same, and the gitlinks come from the runs themselves:

  red,   21:06 run 42699357566 (fix/1696)        hrx-system 7f4236924  llama.cpp 8f124f906  -> failure
  green, 00:21 run 42727646749 (bump-hrx/831629f) hrx-system 7f4236924  llama.cpp 831629fe9  -> success

hrx-system matches; llama.cpp does not. And 8f124f906 is exactly the pin #1733 root-caused (ggml-hrx.cpp declares
device_free_total twice: void from #252's forward declaration at :383, bool from #240's 800 lines later), which #1759
replaced. As merged, the paragraph teaches the opposite lesson: "a window, not the pins" instead of "this pin was broken,
a bump fixed it, and a llama.cpp bump must clear hrx_build before it lands" — the rule the hw-gate label exists for, and
what #1768 did before merging (hrx_build pass 1m10s).

Docs only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant