awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kohya-ss avatar

kohya-ss/sd-scripts

0
View on GitHub↗
7,133 estrellas·1,199 forks·Python·Apache-2.0·6 vistas

Sd Scripts

sd-scripts is a suite of utilities designed for fine-tuning generative models, preprocessing datasets, and converting model weights. It provides a collection of scripts for executing Stable Diffusion training through methods such as DreamBooth, textual inversion, and full fine-tuning, alongside a framework for creating and managing Low-Rank Adaptation weights.

The project features specialized capabilities for model weight conversion between different architectures and precision formats. It includes tools for merging adaptation weights into base models, extracting weights from trained models, and integrating multiple adaptation modules to blend styles or concepts.

The toolkit covers a broad range of generative AI operations, including image dataset preparation with automated tagging and aspect ratio bucketing, and various inference methods such as text-to-image, image-to-image, and inpainting. It also incorporates memory and performance optimizations, including VRAM management, latent caching, and just-in-time training acceleration.

The software provides integration for synchronizing training states and model checkpoints with the Hugging Face Hub.

Features

  • Generative Model Fine-Tuning - Adjusts weights of pre-trained generative models using custom datasets to learn specific subjects, styles, or concepts.
  • Custom Stable Diffusion Training - Ships a comprehensive collection of scripts for fine-tuning Stable Diffusion models using various methods and optimizations.
  • Diffusion Models - Enables generating images from text or image prompts using trained checkpoints, LoRA weights, and structural guidance.
  • Text-to-Image Generators - Provides a pipeline for generating high-resolution images from natural language text prompts.
  • Image Inpainting - Provides tools for generative filling of specific image regions using masks and text prompts.
  • Image-to-Image Translation - Enables the creation of new images using an existing image as a base with strength control.
  • Generative Image Dataset Preparation - Analyzes images to generate descriptive tags and manages resolution buckets and captions for supervised training.
  • Image Dataset Preprocessors - Provides utilities for tagging images, generating captions and managing aspect ratio bucketing for model training.
  • LoRA Training - Provides a framework for creating and merging low-rank adaptation weights to modify model behavior.
  • Model Loading - Loads pre-trained models from remote IDs or local files with precision and VAE options.
  • Layer-Wise Learning Rates - Allows freezing specific blocks and assigning individual learning rates to balance training stability.
  • Memory Optimization - Reduces VRAM requirements during training and inference through block swapping, mixed precision, and latent caching.
  • Layer-Specific Training - Allows selecting specific model blocks or layers for updates to focus training on particular network segments.
  • Model Exporting - Exports models and optimizer states with precision settings and automatic checkpoint rotation.
  • LoRA-Weighted Image Generations - Generates images using trained LoRA weights with adjustable guidance scales.
  • Weight Merging - Integrates trained weights directly into a base model to create a single standalone file.
  • Adapter Merging - Combines multiple Low-Rank Adaptation modules into a single model to blend concepts.
  • High Resolution Training - Supports training on datasets with multiple image resolutions and adaptive batch sizes for improved flexibility.
  • Model Fine-Tuning - A specialized tool for adjusting weights of pre-trained image models through DreamBooth, textual inversion and full fine-tuning.
  • Subject-Specific Fine-Tuning - Implements DreamBooth training to specialize generative models on unique subjects using small image sets.
  • Textual Inversion Embeddings - Provides tools for optimizing small embedding files to teach new concepts without altering the base model weights.
  • Aspect Ratio Bucketing - Optimizes training efficiency by grouping images by resolution and filtering out low-quality small files.
  • Model Weight Conversions - Transforms model weights between different architectures and precision formats for compatibility.
  • Training Throughput Optimizations - Utilizes specialized precision modes and deep learning primitives to maximize GPU throughput during model training.
  • Adapter Module Training - Provides capabilities for training LLLite adapter modules for lightweight conditional image control.
  • ControlNet Guidance - Provides capabilities to constrain image structure using hint images and pre-processors.
  • Dataset Subset Organization - Organizes images into hierarchical subsets to apply specific repeat counts or caption prefixes.
  • Automated Image Tagging - Implements automated image analysis to create descriptive labels in text files for training sets.
  • Latent Representation Caching - Speeds up training by storing pre-computed latent representations to disk or memory to avoid redundant calculations.
  • Dataset Configurations - Uses configuration files to define training data, high-resolution image settings, and aspect ratio bucketing.
  • JIT Kernel Fusion Accelerators - Reduces training step duration by applying just-in-time compilation and kernel fusion on a per-block basis.
  • Local Inference - Allows running model inference for image generation directly on local hardware using checkpoints.
  • Model Inference - Executes a denoising loop on Flux models to generate images from text prompts.
  • Weight Approximation Extraction - Implements the extraction of LoRA weights by calculating the difference between a trained model and its base.
  • Text Encoder Adaptation - Allows fine-tuning the text encoder alongside the diffusion model to improve adherence to complex prompts.
  • Model Weight Converters - Transforms diffusion model weights between different architectures and precision formats for compatibility.
  • LoRA Adapter Loaders - Supports applying and merging multiple LoRA weights to modify the style or content of generated images.
  • Model Merging - Provides tools to combine pre-trained weights into a base model to facilitate differential learning.
  • Training Caption Processing - Provides tools to add prefixes, suffixes, and shuffle tags to control how the model learns descriptions.
  • Image Augmentations - Performs random flips, color adjustments, and face cropping on image subsets to increase training variety.
  • In-Training Sample Generation - Generates preview images at specified intervals during training to visually monitor the quality of the model's convergence.
  • Training Stability Techniques - Implements noise offsets and input perturbations to ensure consistent convergence and stability during the fine-tuning process.
  • Inpainting Training - Provides scripts to train models specifically for filling or replacing regions of images using masks.
  • ControlNet Training - Includes specialized training scripts for Flux ControlNet with memory optimizations like CPU offloading.

