Skip to content

Repository files navigation

scripts

Sorry, I am not good at English.
There are scripts that I use when I create images by using sd or sdxl in diffusers or make models. Scripts that run to open gui and Scripts that you need to rewrite about the input path, the output path etc are mixed together.

It is a script that extracts a vae safetensors from a checkpoint safetensors. I'm successful in sdxl model.

I make My Own Modules from the workflow that I use whenever I make images. My workflow is based on Hires.fix. That works on Google Colab and Kaggle by torch.float16. And that doesn't work for Flux. flow image

When the message "ValueError: Checkpoint not supported because layer lora_unet_label_emb_0_0.alpha not supported." appears,try to run this program. I'm successful in lora of Illustrious model.

It is a script that burns a vae and loras in a checkpoint. This script is based on convert_diffusers_to_original_sdxl.py of huggingface/diffusers.

It is a script that merge SDXL checkpoints. This script supports block merge and DARE merge, tensor merge.

I make svd_merge_lora.py of kohya-ss/sd-scripts into a module. I make it to run by one file.

It is a script that write metadata to PNG file. That metadata is recognized in CivitAi.

It is a script that changes the accuracy of the safetensors file.

I make extract_lora_from_models.py of kohya-ss/sd-scripts into a module. But this script supports SDXL models only. I make it to run by one file.

Credits

About

scripts for using sd or sdxl in diffusers

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages