mlsanityData to 7 Oct 2026

Open-Source Acceleration of Stable-Diffusion.cpp Deployable on All Devices

arXiv 2412.05781 ↗First posted 8 Dec 2024cs.CV cs.AI cs.LGcited by 1

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Stable diffusion plays a crucial role in generating high-quality images. However, image generation is time-consuming and memory-intensive. To address this, stable-diffusion.cpp (Sdcpp) emerges as an efficient inference framework to accelerate the diffusion models. Although it is lightweight, the current implementation of ggml_conv_2d operator in Sdcpp is suboptimal, exhibiting both high inference latency and massive memory usage. To address this, in this work, we present an optimized version of Sdcpp leveraging the Winograd algorithm to accelerate 2D convolution operations, which is the primary bottleneck in the pipeline. By analyzing both dependent and independent computation graphs, we exploit the device's locality and parallelism to achieve substantial performance improvements. Our framework delivers correct end-to-end results across various stable diffusion models, including SDv1.4, v1.5, v2.1, SDXL, and SDXL-Turbo. Our evaluation results demonstrate a speedup up to 2.76x for individual convolutional layers and an inference speedup up to 4.79x for the overall image generation process, compared with the original Sdcpp on M1 pro. Homepage: https://github.com/SealAILab/stable-diffusion-cpp

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 3 of its 9 references that are in the map. First posted on arXiv 8 Dec 2024.

Builds on

3 of 9 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec

Other references · 2

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2015Fast Algorithms for Convolutional Neural Networkscited by 102

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024A-SDM: Accelerating Stable Diffusion through Model Assembly and Feature Inheritance Strategies
  2. 2025CHORDS: Diffusion Sampling Accelerator with Multi-core Hierarchical ODE Solvers
  3. 2024Flash Diffusion: Accelerating Any Conditional Diffusion Model for Few Steps Image Generation
  4. 2024SDXS: Real-Time One-Step Latent Diffusion Models with Image Conditions
  5. 2024Accelerating Diffusion Models with Parallel Sampling: Inference at Sub-Linear Time Complexity
  6. 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas
  7. 2025DiffPro: Joint Timestep and Layer-Wise Precision Optimization for Efficient Diffusion Inference
  8. 2024Partially Conditioned Patch Parallelism for Accelerated Diffusion Model Inference