๐งจ Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e
๐ฐ Hugging Face Blog
Accelerate Stable Diffusion XL inference with JAX on Cloud TPU v5e for faster performance
Action Steps
- Understand the basics of Stable Diffusion XL and JAX
- Set up a Cloud TPU v5e instance
- Install and configure JAX for use with Cloud TPU v5e
- Optimize Stable Diffusion XL inference with JAX on Cloud TPU v5e
Who Needs to Know This
AI engineers and researchers can benefit from this article to improve the performance of their Stable Diffusion XL models, while developers and DevOps teams can learn about the integration of JAX and Cloud TPU v5e
Key Insight
๐ก Using JAX with Cloud TPU v5e can significantly accelerate Stable Diffusion XL inference
Share This
๐ Accelerate Stable Diffusion XL inference with JAX on Cloud TPU v5e! ๐ค
Key Takeaways
Accelerate Stable Diffusion XL inference with JAX on Cloud TPU v5e for faster performance
Full Article
Published Time: 2023-10-03T00:00:00.294Z
# ๐งจ Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e
[Hugging Face](https://huggingface.co/)
* [Models](https://huggingface.co/models)
* [Datasets](https://huggingface.co/datasets)
* [Spaces](https://huggingface.co/spaces)
* [Buckets new](https://huggingface.co/storage)
* [Docs](https://huggingface.co/docs)
* [Enterprise](https://huggingface.co/enterprise)
* [Pricing](https://huggingface.co/pricing)
*
*
* * *
* [Log In](https://huggingface.co/login)
* [Sign Up](https://huggingface.co/join)
[Back to Articles](https://huggingface.co/blog)
# [](https://huggingface.co/blog/sdxl_jax#accelerating-stable-diffusion-xl-inference-with-jax-on-cloud-tpu-v5e) Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e
Published October 3, 2023
[Update on GitHub](https://github.com/huggingface/blog/blob/main/sdxl_jax.md)
[- [x] Upvote 9](https://huggingface.co/login?next=%2Fblog%2Fsdxl_jax)
* [](https://huggingface.co/hsyntemiz "hsyntemiz")
* [](https://huggingface.co/Vinzou "Vinzou")
* [](https://huggingface.co/CrypterG "CrypterG")
* [](https://huggingface.co/Yanihartz "Yanihartz")
* [](https://huggingface.co/xi0v "xi0v")
* [](https://huggingface.co/Gared-Jih "Gared-Jih")
* +3
[](https://huggingface.co/pcuenq)
[Pedro Cuenca pcuenq Follow](https://huggingface.co/pcuenq)
[](https://huggingface.co/jffacevedo)
[Juan Acevedo jffacevedo Follow](https://huggingface.co/jffacevedo)
guest
[](https://huggingface.co/alexspiridonov)
[Alex Spiridonov alexspiridonov Follow](https://huggingface.co/alexspiridonov)
guest
[](https://huggingface.co/pmotter)
[Pate Motter pmotter Follow](https://huggingface.co/pmotter)
guest
[](https://huggingface.co/yyetim)
[Yavuz Yetim yyetim Follow](https://huggingface.co/yyetim)
guest
[](https://huggingface.co/svaibhav)
[Vaibhav Singh svaibhav Follow](https://huggingface.co/svaibhav)
guest
[](https://huggingface.co/vjsingh)
[Vijaya Singh vjsingh Follow](https://huggingface.co/vjsingh)
guest
[](https://huggingface.co/patrickvonplaten)
[Patrick von Platen patrickvonplaten Follow](https://huggingface.co/patrickvonplaten)
* [Why JAX + TPU v5e for SDXL?](https://huggingface.co/blog/sdxl_jax#why-jax--tp
# ๐งจ Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e
[Hugging Face](https://huggingface.co/)
* [Models](https://huggingface.co/models)
* [Datasets](https://huggingface.co/datasets)
* [Spaces](https://huggingface.co/spaces)
* [Buckets new](https://huggingface.co/storage)
* [Docs](https://huggingface.co/docs)
* [Enterprise](https://huggingface.co/enterprise)
* [Pricing](https://huggingface.co/pricing)
*
*
* * *
* [Log In](https://huggingface.co/login)
* [Sign Up](https://huggingface.co/join)
[Back to Articles](https://huggingface.co/blog)
# [](https://huggingface.co/blog/sdxl_jax#accelerating-stable-diffusion-xl-inference-with-jax-on-cloud-tpu-v5e) Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e
Published October 3, 2023
[Update on GitHub](https://github.com/huggingface/blog/blob/main/sdxl_jax.md)
[- [x] Upvote 9](https://huggingface.co/login?next=%2Fblog%2Fsdxl_jax)
* [](https://huggingface.co/hsyntemiz "hsyntemiz")
* [](https://huggingface.co/Vinzou "Vinzou")
* [](https://huggingface.co/CrypterG "CrypterG")
* [](https://huggingface.co/Yanihartz "Yanihartz")
* [](https://huggingface.co/xi0v "xi0v")
* [](https://huggingface.co/Gared-Jih "Gared-Jih")
* +3
[](https://huggingface.co/pcuenq)
[Pedro Cuenca pcuenq Follow](https://huggingface.co/pcuenq)
[](https://huggingface.co/jffacevedo)
[Juan Acevedo jffacevedo Follow](https://huggingface.co/jffacevedo)
guest
[](https://huggingface.co/alexspiridonov)
[Alex Spiridonov alexspiridonov Follow](https://huggingface.co/alexspiridonov)
guest
[](https://huggingface.co/pmotter)
[Pate Motter pmotter Follow](https://huggingface.co/pmotter)
guest
[](https://huggingface.co/yyetim)
[Yavuz Yetim yyetim Follow](https://huggingface.co/yyetim)
guest
[](https://huggingface.co/svaibhav)
[Vaibhav Singh svaibhav Follow](https://huggingface.co/svaibhav)
guest
[](https://huggingface.co/vjsingh)
[Vijaya Singh vjsingh Follow](https://huggingface.co/vjsingh)
guest
[](https://huggingface.co/patrickvonplaten)
[Patrick von Platen patrickvonplaten Follow](https://huggingface.co/patrickvonplaten)
* [Why JAX + TPU v5e for SDXL?](https://huggingface.co/blog/sdxl_jax#why-jax--tp
DeepCamp AI