Skip to content

OpenVINO Backenb: remove changes in llama.cpp#247

Merged
zhaixuejun1993 merged 1 commit into
ravi9:dev_backend_openvinofrom
zhaixuejun1993:xuejun/remove-changes-in-llama
Jul 9, 2026
Merged

OpenVINO Backenb: remove changes in llama.cpp#247
zhaixuejun1993 merged 1 commit into
ravi9:dev_backend_openvinofrom
zhaixuejun1993:xuejun/remove-changes-in-llama

Conversation

@zhaixuejun1993

Copy link
Copy Markdown
Collaborator

This pull request removes the org_src member from the ggml_tensor struct and updates all related logic throughout the codebase. This change simplifies the tensor structure and removes checks and assignments related to org_src in both the OpenVINO decoder and backend scheduling code.

Tensor structure simplification:

  • Removed the org_src pointer from the ggml_tensor struct in ggml.h, reducing the size of the padding array accordingly.
  • Updated the tensor initialization in ggml.c to remove the initialization of org_src.

Code cleanup and logic updates:

  • Removed all assignments to and checks for org_src in backend scheduling logic in ggml-backend.cpp.
  • Updated the OpenVINO decoder (ggml-decoder.cpp and ggml-decoder.h) to remove logic that referenced or depended on org_src, simplifying conditions and removing unused code. [1] [2] [3]

These changes reduce complexity and potential confusion around tensor source tracking, making the codebase easier to maintain.## Overview

Additional information

Requirements

@zhaixuejun1993 zhaixuejun1993 merged commit 63e44c9 into ravi9:dev_backend_openvino Jul 9, 2026
2 of 15 checks passed
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.

1 participant