Skip to content

Investigate ambient HRX in-range decode fault - #340

Merged
bong-water-water-bong merged 1 commit into
mainfrom
copilot/ambient-in-range-decode-fault
Oct 6, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
copilot/ambient-in-range-decode-fault

Conversation

Copilot AI commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The reported decode fault appears ambient rather than specific to the multipass path, but the supplied measurements do not establish a verified residency fix.

  • Scope: The transient allocation is in third_party/llama.cpp; the allocation API and HIP/VMM behavior are in third_party/hrx-system.
  • Outcome: No code or submodule pins were changed. Both submodule worktrees are empty, and the required runtime behavior has no verified implementation to opt into.
  • Open question: Sequential faults did not reproduce at the reported rate on the current pin; the concurrent case remains unverified.

Copilot AI changed the title [WIP] Fix ambient in-range decode fault with libhrx transient pinning Investigate ambient HRX in-range decode fault Oct 6, 2026

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@bong-water-water-bong
bong-water-water-bong marked this pull request as ready for review October 6, 2026 22:05
@bong-water-water-bong
bong-water-water-bong merged commit ab00067 into main Oct 6, 2026
8 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the copilot/ambient-in-range-decode-fault branch October 6, 2026 22:05
bong-water-water-bong pushed a commit that referenced this pull request Nov 13, 2026
…nmerged

The CHANGES at cf7b529 is right: the paragraph says 'no producer at this pin', which is true of the pin
and about to stop being true of the tree, because llama.cpp#340 opens exactly that producer
(dispatch-shape-log.cpp, off by default).

Took the reviewer's second option, a clause rather than a rewrite, because #340 is unmerged: both the
script header and the converter docstring now say that #340 adds one, that its record type and fields
match what the converter reads (hrx_command_program with commands[] carrying phase init/main and
matches[] zipped positionally), and that when it lands the caveat stops applying rather than needing a
rewrite -- so the next person does not have to rediscover which half of the sentence is stale.

The usage window (sed -n 17,28p) cut off before the new lines, so running the script with no arguments
still showed only 'NO producer'. Widened to 17,33p; verified the clause now prints.

Not addressed here, deliberately, because the reviewer filed it as a note rather than part of this
CHANGES: hrx2kineto.py degrades quietly when --shapes yields no rows. Separate change, separate review.
bong-water-water-bong added a commit that referenced this pull request Nov 13, 2026
…ng it does (#2375)

* hyperloom: say that the shapes log has no producer, instead of implying it does (Gantt pgtt)

Both tools that build an HRX TraceLens run told the reader to set GGML_HRX_DISPATCH_SHAPE_LOG, and nothing
in the repo writes that file:

  git log --all -S 'GGML_HRX_DISPATCH_SHAPE_LOG' -- ggml/src/ggml-hrx   -> no commit

so hrx-tracelens.sh's 'Needs a llama.cpp build with GGML_HRX_DISPATCH_SHAPE_LOG' names a build nobody can
make from the tree, and hrx2kineto.py's --shapes path (hrx:: op names, per-op FLOPs and bytes) cannot be
exercised. Measured on one run: the capture and the conversion work (7.9 MB .prof -> 1293 events -> 1292
dispatches -> a Kineto trace), and TraceLens then reports **100% of ops in 'other'** with kernel names only.

Documented rather than deleted, because the capability is described in two places and presumably existed in
a build that is no longer on the box (~/wt/hrx2kineto-src, hrx-tracelens.sh's default HRX_BIN, is gone):
whoever restores it should not also have to rediscover what its absence looks like.

* hyperloom: the no-producer caveat now names llama.cpp#340, which is unmerged

The CHANGES at cf7b529 is right: the paragraph says 'no producer at this pin', which is true of the pin
and about to stop being true of the tree, because llama.cpp#340 opens exactly that producer
(dispatch-shape-log.cpp, off by default).

Took the reviewer's second option, a clause rather than a rewrite, because #340 is unmerged: both the
script header and the converter docstring now say that #340 adds one, that its record type and fields
match what the converter reads (hrx_command_program with commands[] carrying phase init/main and
matches[] zipped positionally), and that when it lands the caveat stops applying rather than needing a
rewrite -- so the next person does not have to rediscover which half of the sentence is stale.

The usage window (sed -n 17,28p) cut off before the new lines, so running the script with no arguments
still showed only 'NO producer'. Widened to 17,33p; verified the clause now prints.

Not addressed here, deliberately, because the reviewer filed it as a note rather than part of this
CHANGES: hrx2kineto.py degrades quietly when --shapes yields no rows. Separate change, separate review.

---------

Co-authored-by: bcloud <agent@local>
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.

Ambient in-range decode fault (2049-32768): the fallback faults >= the multipass; needs libhrx transient pinning

2 participants