Repository navigation
Investigate ambient HRX in-range decode fault - #340
Merged
Merged
Conversation
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
marked this pull request as ready for review
October 6, 2026 22:05
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reported decode fault appears ambient rather than specific to the multipass path, but the supplied measurements do not establish a verified residency fix.
third_party/llama.cpp; the allocation API and HIP/VMM behavior are inthird_party/hrx-system.