feat: [MLU] add mlu experimental ops; fix post norm bug#379
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces several new experimental operators, including MojoStorePagedKVCacheC8, MojoDequantFromPagedKVCache, MojoRMSNormInplace, MojoGroupRMSNormInplace, and MojoMRoPEInplace, along with their corresponding accuracy tests and platform support updates. Feedback on the changes highlights a potential runtime TypeError in MojoGroupRMSNormInplace when elementwise_affine is disabled, a typo in the extra_repr method name (written as extra_expr), and redundant casting logic in the dequant_from_cache helper of MojoDequantFromPagedKVCache.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Claude Code ReviewVerdict: Request changes -- Critical correctness bug in residual update plus several robustness issues in new operators. SummaryAdds inplace variants of RMSNorm/GroupRMSNorm/MRoPE, int8 paged KV cache store and dequant operators, expands MRoPE platform support, and wires up xops backend autoload for accuracy tests. Also changes the residual output semantics in Must fix
SuggestionsSuggestions (6)
NitsNits (4)
Notes
|
Claude Code ReviewVerdict: Request changes -- Critical correctness bug in residual update for SummaryThe PR adds new experimental operators (paged C8 KV store/dequant, inplace RMSNorm/GroupRMSNorm, inplace MRoPE) with accuracy tests, expands MRoPE platform support, and adds an autoload hook for an external xops backend in accuracy tests. It also makes a one-line change to Must fix
SuggestionsSuggestions (5)
NitsNits (5)
Notes
|
Claude Code ReviewVerdict: Request changes -- Several correctness issues in the new residual-norm semantics, KV-cache dequant helper, and accuracy-test bootstrap need to be addressed before merge. SummaryAdds new experimental in-place norm / MRoPE / int8 paged KV-cache operators and accuracy tests, broadens MRoPE platform list, and changes the residual returned by Must fix
SuggestionsSuggestions (6)
NitsNits (5)
Notes
|
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Claude Code ReviewVerdict: Request changes -- Residual semantics change and a quant-dequant bug make this unsafe to merge as-is. SummaryThis PR adds C8 paged KV cache store/dequant, in-place variants of RMSNorm / GroupRMSNorm / MRoPE, and broadens MRoPE platform support; it also changes the residual returned by Must fix
SuggestionsSuggestions (5)
NitsNits (5)
Notes
|
No description provided.