-
diffusers/controlnet-canny-sdxl-1.0
Text-to-Image • Updated • 31.1k • 485 -
diffusers/controlnet-depth-sdxl-1.0
Text-to-Image • Updated • 33.1k • 171 -
diffusers/controlnet-zoe-depth-sdxl-1.0
Text-to-Image • Updated • 3.2k • 32 -
diffusers/controlnet-canny-sdxl-1.0-small
Text-to-Image • Updated • 607 • 16
🧨Diffusers
non-profit
AI & ML interests
Solving everything with diffusion models!
Organization Card
Diffusers is a library of state-of-the-art pretrained diffusion models for all of your generative AI needs and use cases.
The library provides three main classes.
- The Pipeline class provides an easy and unified way to perform inference with many models.
import torch
from diffusers import FluxPipeline
pipeline = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16)
pipeline.enable_model_cpu_offload()
prompt = "A cat holding a sign that says hello world"
image = pipeline(prompt, guidance_scale=0.0, output_type="pil", num_inference_steps=4, max_sequence_length=256, generator=torch.Generator("cpu").manual_seed(33)).images[0]
image.save("flux-schnell.png")
- Diffusers also provides models and schedulers that you can mix and match to build or train your own diffusion systems.
In addition to these classes, Diffusers is invested in lowering the barrier for everyone. The library is optimized to run on memory-constrained hardware, accelerate inference on PyTorch, hardware (GPU/CPU/TPUs), and model accelerators.
Visit the documentation if you're interested in learning more. We're excited to see what you create with Diffusers! 🤗
Collections
6
models
48
diffusers/t5-nf4
Updated
•
9.4k
•
1
diffusers/CogVideoX-5b-nf4
Updated
•
11
diffusers/controlnet-zoe-depth-sdxl-1.0
Text-to-Image
•
Updated
•
3.2k
•
32
diffusers/controlnet-depth-sdxl-1.0
Text-to-Image
•
Updated
•
33.1k
•
171
diffusers/open-sora-pipe-test
Updated
•
4
diffusers/stable-cascade-configs
Updated
diffusers/StableCascade
Updated
diffusers/tools
Updated
•
21
•
10
diffusers/i2vgen-xl-diffusers
Updated
•
9
•
5
diffusers/consistency-decoder-test
Updated
•
8
datasets
21
diffusers/diffusers-images-docs
Viewer
•
Updated
•
8
•
21.7k
diffusers/benchmarks
Viewer
•
Updated
•
32
•
107
•
13
diffusers/community-pipelines-mirror
Updated
•
86.6k
•
3
diffusers/test-slices
Updated
•
34
diffusers/tuxemon
Viewer
•
Updated
•
251
•
171
•
17
diffusers/docs-images
Viewer
•
Updated
•
12
•
45.2k
diffusers/pokemon-gpt4-captions
Viewer
•
Updated
•
833
•
3.46k
•
30
diffusers/notebooks
Updated
•
42
diffusers/pokemon-llava-captions
Viewer
•
Updated
•
833
•
86
•
3
diffusers/instructpix2pix-clip-filtered-upscaled
Viewer
•
Updated
•
13.3k
•
567
•
1