# Auto 1111 SDK vs Huggingface Diffusers

The only other type of SDK that exists to run diffusion models is Huggingface Diffusers(<https://huggingface.co/docs/diffusers/index>). However, there are significant limitations it has that Automatic 1111 solves:

1. Diffusers takes up considerably more RAM than Auto 1111 SDK.
2. Diffusers doesn't have all the samplers in Automatic 1111.&#x20;
3. Diffusers has small limitations like a 77 prompt length token limit.
4. Diffusers will Cuda out of memory/perform very slowly for huge generations, like 2048x2048 images, while Auto 1111 SDK won't.&#x20;
5. Running Text-to-Image, Image-to-Image, Inpainting, Outpainting, and Stable Diffusion upscale can all be performed with the same pipeline object in Auto 1111 SDK, whereas with Diffusers, you must create a pipeline object instance for each action, severely increasing the memory/RAM used.&#x20;
6. Diffusers doesn't have upscaler pipelines to load any Esrgan upscaler weights, nor does it have a dedicated RealEsrgan pipeline
7. Diffusers doesn't have support for Outpainting, directly downloading models from Civit AI, Prompt Attention, Composable Diffusion.
8. Diffusers accepts different parameters than the original Automatic 1111 Web UI, rendering it impossible to replicate images generated on Civit AI/Automatic 1111 Web UI on Diffusers.&#x20;
9. Extension: Many of Automatic 1111's most powerful features exist as extensions, and Diffusers doesn't support any of these. With Auto 1111 SDK, we will be adding support for these soon, and our goal is to eventually have an 'extensions' hub where developers can publicize any extension they develop. Some examples of extensions are Controlnet Tile Diffusion, Clip Interrogator, and Composable Lora's. You can view a comprehensive list of Automatic 1111 extensions here: <https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flush-ai.gitbook.io/automatic-1111-sdk/auto-1111-sdk-vs-huggingface-diffusers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
