
* set ggml url to FSSRepo/ggml * ggml-alloc integration * offload all functions to gpu * gguf format + native converter * merge custom vae to a model * full offload to gpu * improve pretty progress --------- Co-authored-by: leejet <leejet714@gmail.com>
15 lines
523 B
CMake
15 lines
523 B
CMake
set(TARGET common)
|
|
|
|
# json.hpp library from: https://github.com/nlohmann/json
|
|
|
|
add_library(${TARGET} OBJECT common.cpp common.h stb_image.h stb_image_write.h json.hpp)
|
|
|
|
target_include_directories(${TARGET} PUBLIC .)
|
|
target_link_libraries(${TARGET} PRIVATE stable-diffusion ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PUBLIC cxx_std_11)
|
|
|
|
# ZIP Library from: https://github.com/kuba--/zip
|
|
|
|
set(Z_TARGET zip)
|
|
add_library(${Z_TARGET} OBJECT zip.c zip.h miniz.h)
|
|
target_include_directories(${Z_TARGET} PUBLIC .) |