Repository navigation
fix(Hy_MT2): the stack check fails instead of skipping what it cannot read - #1114
Merged
Merged
Conversation
… read Hy_MT2's check_peano_stack.sh skipped a core, and so passed, whenever it could not work something out: a stack_depth.py failure (objdump error, recursion, a traceback) left its output empty, which the script read as "no stack"; a disassembly without functions printed nothing; missing _sp_start_value_DM_stack or no buffer above it only warned; a missing ELF was skipped. The other three copies of the check were made to fail on all of these; this one now does the same, still using stack_depth.py for the deepest call chain. stack_depth.py exits with an error when it finds no function instead of printing nothing. Checked with a fake llvm-objdump/llvm-nm in WSL: fits, 97% (warns), overflow, stack_depth.py failure, no functions, no stack start, no bounding buffer, missing ELF and no arguments each give the right result. Co-Authored-By: Claude <noreply@anthropic.com>
Security scan found no critical or high findings on lines changed by this pull requestView the security scan run for complete reports. “New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta. |
…-fails-loudly Co-Authored-By: Claude <noreply@anthropic.com>
Dev-kit benchResults of the dev-kit benches in Build and Test run 45212170212 for Summary |
The dev-kit engine libraries and kernels that run 45212170212 built from 3e75198, staged into its product builds and tested on the NPU (devkit_swap.py fetch): 0 engine file(s), 1 kernel(s). CI checks these bytes against the run's staging manifests. src/xclbins/Hy-MT2-1.8B-NPU2/layer.xclbin Devkit-Swap-Run: 45212170212 Devkit-Swap-Tested: 3e75198 Co-Authored-By: Claude <noreply@anthropic.com>
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.
Summary
Hy_MT2's
check_peano_stack.shskipped a core, and so passed, whenever it could not work something out. #1085 made the other three copies of this check fail on all of these; this one was left out.stack_depth.pyfails (objdump error, recursion, traceback)stack_depth.pyprinted nothing: skippedstack_depth.pyexits non-zero)_sp_start_value_DM_stack, or no buffer above itIt still uses
stack_depth.pyfor the deepest call chain (more precise than the frame sum the other copies use).Testing
llvm-objdump/llvm-nmin WSL drove each row above; each gives the result in the table (overflow: "stack frames total 4128 B but only 4096 B of stack").Hy_MT2_1.8B/decodinglogged no warning or traceback from the check.First real run of the staged-build flow
This changes kernel build inputs, so it is the first PR to go through the flow from #1092 end to end: devkit-xclbins rebuilds the Hy_MT2 decoding kernels, devkit-stage stages them into the product builds, the NPU tests and the bench run on them, and summary should stop at Dev-kit swap pending. The swap commit (
devkit_swap.py fetch) follows once everything else has passed, and CI then only verifies its hashes.🤖 Generated with Claude Code