]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
rpc : add support for multiple devices (#16276)
authorRadoslav Gerganov <redacted>
Sat, 4 Oct 2025 09:49:16 +0000 (12:49 +0300)
committerGitHub <redacted>
Sat, 4 Oct 2025 09:49:16 +0000 (12:49 +0300)
commit898acba6816ad23b6a9491347d30e7570bffadfd
tree07e60dfc2aeb2c41dea3995061942cf8399ae9ea
parente29acf74fea996014380d59d31aa504ae8964258
rpc : add support for multiple devices (#16276)

* rpc : add support for multiple devices

Allow rpc-server to expose multiple devices from a single endpoint.
Change RPC protocol to include device identifier where needed.

closes: #15210

* fixes

* use ggml_backend_reg_t

* address review comments

* fix llama-bench backend report

* address review comments, change device naming

* fix cmd order
common/arg.cpp
ggml/include/ggml-backend.h
ggml/include/ggml-rpc.h
ggml/src/ggml-backend-impl.h
ggml/src/ggml-rpc/ggml-rpc.cpp
tools/llama-bench/llama-bench.cpp
tools/rpc/rpc-server.cpp