Skip to content

intel/stablediffusion-pipelines-cpp

C++ Stable Diffusion Pipelines using OpenVINO™

A set of Stable Diffusion pipelines (and related utilities) ported entirely to C++ (from python), with easy-to-use API’s and a focus on minimal third-party dependencies. The core stable-diffusion libraries built by this project only have dependencies on OpenVINO™.

Build Instructions 🔨

Contribution 🤝

Your contributions are welcome and valued, no matter how big or small. Feel free to submit a pull-request!

Credits & Acknowledgements 🙏

  • This project was inspired in many ways by Georgi Gerganov's low-dependency style CPP projects such as llama.cpp and whisper.cpp
  • Hugging Face diffusers project (https://github.com/huggingface/diffusers): The core stable-diffusion pipeline, the tokenizers, the schedulers, etc. that were ported to C++ came from the python code found in HF diffusers project.
  • The audio generation pipelines, and other pipelines that implement prompt / latent space interpolation were ported from the open source Riffusion project: https://github.com/riffusion/riffusion.git
  • The audio utilities (spec-to-wav, wav-to-spec) were ported to C++ by referencing the equivelant python routines found within the PyTorch audio project (https://github.com/pytorch/audio)

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages