The llama.cpp project released build b10985, which modifies the RPC backend to limit hash-based caching exclusively to weight tensors. This change addresses an issue where activation data was unnecessarily hashed and stored, leading to excessive disk usage.

  • The `ggml_backend_rpc_buffer_set_tensor` and `ggml_backend_rpc_set_tensor_async` functions now only hash transfers for buffers marked with `GGML_BACKEND_BUFFER_USAGE_WEIGHTS`.
  • A new `cache_flag` byte in the SET_TENSOR message signals when a cache entry should be saved, replacing the previous server-side pending state logic.
  • The RPC protocol version is bumped to `RPC_PROTO_MAJOR_VERSION` to reflect the wire format change.

This optimization prevents compute data from filling up disk space by ensuring only weights are cached via the hash path.