Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Repository files navigation

SDXL Model Converter Colab Edition

Gradio, Python and Colab tools to convert SDXL to diffusers. Use at own risk: Not just because AUP, but because i haven't had a chance to clean the Gemini over-kill of the "IPYWIDGETS" thing - and I am exhausted.

Open In Colab

⚠️IMPORTANT: Google Colab AUP Warning & Xformers Disclaimer⚠️


⚠️ WARNING: This Google Colab notebook includes tools from the kohya-ss/sd-scripts repository, which is primarily designed for training Stable Diffusion models. Using this code may cause your Google Colab account to be flagged for violating the Google Colab Acceptable Use Policy (AUP), even if you are not actively training a model.

⚠️ IMPORTANT AUP RISK: Using this notebook carries a significant risk of AUP violations which may lead to the suspension of your Google Colab account and it is provided AS-IS While it's not explicitly stated within the AUP, nor terms of service, slowdowns and over use on the free plans could lead to account strikes or removal. Please be aware that Ktiseos Nyx, Duskfallcrew, and even Google are not at fault for what pranks you try and pull with the AUP.

⚠️ XFORMERS WARNING: The xformers library may not be compatible with all hardware configurations or versions of PyTorch, and it may lead to errors. The use of xformers and the reliability of this code is entirely at your own risk.

⚠️GRADIO AND PYTHON⚠️ I am not a natural programmer. I have yet to test all of the extra files included except for the one that came from Linaqruf's original repository. If there is an issue feel free to open an issue case and i'll try and solve it. Gradio MAY or may not work, i dont know how that works yet give me time.

Be patient. Be kind. Rewind.

I'm working on a re-do of the gradio!


Links

Link Name Description Link
Huggingface Backup backup checkpoints!
Discord E&D Discord Invite
Huggingface E&D Huggingface Earth & Dusk
Ko-Fi Kofi Support ko-fi
Github Ktiseos Nyx Ktiseos Nyx

Important Note:

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.

Setup Instructions:

  1. Google Colab Environment: This notebook is designed to run on Google Colab with a GPU runtime enabled.
  2. Root Directory: The root_dir variable specifies where files will be stored. The default is /content. You can specify a different location by changing the value in the corresponding text field.
  3. Repository URL: If you want to use a specific version of the kohya-ss/sd-scripts repository, then you can specify the URL using the text field for "Repo URL".
  4. Branch Name: If you want to use a specific branch of the kohya-ss/sd-scripts repository, then you can specify the branch name using the text field for "Branch".
  5. Xformers URL: You are using the official xformers library, however, if you have a custom built xformers wheel file, then you can specify the URL using the "Xformers URL" field. (Not Recommended).
  6. Run Setup: After providing the values, click the "Setup Environment" button to install all required dependencies and clone the necessary files, and prepare the environment variables.
  7. Follow the Steps: You are now able to continue with the following steps.

Credits:

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

About

At your own risk, SDXL safetensors to Diffusers.

Topics

Resources

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages