qmetrics.net

Diffusers

PyTorch diffusion models for image, video, and audio

Diffusers screenshot

Modular library of pretrained diffusion pipelines, schedulers, and models for inference and training. Load Hub checkpoints in a few lines of Python.

Overview

Diffusers is a Hugging Face library for working with pretrained diffusion models that generate images, video, audio, and related outputs in PyTorch. It targets both quick inference and custom training setups with an emphasis on modularity over heavy abstraction.

DiffusionPipeline wraps end-to-end generation tasks such as text-to-image, image-to-image, inpainting, upscaling, and video-oriented pipelines using checkpoints from the Hub. You can swap noise schedulers to trade speed and quality, and combine pretrained model blocks into your own systems.

Modular Diffusers adds composable pipeline components for builders who need more control than a single pipeline class. Documentation covers loading, optimization, training, and a CLI path to run packaged pipelines.

The project documents Apple Silicon guidance for running Stable Diffusion locally, and lists popular task-to-pipeline mappings tied to public Hub models.

Key features

  • Pretrained diffusion pipelines
  • Interchangeable noise schedulers
  • Hub checkpoint loading
  • Modular pipeline building blocks
  • Training and fine-tuning guides
  • Memory and speed optimizations
  • Text, image, and video tasks
  • Command-line pipeline runs

Use cases

  • Text-to-image generation
  • Image editing and inpainting
  • Custom diffusion system design
  • Fine-tuning diffusion adapters
  • Research and prototyping in PyTorch

Tags

Similar software

Whisper

General-purpose speech recognition and translation model

Whisper is a speech recognition model trained on diverse audio. It supports multilingual transcription, speech-to-English translation, and language identification via Python or the command line.

  • Multilingual speech recognition
  • Speech-to-English translation
  • Spoken language identification
PythonCLIDetails →
★ 114.1k⟳ 3 months agoMIT

VoxCPM

Tokenizer-free multilingual text-to-speech model

VoxCPM generates speech via an end-to-end diffusion autoregressive design without discrete speech tokens. VoxCPM2 adds voice design, controllable cloning, and 48 kHz output.

  • Tokenizer-free continuous speech generation
  • Thirty-language multilingual synthesis
  • Voice design from text descriptions
PythonmacOSDetails →
★ 43.6k⟳ 25 days agoApache-2.0
Open Source Alternative to:OpenAI Text-to-Speech API

ChatTTS by 2Noise

Dialogue-oriented text-to-speech generative model

ChatTTS is a text-to-speech model aimed at conversational scenarios such as LLM assistants. It supports English and Chinese synthesis with multi-speaker dialogue.

  • Conversational multi-speaker TTS
  • English and Chinese languages
  • Prosody and pause control
PythonLinuxDetails →
★ 40.1k⟳ 7 months agoAGPL-3.0

CLIP

Contrastive language–image model Python package

CLIP maps images and text into a shared embedding space for zero-shot label prediction and similarity scoring. Install as a PyTorch package and load pretrained checkpoints by name.

  • Pretrained multimodal encoders
  • Image and text encoders
  • Zero-shot image classification
Jupyter NotebookDetails →
★ 34.7k⟳ 8 months agoMIT

CosyVoice

Multilingual LLM-based text-to-speech and voice cloning

CosyVoice synthesizes speech from text across many languages and dialects, with zero-shot voice cloning and optional streaming output. It ships with training, inference, and deployment tooling for researchers and integrators.

  • Nine-language zero-shot TTS
  • Chinese dialect and accent coverage
  • Cross-lingual voice cloning
PythonDetails →
★ 24.6k⟳ 6 months agoApache-2.0

SAM 2

Promptable image and video segmentation model

SAM 2 segments objects in still images and video streams from clicks, boxes, or masks, with checkpoints and predictors for local GPU inference.

  • Click and box prompted masks
  • Video masklet propagation
  • Automatic image mask generation
Jupyter NotebookDetails →
★ 20.3k⟳ 1 year agoApache-2.0
Libraries & SDKsNo commits in 18+ months