/sd15-to-diffusers

Scripts from SD and otherwise that are in python that can do local or server based conversions. This is NOT our code, this is just for easier use.

Primary LanguageJupyter NotebookCreative Commons Zero v1.0 UniversalCC0-1.0

SD 1.5 Model Converter

SD 1.5 Model Converter

A Colab Notebook To Convert SD 1.5 Checkpoint to Diffusers format This was patched heavily and recoded from the SDXL branch of Linaqruf's now archived colab. We're porting our patches to our github with gracious credit to the original coders.

Instructions

Before diving in, ensure you create a Hugging Face token with write permissions. Follow this link for instructions on token creation.

You need to create a huggingface token, go to this link, then create new token or copy available token with the Write role.

Step Instructions
♻ - Install/Clone etc
♻ - Download model
♻ - Put your model details in.
♻ - DUMP PATH = folder name
♻ - If your downloaded model is safetensors please tick the box.
♻ - Check file browser, if the model/yourmodelhere looks like a diffusers format you're good to go!
♻ - Write Token + Set up your Repo!
♻ - Upload Diffusers!
Link Name Description Link
Huggingface Backup backup checkpoints!
SD 1.5 Conversion to Diffusers Convert SD 1.5 to Diffusers
SDXL Conversion to Diffusers Convert SDXL to Diffusers
Discord E&D Discord Invite
CivitAi Duskfallcrew @ Civitai Duskfallcrew
Huggingface E&D Huggingface Earth & Dusk
Ko-Fi Kofi Support ko-fi
Github Duskfallcrew Github Duskfallcrew
Youtube: Duskfall Music Duskfall Music & More
Spotify: E&D Royalty Free PLAYLIST
DA Group AI Group DeviantArt Group
Reddit Earth & Dusk Subreddit

Collaboration

I am NOT A programmer by nature, I patch with what little knowledge I have. I Failed programming several times over the years, so if something needs cleaning up and you want to patch it - pull request it!

About

We are a system of over 300 alters, proudly navigating life with Dissociative Identity Disorder, ADHD, Autism, and CPTSD. We believe in the potential of AI to break down barriers and enhance aspects of mental health, even as it presents challenges. Our creative journey is an ongoing exploration of identity and expression, and we invite you to join us in this adventure.

Future ideas:

  • Looking to port PT to safetensors into the same notebook.

  • Looking to figure out how to manage to get the conversions to roll on google drive for more space options.

  • Porting it to VastAi/Runpod

Cancelled Ideas that don't make sense for this product

  • Looking to port inference for testing into the same notebook. - Not sure why you'd need this unless you're training, I think this was in the SDXL one from Linaqruf, but this isn't required on this one.
  • Looking to figure out how to convert a different vae. - I could NOT get this to work no matter what I did. I have some THEORIES, but i'm not a programmer.

Credits:

Patched Origin Description Link
Patched from ARCHIVED SDXL - Linaqruf
Linaqruf @ Github: https://github.com/Linaqruf
Linaqruf Ko-Fi ko-fi
Linaqruf Saweria Saweria