Aatrick / LightDiffusion

Stable Diffusion with only one python script, with the least number of lines and in the least complex way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LightDiffusion

The purpose of this repository and project is to remake the famous stable-diffusion in only one python script, with the least number of lines and in the least complex way. It's made by retro-engineering Stable-Diffusion, ComfyUI and SDWebUI.

Features

  • Original Txt2Img, Img2Img (R-ERSGAN4x+ UltimateSDUpscaling DPM++ 2M)
  • One click install and run (once you've added your .safetensors model)
  • Attention syntax
  • Hires-Fix (euler ancestral normal)
  • GPU only
  • Xformers and Pytorch optimization
  • FP16 and FP32 precision support
  • Saved state in between starts
  • GUI
  • DPM Adaptive Karras
  • Clip Skip
  • LoRa and textual inversion (embeddings) support

Screenshot 2024-04-26 190424

About

Stable Diffusion with only one python script, with the least number of lines and in the least complex way.


Languages

Language:Python 100.0%