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

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

No files matched your search

+1 -1
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)