Keep float32 intermediates in the clamped SwiGLU eager fallback #8992
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.29) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 80 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.263
Real PR Conversation Timeline
1 comments
"Review active on #8992"
general
weight: 0.35
delock
swiglu_clamped()runs the Triton kernel when Triton is available and_swiglu_clamped_eager()otherwise, The triton kernel accumulates in float32 but the eager function not, which causes
tests/unit/v1/moe/test_autoep_expert_activation.py::TestGroupedExpertsActivation::test_fused_kernel_matches_plain_pytorch[swiglu_oai]fail when triton is not available.
The PR fixes the numeric error, has been validated in H100 and KLXPU, with the cost of larger peek memory and kernel time cost.
| | fwd peak | fwd+bwd peak | fwd+bwd time |
|---|---|---|---|
| before | 2.50 GiB | 4.00 GiB | 13.87 ms |
| after | 5.00 GiB | 10.00 GiB | 32.21 ms |