DiffSynth-Studio is an open-source Diffusion model engine developed and maintained by the ModelScope community team. The project hopes to promote technological innovation through framework development, unite the strength of the open-source community, and explore the rich capabilities of generative model technology.
Purpose
As a Diffusion model engine, DiffSynth-Studio is mainly used to integrate, infer, and train various open-source Diffusion models, covering directions such as image generation, video generation, audio generation, and image quality assessment. It is intended both for users who want to directly run model inference and for developers who need to train base models, LoRA, or Adapter models.
Main Capabilities
The framework integrates mainstream open-source Diffusion models, covering image generation, video generation, audio generation, and image quality metric models.
In terms of VRAM management, the framework can dynamically schedule model parameters between disk, memory, and VRAM, enabling large model inference even on low-VRAM consumer-grade GPUs.
In terms of parameter quantization, it supports converting model parameters to quantization precisions such as NF4 and INT8, significantly reducing the VRAM requirements for model inference and LoRA training.
In terms of training capabilities, almost all models that support inference also support training, including base models, LoRA, and any Adapter model with additional inputs. Split training uses a computational graph inference engine to track every variable in the Pipeline, splitting the training process into two stages to achieve efficient training.
The project also provides DiffSynth-ComfyUI, a ComfyUI node package built on DiffSynth-Studio, which can be used to build workflows in ComfyUI to run model inference; and DiffSynth-WebUI, a lightweight LoRA training tool built on DiffSynth-Studio, which can perform LoRA training on models on consumer-grade GPUs.
In addition, the project has open-sourced EntroPack, a general-purpose tensor compression library for PyTorch, providing lossless compression with exact recovery as well as rate-controllable lossy compression, supporting GPU encoding and decoding, and integrated into DiffSynth-Studio as a quantization backend. It has also open-sourced DiffSynth-Music, a controllable music generation model based on ACE-Step, supporting Beats, Vocals, Accompany, Prosody, and Reference five control modes. Image-to-LoRA V2 compresses the hours-long training process of image style LoRA into a single model inference step.
Usage
This project provides developer documentation, including a Chinese version and an English version. It also provides Agent Skills for AI, namely DiffSynth-Studio Model Integration Skills, used to automate the entire workflow of integrating external diffusion models into DiffSynth-Studio. Users can build workflows in ComfyUI through DiffSynth-ComfyUI to run model inference, or perform LoRA training through DiffSynth-WebUI. For Chinese users, the ModelScope AIGC Zone provides productized features with DiffSynth-Studio as the core inference and training engine; global users can use ModelScope Civision.
Applicable Scenarios
It is suitable for users who need to run large model inference on consumer-grade GPUs, developers who need to train base models, LoRA, or Adapter models, and scenarios where users want to build workflows in ComfyUI or perform lightweight LoRA training. It is also suitable for research and application directions such as image generation, video generation, audio generation, and image quality assessment.
Limitations
DiffSynth-Studio has undergone a major version update, and some old features are no longer maintained. If you need to use old features, you must switch to the last historical version before the major version update. Currently, the project has a limited number of developers, and most work is handled by Artiprocher and mi804, so the progress of new feature development is relatively slow, and the speed of responding to and resolving issues is also limited.