Who it is forUsers with NVIDIA cards who find generation slow.
The problemDefault settings leave speed on the table on many GPUs.
The outcomeFaster image generation on cards that support xformers.
What you need first
- Python 3.10 or 3.11 and git
- An NVIDIA, AMD or Apple Silicon GPU
- A Stable Diffusion model checkpoint
Steps
- Install with
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui - Open
webui-user.shand add--xformersto the command line arguments - Restart with
webui.sh - Time the same prompt before and after
Prompt for your agent
In my AUTOMATIC1111/stable-diffusion-webui install, add `--xformers` to the command line arguments in webui-user.sh, restart with webui.sh, and compare generation time on <my prompt>.
Caveat. xformers helps only on select cards; see the project wiki.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AUTOMATIC1111/stable-diffusion-webui and "Speed up generation with xformers"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer