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
leejet
2e79a82f85
refactor: reorganize code and use c api ( #133 )
master-2e79a82
2024-01-01 16:22:18 +08:00
leejet
b139434b57
docs: update README.md
2023-12-31 11:48:41 +08:00
leejet
14da17a923
fix: initialize some pointers to NULL
master-14da17a
2023-12-30 14:24:45 +08:00
leejet
78ad76f3f4
feat: add SDXL support ( #117 )
...
* add SDXL support
* fix the issue with generating large images
master-78ad76f
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 >
master-004dfbe
2023-12-28 23:46:48 +08:00
旺旺碎冰冰
0e64238e4c
feat: implement the complete bpe function ( #119 )
...
* implement the complete bpe function
---------
Co-authored-by: leejet <leejet714@gmail.com >
master-0e64238
2023-12-23 12:11:07 +08:00
leejet
8f6b4a39d6
fix: enhance the tokenizer's handing of Unicode ( #120 )
master-8f6b4a3
2023-12-21 00:22:03 +08:00
Kreijstal
9842a3f819
fix: add support for int32_t on other compilers ( #114 )
master-9842a3f
2023-12-11 23:32:39 +08:00
leejet
ac8f5a044c
feat: add SD-Turbo support
master-ac8f5a0
2023-12-10 13:15:09 +08:00
Sam Jones
ca33304318
fix: remove dangling pointer to work_output in CLIPTextModel ( #111 )
master-ca33304
2023-12-10 10:05:02 +08:00
leejet
69efe3ce2b
chore: make code cleaner
master-69efe3c
2023-12-09 17:35:10 +08:00
leejet
2eac844bbd
fix: generate image correctly in img2img mode
master-2eac844
2023-12-09 14:39:43 +08:00
leejet
968226abb2
docs: update v2-1_768-nonema-pruned.safetensors url
2023-12-05 22:52:19 +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 >
master-134883a
2023-12-05 22:40:03 +08:00
leejet
f99bcd1f76
fix: detect model format base on file content
master-f99bcd1
2023-12-03 20:30:31 +08:00
leejet
8a87b273ad
fix: allow model and vae using different format
master-8a87b27
2023-12-03 17:12:04 +08:00
leejet
d7af2c2ba9
feat: load weights from safetensors and ckpt ( #101 )
master-d7af2c2
2023-12-03 15:47:20 +08:00
旺旺碎冰冰
47dd704198
fix: avoid build fail on msvc ( #93 )
master-47dd704
2023-11-28 20:49:11 +08:00
Erik Scholz
f469b835a3
fix: reading memory of stack allocated object past its scope ( #91 )
master-f469b83
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 >
master-8124588
2023-11-26 19:02:36 +08:00
Erik Scholz
c874063408
fix: support bf16 lora weights ( #82 )
2023-11-20 22:34:17 +08:00
Urs Ganse
ae1d5dcebb
feat: allow LoRAs with negative multiplier ( #83 )
...
* Allow Loras with negative weight, too.
There are a couple of loras, which serve to adjust certain concepts in
both positive and negative directions (like exposure, detail level etc).
The current code rejects them if loaded with a negative weight, but I
suggest that this check can simply be dropped.
* ignore lora in the case of multiplier == 0.f
---------
Co-authored-by: Urs Ganse <urs@nerd2nerd.org >
Co-authored-by: leejet <leejet714@gmail.com >
master-ae1d5dc
2023-11-20 22:23:52 +08:00
leejet
51b53d4cb1
chore: typo remote => remove
master-51b53d4
2023-11-19 23:21:49 +08:00