julienkay / com.doji.diffusers

A Unity package to run pretrained diffusion models like Stable Diffusion with Unity Sentis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doji logo

Diffusers

A Unity package to run pretrained diffusion models with Unity Sentis

OpenUPM · Documentation (coming soon) · Feedback/Questions

About

This is essentially a port of Hugging Face’s diffusers library.

It is still very early though, so as of today only a limited number of pipelines and schedulers are supported (see below).

Roadmap

Some things that might be worked on next are:

  • add/fix classifier-free guidance
  • support more models
    • SD 1.5
    • SD 2.1
    • SDXL
    • SD-Turbo
    • SDXL-Turbo
    • LoRA models
  • more scheduler implementations
    • PNDM
    • DDIM
    • EulerDiscrete
    • EulerAncestralDiscrete
    • LCM
    • DDPM
    • KDPM2Discrete
    • KDPM2AncestralDiscrete
  • more pipeline/model types
    • txt2img
    • img2img,
    • inpaint,
    • upscale,
    • depth2img
    • marigold
  • async pipeline methods (sliced inference)
  • support multiple images per prompt
  • write some documentation

Dependencies

About

A Unity package to run pretrained diffusion models like Stable Diffusion with Unity Sentis

License:MIT License


Languages

Language:C# 99.8%Language:Python 0.2%