Skip to content

RPC: populate use_count to enable fusion inside backends - #27142

Merged
am17an merged 2 commits into
ggml-org:masterfrom
am17an:rpc-enable-fusion
Aug 18, 2026
Merged

am17an merged 2 commits into
ggml-org:masterfrom
am17an:rpc-enable-fusion

Conversation

@am17an

@am17an am17an commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Overview

ggml_can_fuse uses ggml_node_has_n_uses which uses use_counts for enabling fusion, the RPC backend currently doesn't transfer this information on the wire. This PR adds that information in the extra padding field.

Additional information

Requirements

@am17an
am17an requested a review from a team as a code owner August 15, 2026 16:57
@github-actions github-actions Bot added the ggml changes relating to the ggml tensor library for machine learning label Aug 15, 2026

@rgerganov rgerganov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

consider bumping the minor version of the RPC protocol, so users can get a warning if they use an older RPC server which doesn't support this

@am17an
am17an requested a review from ggerganov as a code owner August 18, 2026 15:00
@am17an am17an added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Aug 18, 2026
@am17an
am17an merged commit af51726 into ggml-org:master Aug 18, 2026
23 of 27 checks passed
@am17an
am17an deleted the rpc-enable-fusion branch August 18, 2026 15:39
thecodacus pushed a commit to thecodacus/llama.cpp that referenced this pull request Sep 7, 2026
)

* RPC: populate use_count to enable fusion inside backends

* bump minor version
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
)

* RPC: populate use_count to enable fusion inside backends

* bump minor version
github-actions Bot pushed a commit to Victor-Mihaila/llama.cpp that referenced this pull request Dec 3, 2026
)

* RPC: populate use_count to enable fusion inside backends

* bump minor version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants