The new llama.cpp version checks whether another device can actually handle an operation before assigning it. For remote model execution, this reduces unsupported selections and batches communication during operation preparation.
1. Checking remote device support
The project released b12931 on December 2, 2026. RPC, the target of this change, is a way to request computation on another device. The update changes the support responses used when selecting a remote device for execution.
Previously, RPC devices reported support for all operations. This could lead the scheduler, which decides where operations run, to select operations a remote device could not execute. Checks for combining operations had the same issue.
The release notes cite flash attention on Vulkan, a technique for fast attention computation over rows of key-value data. Support checks address cases like this attention operation, where supported combinations vary by remote device.
A new command sends a graph of operations and their connections and returns whether the remote device supports each operation. Instead of reporting blanket support, operation selection now reflects actual device support.
2. Sending graph reservations in one batch
Communication changes affect reservation, which prepares the graph before execution. The RPC backend, which implements device-specific execution, now sends one graph in a single round trip rather than requesting each operation separately.
Reservation now calls an optional graph preprocessing procedure provided by the backend. Support responses are cached per device for reuse. Exact-match keys include operations, parameters, data types, and operation and input dimensions and strides.
The release description also mentions a cache with looser matching conditions, but the later change list says it was removed. Operations without a stored response are queried individually.
3. How the code changes affect costs
Batching reservation communication reduces round trips that wait for remote responses for each graph operation. The benefit is sending the same preparation data in larger batches. This improves both operation selection and support data exchange.
Checking support also requires communication. Cached responses are reused, but operations that do not match stored conditions require individual queries. Developers should examine the frequency of batched reservation requests and later cache misses.
For backend developers, the new graph preprocessing procedure is the integration point. Added as an optional feature, it provides a way to check remote device support in advance during reservation.
4. Validation reported in the release notes
The project reports that test-llama-archs, its model architecture test, passed with the RPC server running on CUDA, Vulkan, and Metal. This indicates that the remote execution path was tested across different backends.
The release notes provide no throughput or latency comparisons. The practical significance is therefore improved operation placement based on support and better reservation communication, rather than numerical inference speed gains.
b12931 introduces checks for more accurate remote operation selection alongside fewer graph reservation round trips.
