feat: load weights from safetensors and ckpt (#101)

This commit is contained in:
leejet
2023-12-03 15:47:20 +08:00
committed by GitHub
parent 47dd704198
commit d7af2c2ba9
28 changed files with 49180 additions and 2415 deletions

View File

@@ -2,5 +2,5 @@ set(TARGET sd)
add_executable(${TARGET} main.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE stable-diffusion common ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(${TARGET} PRIVATE stable-diffusion ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PUBLIC cxx_std_11)