-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ggml-alloc integration and gpu acceleration (#75)
* 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 <[email protected]>
- Loading branch information
Showing
29 changed files
with
120,851 additions
and
2,831 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
build*/ | ||
test/ | ||
|
||
.vscode/ | ||
.cache/ | ||
*.swp | ||
.vscode/ | ||
*.bat | ||
*.bin | ||
*.exe | ||
*.gguf | ||
output.png | ||
models/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "ggml"] | ||
path = ggml | ||
url = https://github.com/leejet/ggml.git | ||
path = ggml | ||
url = https://github.com/FSSRepo/ggml.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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 .) |
Oops, something went wrong.