kohya-ss/sd-scripts

sd-scripts is a collection of training, generation, and utility scripts for Stable Diffusion and other image generation models.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 49 minutes ago
Added to GitGenius on September 9th, 2026
Created on December 18th, 2022
Open Issues & Pull Requests: 909 (+0)
GitHub issues: Enabled
Number of forks: 1,216
Total Stargazers: 7,230 (+0)
Total Subscribers: 56 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.1 hours
Mean response time: 23.8 days
90th percentile: 23.9 days
Tracked items: 442

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 9% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 330
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 605 days
Stale 30+ days: 328
Stale 90+ days: 320

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (12)
  • bug (8)
  • documentation (1)
  • help wanted (1)
  • question (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

sd-scripts is a collection of training, generation, and utility scripts for Stable Diffusion and other image generation models.

The project addresses the need for flexible, customizable training workflows for diffusion-based image generation. It provides scripts that enable users to fine-tune models, train specialized components like LoRA adapters and control networks, and generate images. The approach centers on offering multiple training strategies and model architectures, with support for various optimization techniques and hardware configurations.

Developers should adopt this tool if they need to train or fine-tune Stable Diffusion models with fine-grained control over the training process. It suits projects requiring custom model adaptation, whether for specific artistic styles, concepts, or specialized use cases like inpainting. The project supports multiple platforms through Windows, Linux, and WSL2 installation paths, with optional performance enhancements available through xformers and experimental DeepSpeed support for Linux environments.

The project maintains active development with regular feature additions and improvements. Recent work has focused on performance optimization, including torch.compile support for training acceleration and memory-efficient VAE variants. The codebase incorporates community feedback through issue tracking and pull requests, with documentation provided in both English and Japanese to support a broad user base. Development includes detailed logging and visualization features to help users understand training behavior, alongside support for emerging model architectures and training techniques.