lablab-ai/webgpu-stable-diffusion-walkthrough
This notebook is a walk-through on the entire pipeline, including how to import the stable diffusion models from Hugging Face and PyTorch, how to optimize and build the model locally, and how to deploy it to native GPU runtime and WebGPU runtime.
Jupyter Notebook