NotImplementedError #65697
Replies: 3 comments
-
It seems like you're trying to run the Stable Diffusion model (or related process) on your CPU, but the library or model you're using expects certain operations to be run on a GPU (specifically with CUDA support). Here are the main points extracted from your error:
Here's how you can address the issue:
As a general suggestion, since you mentioned you're new to this:
Good luck, and remember that error messages can be a great resource in debugging, as they often contain clues about what's going wrong! |
Beta Was this translation helpful? Give feedback.
-
Hi there, While we encourage non-AI answers to questions in community, we also love experimenting and using new technologies. We ask if you do use ChatGPT or similar programs, please disclose what software and model version number you used to generate the response you used in your reply in order to promote transparency in the community. ChatGPT answers in a tone that sounds like a tech support professional and while we support trying out this software, it is important to verify that they are solutions before posting otherwise it may mislead users into thinking that they are receiving official responses when they are not. Per ChatGPT's website, the program does have limitations like:
|
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
hello!!, i need help!!! if any of you knows how to fix this, i would be very thankfull !!! (i´m an amateur, i would appreciate if you were really precise )
i´m new to all of this, and i was trying to install stable diffusion. i thought i succeeded but each time i try to generate an image the following appears:
NotImplementedError: No operator found for
memory_efficient_attention_forward
with inputs: query : shape=(1, 4096, 1, 512) (torch.float32) key : shape=(1, 4096, 1, 512) (torch.float32) value : shape=(1, 4096, 1, 512) (torch.float32) attn_bias : <class 'NoneType'> p : 0.0cutlassF
is not supported because: device=cpu (supported: {'cuda'})flshattF
is not supported because: device=cpu (supported: {'cuda'}) dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) max(query.shape[-1] != value.shape[-1]) > 128tritonflashattF
is not supported because: device=cpu (supported: {'cuda'}) dtype=torch.float32 (supported: {torch.bfloat16, torch.float16}) max(query.shape[-1] != value.shape[-1]) > 128 Operator wasn't built - seepython -m xformers.info
for more info triton is not availablesmallkF
is not supported because: max(query.shape[-1] != value.shape[-1]) > 32 unsupported embed per head: 512Beta Was this translation helpful? Give feedback.
All reactions