Repository navigation
openvino: driver setup, CI split, thread safety, and NPU optimizations - #21944
Merged
Merged
Conversation
wine99
marked this pull request as draft
April 16, 2026 08:29
Fix thread-safety of ov_runtime_context shared singleton
wine99
marked this pull request as ready for review
April 17, 2026 05:53
Contributor
|
Hi @ngxson , could you kindly review this PR. |
ggerganov
reviewed
Apr 20, 2026
Comment on lines
+43
to
+45
| constexpr int ROPE_TYPE_NORMAL = 0; | ||
| constexpr int ROPE_TYPE_NEOX = 2; | ||
| constexpr int ROPE_TYPE_IMROPE = 40; |
Contributor
There was a problem hiding this comment.
We aim to keep llama.cpp API dependencies out of the OpenVINO frontend translation layer, keeping them to the main backend files. Based on your comment, we improved the abstraction by passing this information from ggml-decoder.cpp into the translations.
We will include a more generic mechanism for passing op parameters and configurations to OV translation layer in a future PR.
rope type abstraction for frontend translations
This was referenced Apr 21, 2026
my-other-github-account
pushed a commit
to my-other-github-account/llama.cpp
that referenced
this pull request
May 15, 2026
ggml-org#21944) * Thread safety per request only * Fix ROPE yarn case * Fix sticky stateful config * Use i4/i8 directly for symmetric quant * Use weightless caching * Add WeightlessCacheAttribute to reduce NPU memory usage * Gelu tanh support (ggml-org#125) * Imrope support (ggml-org#126) * fix(openvino): explicit ov::Tensor frees in ggml_backend_openvino_free * add GPU,NPU support in OV Dockerfile * add build-openvino.yml ci * Fix sticky stateful config * add concurrency to ov-gpu ci runs. Move OV CI to build-openvino.yml * fix thread-safety of shared runtime context * rope type abstraction for frontend translations * fix editorconfig --------- Co-authored-by: Mustafa Cavus <[email protected]> Co-authored-by: Dan Hoffman <[email protected]> Co-authored-by: Ravi Panchumarthy <[email protected]>
baramofme
pushed a commit
to baramofme/llama-cpp-turboquant
that referenced
this pull request
May 23, 2026
ggml-org#21944) * Thread safety per request only * Fix ROPE yarn case * Fix sticky stateful config * Use i4/i8 directly for symmetric quant * Use weightless caching * Add WeightlessCacheAttribute to reduce NPU memory usage * Gelu tanh support (TheTom#125) * Imrope support (TheTom#126) * fix(openvino): explicit ov::Tensor frees in ggml_backend_openvino_free * add GPU,NPU support in OV Dockerfile * add build-openvino.yml ci * Fix sticky stateful config * add concurrency to ov-gpu ci runs. Move OV CI to build-openvino.yml * fix thread-safety of shared runtime context * rope type abstraction for frontend translations * fix editorconfig --------- Co-authored-by: Mustafa Cavus <[email protected]> Co-authored-by: Dan Hoffman <[email protected]> Co-authored-by: Ravi Panchumarthy <[email protected]>
MrLordCat
referenced
this pull request
in MrLordCat/llama.cpp-rdna-lab
Jul 16, 2026
…s (#21944) * Thread safety per request only * Fix ROPE yarn case * Fix sticky stateful config * Use i4/i8 directly for symmetric quant * Use weightless caching * Add WeightlessCacheAttribute to reduce NPU memory usage * Gelu tanh support (#125) * Imrope support (#126) * fix(openvino): explicit ov::Tensor frees in ggml_backend_openvino_free * add GPU,NPU support in OV Dockerfile * add build-openvino.yml ci * Fix sticky stateful config * add concurrency to ov-gpu ci runs. Move OV CI to build-openvino.yml * fix thread-safety of shared runtime context * rope type abstraction for frontend translations * fix editorconfig --------- Co-authored-by: Mustafa Cavus <[email protected]> Co-authored-by: Dan Hoffman <[email protected]> Co-authored-by: Ravi Panchumarthy <[email protected]>
Contributor
|
@ggerganov : We have a fix for it in our dev branch. We will raise a PR soon. |
zommiommy
pushed a commit
to zommiommy/llama.cpp
that referenced
this pull request
Aug 18, 2026
ggml-org#21944) * Thread safety per request only * Fix ROPE yarn case * Fix sticky stateful config * Use i4/i8 directly for symmetric quant * Use weightless caching * Add WeightlessCacheAttribute to reduce NPU memory usage * Gelu tanh support (ggml-org#125) * Imrope support (ggml-org#126) * fix(openvino): explicit ov::Tensor frees in ggml_backend_openvino_free * add GPU,NPU support in OV Dockerfile * add build-openvino.yml ci * Fix sticky stateful config * add concurrency to ov-gpu ci runs. Move OV CI to build-openvino.yml * fix thread-safety of shared runtime context * rope type abstraction for frontend translations * fix editorconfig --------- Co-authored-by: Mustafa Cavus <[email protected]> Co-authored-by: Dan Hoffman <[email protected]> Co-authored-by: Ravi Panchumarthy <[email protected]>
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.
Overview
WeightlessCacheAttributeto reduce memory usage on NPURequirements