Skip to content

OpenVINO backend: Support Whisper.cpp - #257

Draft
mostafafaheem wants to merge 34 commits into
ravi9:dev_backend_openvinofrom
mostafafaheem:whisper_support
Draft

OpenVINO backend: Support Whisper.cpp#257
mostafafaheem wants to merge 34 commits into
ravi9:dev_backend_openvinofrom
mostafafaheem:whisper_support

Conversation

@mostafafaheem

Copy link
Copy Markdown

Overview

WIP. PR and description will be updated further.

Additional information

Requirements

zhaixuejun1993 and others added 30 commits July 14, 2026 09:33
…g_src to recorde the src ggml tensor for OpenVINO dynamic shape infer
enable qwen35

Fix after rebase

remove logging
…t reason: the backend test initializes unary op inputs over a wide range, [-150, 150]. For FP32, exp(x) overflows around x ~= 88.7, so this test can randomly generate values right in or beyond the overflow region
In stateful mode the NEOX RoPE branch fed rank-3 data ([S, n_heads,
head_size]) into the Multiply against the rank-4 cos/sin tables
([1, S, 1, n_dims/2]). That mixed-rank broadcast is miscomputed by the
OpenVINO GPU plugin, corrupting the rotated Q/K and producing garbage
output (e.g. Phi-3-mini). Lift the data to rank-4 before the split/
Multiply so the operands are equal-rank, matching what the TYPE_NORMAL
branch already does. CPU and stateless paths are unaffected.

Phi-3-mini-Q4_K_M, wiki.test perplexity, GPU stateful:
  before: PPL = 27120.43
  after:  PPL = 6.2263   (CPU reference: 6.2251)
…ov name in ov bk; 3) fix issue in arch test & op test with latest code update
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@wine99
wine99 force-pushed the dev_backend_openvino branch from 4250de7 to 175f422 Compare July 27, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants