]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
rpc : keep last_graph_uid in the device context (#23273)
authorRadoslav Gerganov <redacted>
Tue, 19 May 2026 06:42:36 +0000 (09:42 +0300)
committerGitHub <redacted>
Tue, 19 May 2026 06:42:36 +0000 (09:42 +0300)
commitc3e9ade6dd3ff2a1ceafd2d59062634715b472c4
treea5474557d3389cb20e4e86afd4542119de8362b9
parent9a532ae4bab1b164052ce60a738f78538b421c66
rpc : keep last_graph_uid in the device context (#23273)

With the introduction of MTP we can have multiple compute contexts for
the same RPC device. In this case last_graph_uid is not updated properly
when contexts are being switched. This patch fixes this by moving
last_graph_uid to the device context, making sure it is always updated.

closes: #23242
ggml/src/ggml-rpc/ggml-rpc.cpp