Practical overview
When it fits
Use it when building or learning a local Diffusers workflow that needs community LoRA weights, checkpoint conversion, or examples pointing toward ControlNet and T2I-Adapter.
Who it is for
- Researchers learning to apply community LoRA models in Diffusers.
- Developers adapting Stable Diffusion checkpoints or LoRA weights for Diffusers workflows.
- Practitioners exploring ControlNet or T2I-Adapter alongside Diffusers.
Documented uses
- Convert a full .ckpt or .safetensors checkpoint into Diffusers format.
- Merge LoRA-only safetensors weights into base-model weights for Diffusers use.
- Follow a documented example for training a text-to-image LoRA with Diffusers' separate training script.
Requirements & limits
The repository is public on GitHub and identifies its license as MIT.
- The tutorial focuses on local Python and command-line workflows rather than a hosted API or turnkey application.
- Its LoRA-only method merges weights into a base model; the README recommends using the LoRA's suggested base model where available.
- The README says some models may require code modification.
- LoRA training is illustrated using Diffusers' separate training example rather than a repository-specific training command.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Convert a full checkpoint for Diffusers
Prepare a downloaded .safetensors or .ckpt full model in Diffusers format and load it as a Stable Diffusion pipeline.
Before you start
- A downloaded full-model .safetensors or .ckpt checkpoint.
- A local Diffusers checkout and Python environment with the required dependencies.
Steps
Clone the Hugging Face Diffusers repository.
Run its convert_original_stable_diffusion_to_diffusers.py script with the checkpoint path and a destination directory; include --from_safetensors for a .safetensors file.
Load the resulting directory with StableDiffusionPipeline.from_pretrained.
Expected outcome
A full checkpoint converted to a directory that the README shows loading as a Diffusers Stable Diffusion pipeline.
Guide limitations
- This recipe covers full checkpoints, not a LoRA-only weights file.
- The README provides example commands but does not establish model-specific compatibility.
Merge LoRA safetensors weights into Diffusers weights
Apply a LoRA-only safetensors file by merging its weights into a Diffusers-supported base-model weight set.
Before you start
- A LoRA-only .safetensors file.
- A base model, preferably the model suggested for the LoRA.
- The repository's Python conversion script and its required environment.
Steps
Obtain the LoRA weights and the chosen base model.
Use the repository's convert_lora_safetensor_to_diffusers.py script to merge the LoRA weights into the base-model weights.
If needed, set a merge ratio; the README gives 0.75 as the default.
Expected outcome
LoRA weights merged into base-model weights in a form intended for Diffusers use.
Guide limitations
- The README describes this method as inelegant and says some models may require code modification.
- The suggested base model is recommended for better results; Stable Diffusion 1.5 is also mentioned as a possible base.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 22 October 2026
- Original website title
- haofanwang/Lora-for-Diffusers · Official homepage title · retained in its source language

