rpc : use backend registry, support dl backends (#13304)

This commit is contained in:
Diego Devesa 2025-05-04 21:25:43 +02:00 committed by GitHub
parent 6eb7d25c70
commit 9fdfcdaedd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 116 additions and 98 deletions

View file

@ -28,12 +28,12 @@ else()
add_subdirectory(tokenize)
add_subdirectory(tts)
add_subdirectory(llava)
if (GGML_RPC)
add_subdirectory(rpc)
endif()
if (NOT GGML_BACKEND_DL)
# these examples use the backends directly and cannot be built with dynamic loading
add_subdirectory(cvector-generator)
add_subdirectory(export-lora)
if (GGML_RPC)
add_subdirectory(rpc)
endif()
endif()
endif()