Stable Diffusion on TPU via JAX/Flax with HuggingFace Diffusers 0.5.1
AI Impact Summary
Hugging Face Diffusers now supports Flax for Stable Diffusion, enabling JAX/Flax-based inference on TPU backends. The example demonstrates using the FlaxStableDiffusionPipeline with the CompVis/stable-diffusion-v1-4 weights (bf16) across multiple TPU devices to deliver parallel image generation. Integration requires token login to Hugging Face Hub and license acceptance under CreativeML OpenRAIL-M, with optimal results on TPU runtimes configured in Colab/Kaggle/GCP environments.
Affected Systems
- Date
- Date not specified
- Change type
- capability
- Severity
- info