Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
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 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
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