DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to speed up generation with xformers with Stable Diffusion WebUI

Add the --xformers command line argument in webui-user.sh for a major speed increase on supported cards.

Short answer: Install with git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui; then open webui-user.sh and add --xformers to the command line arguments; Restart with webui.sh. All steps.

  • Content
  • Beginner
  • 15 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

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

  1. Install with git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
  2. Open webui-user.sh and add --xformers to the command line arguments
  3. Restart with webui.sh
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer