bssrdf
53beb92d2f
merged with master and resolved conflicts; adapted to GGMLBlock API
2024-02-25 14:35:37 -05: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
dbe74df6a5
removing image normalization step seems making ID fidelity much higher
2024-02-22 21:52:01 -05:00
bssrdf
539a94adc7
add a few print tensor; tweak in sample again
2024-02-13 21:44:17 -05:00
bssrdf
753231a7b4
reworked pmid lora
2024-02-12 18:34:13 -05:00
bssrdf
b0579ec460
added photomaker lora model (to be tested)
2024-02-12 16:31:02 -05:00
bssrdf
807c340118
more progress; now alloc buffer failed
2024-02-10 22:53:54 -05:00
bssrdf
f16b4dafd0
fixed a bug in remove_duplicates
2024-02-06 12:00:27 -05:00
bssrdf
78651f2535
fixed soem bugs; now photomaker model weights can be loaded into their tensor buffers
2024-02-04 17:56:18 -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
leejet
2b6ec97fe2
sync: update ggml ( #134 )
2024-01-05 23:18:41 +08:00
leejet
2e79a82f85
refactor: reorganize code and use c api ( #133 )
2024-01-01 16:22:18 +08:00
leejet
78ad76f3f4
feat: add SDXL support ( #117 )
...
* add SDXL support
* fix the issue with generating large images
2023-12-29 00:16:10 +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
leejet
8f6b4a39d6
fix: enhance the tokenizer's handing of Unicode ( #120 )
2023-12-21 00:22:03 +08:00
leejet
ac8f5a044c
feat: add SD-Turbo support
2023-12-10 13:15:09 +08:00
leejet
69efe3ce2b
chore: make code cleaner
2023-12-09 17:35:10 +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
f99bcd1f76
fix: detect model format base on file content
2023-12-03 20:30:31 +08:00
leejet
8a87b273ad
fix: allow model and vae using different format
2023-12-03 17:12:04 +08:00
leejet
d7af2c2ba9
feat: load weights from safetensors and ckpt ( #101 )
2023-12-03 15:47:20 +08:00