Skip to content

Commit fdc21fc

Browse files
rgerganovggerganov
authored andcommitted
rpc : early register backend devices (llama/11262)
Early register RPC devices and do not propagate RPC specifics in the llama model structures. ref: #10609
1 parent 7183a1e commit fdc21fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ggml/include/ggml-backend.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ extern "C" {
203203
// Backend registry
204204
//
205205

206+
GGML_API void ggml_backend_device_register(ggml_backend_dev_t device);
207+
206208
// Backend (reg) enumeration
207209
GGML_API size_t ggml_backend_reg_count(void);
208210
GGML_API ggml_backend_reg_t ggml_backend_reg_get(size_t index);

ggml/src/ggml-backend-impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ extern "C" {
208208

209209
// Internal backend registry API
210210
GGML_API void ggml_backend_register(ggml_backend_reg_t reg);
211-
GGML_API void ggml_backend_device_register(ggml_backend_dev_t device);
212211

213212
// Add backend dynamic loading support to the backend
214213

0 commit comments

Comments
 (0)