diff --git a/ui/media/js/main.js b/ui/media/js/main.js index 20359640..494e6d4b 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -904,6 +904,22 @@ function onTaskCompleted(task, reqBody, instance, outputContainer, stepUpdate) { Windows or Linux.
3. Try restarting your computer.
` + } else if (msg.includes("RuntimeError: output with shape [320, 320] doesn't match the broadcast shape")) { + msg += `

+ Reason: You tried to use a LORA that was trained for a different Stable Diffusion model version! +

+ Suggestions: +
+ Try to use a different model or a different LORA.` + } else if (msg.includes("Tensor on device cuda:0 is not on the expected device meta")) { + msg += `

+ Reason: Due to some software issues, embeddings currently don't work with the "Low" memory profile. +

+ Suggestions: +
+ 1. Set the memory profile to "Balanced"
+ 2. Remove the embeddings from the prompt and the negative prompt
+ 3. Check whether the plugins you're using change the memory profile automatically.` } } else { msg = `Unexpected Read Error:
StepUpdate: ${JSON.stringify(stepUpdate, undefined, 4)}
`