feat: add RPC support (#1629)

This commit is contained in:
stduhpf authored and GitHub committed 2026-06-14 17:30:23 +08:00
1 parent 9838264c49
commit c2df4e1228
9 files changed
+282 -1

No files matched your search

+6
View File
@@ -204,6 +204,12 @@ if(SD_WEBM)
endif()
endif()
if (SD_RPC)
message("-- Use RPC as backend stable-diffusion")
set(GGML_RPC ON)
add_definitions(-DSD_USE_RPC)
endif ()
set(SD_LIB stable-diffusion)
file(GLOB SD_LIB_SOURCES CONFIGURE_DEPENDS