diff --git a/ui/media/js/main.js b/ui/media/js/main.js index 5ebf76b5..e36865d6 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -2186,7 +2186,17 @@ function updateEmbeddingsList(filter="") { } } - embeddingsList.innerHTML = html(modelsOptions.embeddings, "", filter) + // Remove after fixing https://github.com/huggingface/diffusers/issues/3922 + let warning = "" + if (vramUsageLevelField.value == "low") { + warning = ` +
+ Warning: Your GPU memory profile is set to "Low". Embeddings currently only work in "Balanced" mode! +
` + } + // END of remove block + + embeddingsList.innerHTML = warning + html(modelsOptions.embeddings, "", filter) embeddingsList.querySelectorAll("button").forEach( (b) => { b.addEventListener("click", onButtonClick)}) }