Historial de estrellas

Gráfico del historial de estrellas de kohya-ss/sd-scriptsGráfico del historial de estrellas de kohya-ss/sd-scripts

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Sd Scripts

Proyectos open-source similares, clasificados según cuántas características comparten con Sd Scripts.
  • bmaltais/kohya_ssAvatar de bmaltais

    bmaltais/kohya_ss

    12,384Ver en GitHub↗

    kohya_ss is a graphical user interface and workbench for fine-tuning diffusion models, specifically designed for Stable Diffusion. It provides a suite of tools for training generative AI models, including specialized interfaces for creating Low-Rank Adaptation weights and training ControlNet spatial control networks. The project distinguishes itself through integrated VRAM usage optimization and hardware acceleration, featuring specific support for Intel GPUs via XPU-accelerated libraries. It implements parameter-efficient training methods and memory-saving techniques like gradient checkpoint

    Python
    Ver en GitHub↗12,384
  • huggingface/diffusersAvatar de huggingface

    huggingface/diffusers

    33,872Ver en GitHub↗

    Diffusers is a PyTorch-based library and generative AI framework used to build, train, and deploy diffusion pipelines for producing multi-modal media. It provides a suite of tools for generating images, video, and audio from natural language descriptions, as well as specialized systems for text-to-image generation. The project differentiates itself through a modular architecture that separates noise schedulers, pretrained model blocks, and pipeline compositions. This structure allows for the construction of custom generation workflows and the ability to swap individual components of the diffu

    Pythondeep-learningdiffusionflux
    Ver en GitHub↗33,872
  • nunchaku-ai/comfyui-nunchakuAvatar de nunchaku-ai

    nunchaku-ai/ComfyUI-nunchaku

    2,901Ver en GitHub↗

    ComfyUI-nunchaku is a 4-bit diffusion inference engine and a set of nodes for running low-precision quantized diffusion models within ComfyUI visual workflows. It provides a backend that reduces memory overhead and increases generation speed for transformer models. The project includes specialized tools for identity-preserving generation and an image-to-image guidance toolkit that uses depth maps and reference images. It also features a multimodal visual question answering implementation and a utility for merging multiple quantized model files into single unified files. The engine covers a b

    Pythoncomfyuidiffusionflux
    Ver en GitHub↗2,901
  • cloneofsimo/loraAvatar de cloneofsimo

    cloneofsimo/lora

    7,541Ver en GitHub↗

    This project is a toolkit for fine-tuning and managing text-to-image diffusion models. It focuses on low-rank adaptation to create small, portable weight files that customize model styles and behaviors without modifying the entire base model. The project provides specialized utilities for model distillation using singular value decomposition to extract adapters from fully trained models, as well as tools for blending and merging multiple adapters through weight interpolation. It includes capabilities for subject inversion and pivotal tuning to increase the visual fidelity of specific identiti

    Jupyter Notebook
    Ver en GitHub↗7,541
Ver las 30 alternativas a Sd Scripts→

Preguntas frecuentes

¿Qué hace kohya-ss/sd-scripts?

sd-scripts is a suite of utilities designed for fine-tuning generative models, preprocessing datasets, and converting model weights. It provides a collection of scripts for executing Stable Diffusion training through methods such as DreamBooth, textual inversion, and full fine-tuning, alongside a framework for creating and managing Low-Rank Adaptation weights.

¿Cuáles son las características principales de kohya-ss/sd-scripts?

Las características principales de kohya-ss/sd-scripts son: Generative Model Fine-Tuning, Custom Stable Diffusion Training, Diffusion Models, Text-to-Image Generators, Image Inpainting, Image-to-Image Translation, Generative Image Dataset Preparation, Image Dataset Preprocessors.

¿Qué alternativas de código abierto existen para kohya-ss/sd-scripts?

Las alternativas de código abierto para kohya-ss/sd-scripts incluyen: bmaltais/kohya_ss — kohya_ss is a graphical user interface and workbench for fine-tuning diffusion models, specifically designed for… huggingface/diffusers — Diffusers is a PyTorch-based library and generative AI framework used to build, train, and deploy diffusion pipelines… nunchaku-ai/comfyui-nunchaku — ComfyUI-nunchaku is a 4-bit diffusion inference engine and a set of nodes for running low-precision quantized… cloneofsimo/lora — This project is a toolkit for fine-tuning and managing text-to-image diffusion models. It focuses on low-rank… xavierxiao/dreambooth-stable-diffusion — This project is a Dreambooth implementation designed to personalize Stable Diffusion models. It serves as an AI image… open-mmlab/mmagic — mmagic is a multimodal training pipeline and framework for generative AI, focusing on visual synthesis and…