How to Fix "Exception importing xformers" Error?

This page summarizes the projects mentioned and recommended in the original post on /r/StableDiffusion

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • xformers

    Hackable and optimized Transformers building blocks, supporting a composable construction.

  • I found a suggestion to add this to the args (https://github.com/facebookresearch/xformers/issues/664):

  • stable-diffusion-webui

    Stable Diffusion web UI

  • I ended up asking about the problem here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/9015 What has finally worked is changing the line in my BAT file to set COMMANDLINE_ARGS= --opt-sdp-attention --medvram

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts