{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "automatic1111-stable-diffusion-webui--speed-up-stable-diffusion-webui-with-xformers",
 "repo": "AUTOMATIC1111/stable-diffusion-webui",
 "repo_url": "https://github.com/AUTOMATIC1111/stable-diffusion-webui",
 "repo_slug": "automatic1111-stable-diffusion-webui",
 "title": "Speed up generation with xformers",
 "page_title": "How to speed up generation with xformers with Stable Diffusion WebUI",
 "summary": "Add the --xformers command line argument in webui-user.sh for a major speed increase on supported cards.",
 "who": "Users with NVIDIA cards who find generation slow.",
 "problem": "Default settings leave speed on the table on many GPUs.",
 "outcome": "Faster image generation on cards that support xformers.",
 "steps": [
  "Install with `git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui`",
  "Open `webui-user.sh` and add `--xformers` to the command line arguments",
  "Restart with `webui.sh`",
  "Time the same prompt before and after"
 ],
 "agent_prompt": "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>.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "xformers helps only on select cards; see the project wiki.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10 or 3.11 and git",
  "An NVIDIA, AMD or Apple Silicon GPU",
  "A Stable Diffusion model checkpoint"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/automatic1111-stable-diffusion-webui/speed-up-stable-diffusion-webui-with-xformers/",
 "md": "https://dedupedai.com/use-cases/automatic1111-stable-diffusion-webui/speed-up-stable-diffusion-webui-with-xformers/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/automatic1111-stable-diffusion-webui--speed-up-stable-diffusion-webui-with-xformers.json",
 "api_version": "v1"
}
