Repository navigation
docs(test): correct the AUTO_NF12 excluded-layer page and harden its ROCm bound (#4007) - #4018
Merged
Merged
Conversation
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.
Refs #4007
Follow-up to the merged PR #4012. No production-code change.
Docs corrections (
docs/auto-nf12-excluded-layers.md)nanas a measured value. The issue reportsnan, and a reverted ROCm run reproducednan; the CUDA rerun measured1.034because the uninitialised weight is arbitrary memory. The page nowstates both instead of asserting one measurement.
is fix(nf12): keep excluded-layer replay dense and fail closed on leaked AUTO_NF12 buffers (#4007) #4012; the page now says so.
Test robustness (
tests/test_auto_nf12_excluded_layers.py)The unaffected-exclusion cases asserted
rel_err < 0.5. That bound is notstable across accelerators: excluding one attention sub-block measured
0.574on the R9700. The invariant those cases pin is the checkpoint layout (no
nf12_*keys, asserted separately) and finite logits, so the drift bound is now1.0; a corrupted checkpoint still fails the key assertion.Validation