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
dbe74df6a5
removing image normalization step seems making ID fidelity much higher
2024-02-22 21:52:01 -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
aa21577363
merge commit fixing lora free param buffer error
2024-02-19 13:33:52 -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
d38b85d87e
fixed a bug in ggml's conv_2d, and now > 1 input images working
2024-02-18 22:18:53 -05:00
bssrdf
6064b0e28b
fixed a decode bug
2024-02-16 14:17:00 -05:00
bssrdf
62b0a9b9f8
turn pmid lora apply back on
2024-02-16 11:50:46 -05:00
bssrdf
26f591db6d
disable pmid lora apply for now; 1 input image seems working; > 1 not working
2024-02-15 21:56:14 -05:00
bssrdf
191c5ec05a
fixed a bug in FuseBlock forward; also remove diag_mask op in for vision transformer; getting better results
2024-02-15 18:57:19 -05:00
bssrdf
26c5cca043
small tweak; still not getting ID faces
2024-02-14 21:22:40 -05:00
bssrdf
539a94adc7
add a few print tensor; tweak in sample again
2024-02-13 21:44:17 -05:00
bssrdf
c122507fa1
finalized pmid lora
2024-02-13 15:15:52 -05:00
bssrdf
44052e1478
finished applying pmid lora; to be tested
2024-02-12 21:48:57 -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
857af489a9
fixed stat_merge_step
2024-02-11 22:32:35 -05:00
bssrdf
f4bf8e0ccf
added delayed subject conditioning; now photomaker runs and generates images
2024-02-11 16:31:05 -05:00
bssrdf
5a13b48b6e
fixed wtype issue; input images can only be 1 because issue with transformer when batch size > 1 (to be investigated)
2024-02-11 12:54:18 -05:00
bssrdf
807c340118
more progress; now alloc buffer failed
2024-02-10 22:53:54 -05:00
bssrdf
d93951456d
debuging graph compute
2024-02-09 22:21:04 -05:00
bssrdf
a584147911
remove garbage file
2024-02-09 18:36:05 -05:00
bssrdf
024c187e9a
finished stacked id embedding; to be tested
2024-02-09 18:32:39 -05:00
bssrdf
184e4b84a2
continue making progress in id fusion process
2024-02-09 16:55:29 -05:00
bssrdf
304704fa36
corrected clip vision model output
2024-02-08 22:16:01 -05:00
bssrdf
0a38d84dcc
debugging vision_model outputs
2024-02-08 17:27:26 -05:00
bssrdf
7f5f580532
making more progress; finishing vision model forward
2024-02-07 17:25:06 -05:00
bssrdf
87fcee0851
making progress; need to implement tokenizer decoder
2024-02-06 22:17:40 -05:00
bssrdf
ad7ec45ec1
add a convert_token_to_id function for photomaker to extract trigger word's token id
2024-02-06 16:17:07 -05:00
bssrdf
df7f64243b
add a get_learned_condition_with_trigger function to do photomaker stuff
2024-02-06 16:30:09 -05:00
bssrdf
f16b4dafd0
fixed a bug in remove_duplicates
2024-02-06 12:00:27 -05:00
bssrdf
7a7baef095
finished get_num_tensors
2024-02-05 16:38:21 -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
78651f2535
fixed soem bugs; now photomaker model weights can be loaded into their tensor buffers
2024-02-04 17:56:18 -05:00
bssrdf
cbfa702fad
added PhotoMakerIDEncoder model in SD
2024-02-04 16:03:00 -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
master-349439f
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 >
master-36ec16a
2024-01-29 22:38:51 +08:00
旺旺碎冰冰
c6071fa82f
feat: add hipBlas support ( #94 )
master-c6071fa
2024-01-14 11:53:42 +08:00
leejet
5c614e4bc2
feat: add convert api ( #142 )
master-5c614e4
2024-01-14 11:43:24 +08:00
leejet
2b6ec97fe2
sync: update ggml ( #134 )
master-2b6ec97
2024-01-05 23:18:41 +08:00
leejet
db382348cc
fix: change GGML_MAX_NAME to 128
2024-01-03 22:42:42 +08:00
leejet
7cb41b190f
fix: avoid encountering 'std::set undefined' in some environments
master-7cb41b1
2024-01-02 22:37:01 +08:00
leejet
7fb8a51318
chore: make SD_BUILD_DLL visible only to SD_LIB
master-7fb8a51
2024-01-02 22:31:40 +08:00
leejet
2c5f3fc53a
chore: add support for building shared library
master-2c5f3fc
2024-01-02 21:05:44 +08:00
Erik Scholz
f2e4d9793b
fix: avoid some memory leaks ( #136 )
...
---------
Co-authored-by: leejet <leejet714@gmail.com >
master-f2e4d97
2024-01-01 23:27:29 +08:00
Erik Scholz
4a5e7b58e2
fix: never use a log message as a format string ( #135 )
master-4a5e7b5
2024-01-01 20:43:47 +08:00