Skip to content

ggml-openvino : support ggml_rope_set_offset and simplify op support gating - #304

Open
mostafafaheem wants to merge 2 commits into
ravi9:dev_backend_openvinofrom
mostafafaheem:more_rope_cases
Open

ggml-openvino : support ggml_rope_set_offset and simplify op support gating#304
mostafafaheem wants to merge 2 commits into
ravi9:dev_backend_openvinofrom
mostafafaheem:more_rope_cases

Conversation

@mostafafaheem

@mostafafaheem mostafafaheem commented Aug 28, 2026

Copy link
Copy Markdown

Overview

  • Introducing support for ggml_rope_set_offset
  • Relaxing and simplifying op support gating for GGML_OP_ROPE

Additional information

Supported ROPE cases went from 176 -> 280

Requirements

}
case GGML_OP_CPY: {
if (op->src[0]->type == GGML_TYPE_BF16 || op->src[1]->type == GGML_TYPE_BF16) {
if (op->src[0]->type != GGML_TYPE_BF16 && op->src[1]->type == GGML_TYPE_BF16) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this lets CPY to pass if src[0] is bf16, is that right? Is the conversion handled in frontend or openvino core if bf16 not supported on target device?

src[0] src[1] before after
BF16 BF16 true false
BF16 not BF16 true false
not BF16 BF16 true true
not BF16 not BF16 false false

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.

2 participants