Fix accuracy issue and enable Arctic and Grok for arch tests#183
Merged
zhaixuejun1993 merged 3 commits intoMay 25, 2026
Merged
Conversation
48ef5fe
into
ravi9:dev_backend_openvino
3 of 14 checks passed
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.
This pull request updates the OpenVINO backend's operator routing logic to improve numerical stability for Mixture-of-Experts (MoE) and related operations, especially for arctic-style and qwen3next models. The changes ensure certain numerically sensitive operations are kept on the CPU instead of being offloaded to the GPU, which helps maintain accuracy and parity with reference implementations.
MoE and Routing Operations:
ffn_moe_weights), normalization (ffn_moe_weights_norm), probabilities (ffn_moe_probs), and related reshape/add/sum/clamp ops to run on the CPU, regardless of device, to avoid numerical instability on GPU, especially for arctic-style and qwen3next models. [1] [2] [3] [4] [5]General Operator Routing and Stability:
SSM_CONVand certainMUL_MATpatterns on CPU due to known numerical issues in OpenVINO's GPU path. [1] [2]FLASH_ATTN_EXTand other ops. [1] [2]These changes collectively improve model accuracy and reliability by ensuring sensitive operations are executed on the CPU where necessary.## Overview
Additional information
Requirements