Skip to content

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.

License

Notifications You must be signed in to change notification settings

duskfallcrew/sd15-to-diffusers

SD 1.5 Model Converter

Open In Colab

A Colab Notebook To Convert SD 1.5 Checkpoint to Diffusers format

But a horribly duct taped edition. THIS IS IN ALPHA STAGES, WILL BE PATCHING THE CODE AS I GO ALONG.

Check it out on Civitai here

Updates:

Patched the conversion, added snarky comments to the outputs. Our personal one has funny notes, feel free to patch and change at will.

Added a fix keys for models that won't convert, and also added a patch for cleaning folders.

Future ideas:

  • Looking to port PT to safetensors into the same notebook.
  • Looking to port inference for testing into the same notebook.
  • Looking to figure out how to convert a different vae.
  • 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

If you're interested in tipping please hit me up: https://ko-fi.com/duskfallcrew

Also feel free to add your own code and rejig the notebook and upload your own version to your own repository, this is not going to be the first, it isn't the first - it's just since Camenduru's broke, we didn't have many options. Yes, there's GUI for people to use NMKD i think uses a gui, but if you're on a Mac like me or don't have a decent GPU, this is a great option.


RIGHT NOW THE INSTRUCTIONS ARE AS FOLLOWS:

♻ - Install/Clone etc

♻ - Download model - Direct port from Linaqruf.

♻ - 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!


Patched from : https://colab.research.google.com/github/Linaqruf/sdxl-model-converter/blob/main/sdxl_model_converter.ipynb

Linaqruf @ Github: https://github.com/Linaqruf

ko-fi Saweria

Please use their main scripts for SDXL HERE:

Notebook Name Description Link
Kohya LoRA Trainer XL LoRA Training
Kohya Trainer XL Native Training

SD 1.5 Scripts:

Notebook Name Description Link V14
Kohya LoRA Dreambooth LoRA Training (Dreambooth method)
Kohya LoRA Fine-Tuning LoRA Training (Fine-tune method)
Kohya Trainer Native Training
Kohya Dreambooth Dreambooth Training

Ahoy! you're looking for our Huggingface backup that is again patched from Linaqruf and others?

Notebook Name Description Link
Huggingface Backup backup checkpoints!

Duskfall/ Earth & Dusk Socials

Discord

Social Network Link
Discord Invite
CivitAi Duskfallcrew
Huggingface Earth & Dusk
Ko-Fi Dusk's Kofi

About

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.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published