Repository navigation
Conversation
|
@claude Review Pr |
|
Claude finished @kalebbroo's task in 2m 37s —— View job PR review
Verdict: I found no blocking defects in this PR's changes. The three reproduced defects are fixed correctly, and the tests target the right contract edges. The main gap is that the same NaN masking still exists in sibling Flash kernels, so CUDA results still depend on which route runs. I reviewed the code only; I did not build or run anything (this runner has no GPU). What I checked and found correct
Issues and suggestions1. Sibling Flash routes still turn NaN into zero (medium, consistency). The monolithic kernel now propagates a NaN
A NaN or non-finite Q·K in a Gemma-2 split decode therefore returns zeros, while the monolithic route returns NaN. The new tests can't catch this because they only assert 2. Finite-sentinel masks now behave differently on the F16 path (medium, undocumented). The old clamp to ±32752 kept a fully masked row with a finite sentinel such as
3. Tests only ever produce scores of 0 (low). Every case fills Q and K with zeros, so the score-plus-bias addition is only tested with a zero score. At least one case with non-trivial Q·K would test real score/bias mixing and the F16 score rounding. 4. 5. Extra launches and memory traffic in the new softmax (low).
6. The NVRTC helper can fall back to another version silently (low). On Windows it falls back from Agreement with the PR bodyThe PR body keeps the same hedges: SM75 not executed, no speed claim, timing concern left open. I didn't see any claim in the code or report that goes beyond the evidence, so keeping it draft looks right. |
|
Addressed the review in 57b143f; pinned GPU handoff is in 69883e4.
Local validation: all 45 GPU semantic cases pass; full GPU categories run sequentially with Core 19, LLM 101, Diffusion 18 and Engine 12 reported passes and no failures. Resource skips/guarded passes remain unvalidated. Full CPU lane: 3,219 reported passes, the same two B0 failures, one skip. net8.0 and benchmark builds pass; changed PTX assembles without spills on the applicable SM75/SM86 lanes. No 4090 generation, final parity or Bfix claim is made. Both PRs stay draft pending hardware evidence. @codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
PR 03 support-matrix inspection found a separate existing CPU dense exclusion gap. Read-only reproduction: F32 Q=[1,1,1,2] and K=[1,1,2,2] all zero, V filled with 7, additive bias [1,2] filled with -Infinity, scale 1. CpuBackend.ScaledDotProductAttention returns NaN instead of the contract's exact zero. AttentionKernels.SoftmaxInPlace evaluates exp(-Infinity - -Infinity). The PR 03 Core signatures and normalized method bodies match the pinned parent on net8/net10, so its file split did not introduce this. This is recorded as mandatory-common case M03 in draft #915. PR 03 does not change arithmetic or treat the current result as allowed conformance. Keep the GPU agent's existing immutable test pins unchanged during its run; the report/exit review needs to account for this additional semantic follow-up before declaring Bfix complete. |
…antic-correctness-pr02 # Conflicts: # benchmarks/attention/reports/README.md
|
Imported the parent fixture-API review fix without changing production code or the active P2 pin 57b143f. The corrected operation harness is independently pinned at H=4ce2c223c6abe67b3d9096276a67b40735455575. The GPU handoff now builds the same H tools against immutable B0/P1/P2 production roots and explains which earlier specialized C# fixture results are invalid attribution. Unsupported cells remain unvalidated; no K0 exception or parity claim is inferred. Current handoff: https://github.com/HartsyAI/HartsyInference/blob/ce15e0330/benchmarks/attention/gpu-agent-handoff.md . The known CPU dense excluded-row gap remains recorded separately; this harness correction does not repair arithmetic or establish Bfix. |
CPU FlashAttention previously suppressed a NaN/+infinite sink result on an empty row. CUDA monolithic Flash applied ALiBi before softcap, and materialized attention returned NaN (F32/BF16) or the mean value (F16) for fully excluded rows. This draft corrects those reproduced defects.
This is PR 02 under the user's subsequent authorization, stacked on #905. PR 01 remains incomplete and draft. The user authorized the next PR after the current PRs are ready and merged; their exit gates remain required.
Validation on Windows 11 / RTX 3060 / driver 610.88 / cuDNN 9.21.0:
MeshOperateRouteTests.OperationsListsEveryOperationWithItsParametersandMiniMaxH3FlatLayoutResolutionTests.ImageResolverFindsTheVaeAndEncoderInTheModelsRootLayout. A T5 missing-reference guarded pass remains unvalidated.Still required: affected real-generation A/B correctness and timing, frozen Qwen/Krea path and primary endpoints on the 4090, PR 01's incomplete baseline/workload evidence, and review. Bfix is not frozen; no primary speed, unchanged-quality optimization, Kitchen parity, or full-validation claim is made. Keep draft.
Raw logs, failed probes, fixtures, binaries and timing results are retained under
artifacts/attention-pr02in the PR worktree.Detailed local evidence and timing report and 4090 handoff.
Current production test pin:
57b143f004050d484dc1b667ae8d5f91fc82ac22. Complete GPU-agent assignment and copy-back report template. Review replies address all six suggestions; fresh Codex reviews are requested. The user will return the GPU agent's report before readiness/merge and the next PR.