bssrdf
16c9da0cca
added a WIN32 get_files_from_dir; turn off Photomakder if receiving no input images
2024-02-28 16:29:32 -05:00
bssrdf
464f1f8d8b
remove tensor renaming; fixing names in the photomaker model file
2024-02-26 14:37:04 -05:00
bssrdf
d35861b501
merge with a master again; build ok
2024-02-25 19:30:22 -05:00
bssrdf
53beb92d2f
merged with master and resolved conflicts; adapted to GGMLBlock API
2024-02-25 14:35:37 -05:00
leejet
4a8190405a
fix: fix the issue with dynamic linking
2024-02-25 21:39:01 +08:00
Sean Bailey
193fb620b1
feat: add capability to repeatedly run the upscaler in a row ( #174 )
...
* Add in upscale repeater logic
---------
Co-authored-by: leejet <leejet714@gmail.com >
2024-02-24 21:31:01 +08:00
leejet
b6368868d9
feat: introduce GGMLBlock and implement SVD(Broken) ( #159 )
...
* introduce GGMLBlock and implement SVD(Broken)
* add sdxl vae warning
2024-02-24 20:06:39 +08:00
bssrdf
8b89e0ea6b
added an option for normalizing input ID images; cleaned up debugging code
2024-02-23 10:42:45 -05:00
bssrdf
e32462d2f1
revert default style ratio back ro 20%
2024-02-22 21:54:40 -05:00
bssrdf
8053aefdf7
added an option to offload vae decoder to CPU for mem-limited gpus
2024-02-21 12:44:04 -05:00
bssrdf
78ec6f7e51
change default style ratio to 10%
2024-02-19 16:23:46 -05:00
bssrdf
a6a676b646
add style_ratio as a cli param; reworked encode with trigger for attention weights
2024-02-19 12:49:41 -05:00
bssrdf
702a732173
added preprocessing inpit id images
2024-02-05 15:16:40 -05:00
bssrdf
7da51ad146
added input id image loading
2024-02-05 11:59:35 -05:00
bssrdf
5dbbea0ca4
first efforts at implementing photomaker; lots more to do
2024-02-02 18:36:40 -05:00
leejet
349439f239
style: format code
2024-01-29 23:05:18 +08:00
Steward Garcia
36ec16ac99
feat: Control Net support + Textual Inversion (embeddings) ( #131 )
...
* add controlnet to pipeline
* add cli params
* control strength cli param
* cli param keep controlnet in cpu
* add Textual Inversion
* add canny preprocessor
* refactor: change ggml_type_sizef to ggml_row_size
* process hint once time
* ignore the embedding name case
---------
Co-authored-by: leejet <leejet714@gmail.com >
2024-01-29 22:38:51 +08:00
leejet
5c614e4bc2
feat: add convert api ( #142 )
2024-01-14 11:43:24 +08:00
Erik Scholz
f2e4d9793b
fix: avoid some memory leaks ( #136 )
...
---------
Co-authored-by: leejet <leejet714@gmail.com >
2024-01-01 23:27:29 +08:00
Erik Scholz
4a5e7b58e2
fix: never use a log message as a format string ( #135 )
2024-01-01 20:43:47 +08:00
leejet
2e79a82f85
refactor: reorganize code and use c api ( #133 )
2024-01-01 16:22:18 +08:00
Steward Garcia
004dfbef27
feat: implement ESRGAN upscaler + Metal Backend ( #104 )
...
* add esrgan upscaler
* add sd_tiling
* support metal backend
* add clip_skip
---------
Co-authored-by: leejet <leejet714@gmail.com >
2023-12-28 23:46:48 +08:00
Steward Garcia
134883aec4
feat: add TAESD implementation - faster autoencoder ( #88 )
...
* add taesd implementation
* taesd gpu offloading
* show seed when generating image with -s -1
* less restrictive with larger images
* cuda: im2col speedup x2
* cuda: group norm speedup x90
* quantized models now works in cuda :)
* fix cal mem size
---------
Co-authored-by: leejet <leejet714@gmail.com >
2023-12-05 22:40:03 +08:00
leejet
d7af2c2ba9
feat: load weights from safetensors and ckpt ( #101 )
2023-12-03 15:47:20 +08:00
Erik Scholz
f469b835a3
fix: reading memory of stack allocated object past its scope ( #91 )
2023-11-27 21:37:12 +08:00
Steward Garcia
8124588cf1
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 <leejet714@gmail.com >
2023-11-26 19:02:36 +08:00