- Jul 10, 2024
- Jul 05, 2024
-
-
Sig Ill authored
-
- Jun 12, 2024
-
-
Phu Tran authored
-
- Jun 10, 2024
- Jun 01, 2024
-
-
Eugene authored
-
leejet authored
-
Justine Tunney authored
This change makes checkpoints load significantly faster by optimizing pkzip's cyclic redundancy check. This code was developed by Intel and Google and Mozilla. See Chromium's zlib codebase for further details.
-
Phu Tran authored
-
- May 14, 2024
-
-
leejet authored
-
- Apr 29, 2024
-
-
Grauho authored
Added NVIDEA's new "Align Your Steps" style scheduler in accordance with their quick start guide. Currently has handling for SD1.5, SDXL, and SVD, using the noise levels from their paper to generate the sigma values. Can be selected using the --schedule ays command line switch. Updates the main.cpp help message and README to reflect this option, also they now inform the user of the --color switch as well. --------- Co-authored-by:
leejet <leejet714@gmail.com>
-
Eugene authored
-
Eugene authored
-
- Apr 14, 2024
- Apr 06, 2024
-
-
bssrdf authored
* apply pmid lora only once for multiple txt2img calls * add better support for SDXL LoRA * fix for some sdxl lora, like lcm-lora-xl --------- Co-authored-by:
bssrdf <bssrdf@gmail.com> Co-authored-by:
leejet <leejet714@gmail.com>
-
null-define authored
-
leejet authored
-
- Apr 02, 2024
-
-
Phu Tran authored
-
delldu authored
* Support png image and resize image with 64 pixels in img2img mode * update the error information --------- Co-authored-by:
leejet <leejet714@gmail.com>
-
bssrdf authored
Co-authored-by:
bssrdf <bssrdf@gmail.com>
-
- Mar 20, 2024
-
-
Grauho authored
* Fixed a double free issue when running multiple backends on the CPU, eg: CLIP and the primary backend, as this would result in the *_backend pointers both pointing to the same thing resulting in a segfault when calling the StableDiffusionGGML destructor. * Improve logging to allow for a color switch on the command line interface. Changed the base log_printf function to not bake the log level directly into the log buffer as that information is already passed the logging function via the level parameter and it's easier to add in there than strip it out. * Added a fix for certain SDXL LoRAs that don't seem to follow the expected naming convention, converts over the tensor name during the LoRA model loading. Added some logging of useful LoRA loading information. Had to increase the base size of the GGML graph as the existing size results in an insufficient graph memory error when using SDXL LoRAs. * small fixes --------- Co-authored-by:
leejet <leejet714@gmail.com>
-
- Mar 12, 2024
-
-
bssrdf authored
* first efforts at implementing photomaker; lots more to do * added PhotoMakerIDEncoder model in SD * fixed soem bugs; now photomaker model weights can be loaded into their tensor buffers * added input id image loading * added preprocessing inpit id images * finished get_num_tensors * fixed a bug in remove_duplicates * add a get_learned_condition_with_trigger function to do photomaker stuff * add a convert_token_to_id function for photomaker to extract trigger word's token id * making progress; need to implement tokenizer decoder * making more progress; finishing vision model forward * debugging vision_model outputs * corrected clip vision model output * continue making progress in id fusion process * finished stacked id embedding; to be tested * remove garbage file * debuging graph compute * more progress; now alloc buffer failed * fixed wtype issue; input images can only be 1 because issue with transformer when batch size > 1 (to be investigated) * added delayed subject conditioning; now photomaker runs and generates images * fixed stat_merge_step * added photomaker lora model (to be tested) * reworked pmid lora * finished applying pmid lora; to be tested * finalized pmid lora * add a few print tensor; tweak in sample again * small tweak; still not getting ID faces * fixed a bug in FuseBlock forward; also remove diag_mask op in for vision transformer; getting better results * disable pmid lora apply for now; 1 input image seems working; > 1 not working * turn pmid lora apply back on * fixed a decode bug * fixed a bug in ggml's conv_2d, and now > 1 input images working * add style_ratio as a cli param; reworked encode with trigger for attention weights * merge commit fixing lora free param buffer error * change default style ratio to 10% * added an option to offload vae decoder to CPU for mem-limited gpus * removing image normalization step seems making ID fidelity much higher * revert default style ratio back ro 20% * added an option for normalizing input ID images; cleaned up debugging code * more clean up * fixed bugs; now failed with cuda error; likely out-of-mem on GPU * free pmid model params when required * photomaker working properly now after merging and adapting to GGMLBlock API * remove tensor renaming; fixing names in the photomaker model file * updated README.md to include instructions and notes for running PhotoMaker * a bit clean up * remove -DGGML_CUDA_FORCE_MMQ; more clean up and README update * add input image requirement in README * bring back freeing pmid lora params buffer; simply pooled output of CLIPvision * remove MultiheadAttention2; customized MultiheadAttention * added a WIN32 get_files_from_dir; turn off Photomakder if receiving no input images * update docs * fix ci error * make stable-diffusion.h a pure c header file This reverts commit 27887b630db6a92f269f0aef8de9bc9832ab50a9. * fix ci error * format code * reuse get_learned_condition * reuse pad_tokens * reuse CLIPVisionModel * reuse LoraModel * add --clip-on-cpu * fix lora name conversion for SDXL --------- Co-authored-by:
bssrdf <bssrdf@gmail.com> Co-authored-by:
leejet <leejet714@gmail.com>
-
- Mar 10, 2024
-
-
leejet authored
-
- Mar 03, 2024
-
-
Cyberhan123 authored
-
Phu Tran authored
-
- Mar 02, 2024
- Feb 26, 2024
-
-
Cyberhan123 authored
--------- Co-authored-by:
leejet <leejet714@gmail.com>
-
- Feb 25, 2024
- Feb 24, 2024
-
-
Sean Bailey authored
* Add in upscale repeater logic --------- Co-authored-by:
leejet <leejet714@gmail.com>
-
leejet authored
* introduce GGMLBlock and implement SVD(Broken) * add sdxl vae warning
-