Repository navigation
ggml-openvino: bonsai perf fix - run plain GDN on GPU as PagedGatedDeltaNet - #490
Draft
cavusmustafa wants to merge 1 commit into
Draft
cavusmustafa wants to merge 1 commit into
cavusmustafa wants to merge 1 commit into
Conversation
…s the recurrent cache in place
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
On GPU, a plain
GATED_DELTA_NET(no speculative replay) now runs as the existing OpenVINO opPagedGatedDeltaNet, which updates the recurrent cache in place. Since the replay fusion replaced the earlier fused recurrence, normal decoding lost its fused path; for Ternary-Bonsai-2-27B this doubles decode speed again (3x underllama-serverdefaults), with no new OpenVINO op.It is on by default when the GPU plugin supports
PagedGatedDeltaNet(queried once; OpenVINO 2026.5.0 does) andGGML_OPENVINO_DISABLE_PAGED_GDN=1turns it off. The convolution state and the speculative replay graph are unchanged. The model cache key moves to version 15 and includes the new variable.Requirements
Written with Claude Opus 5.5