invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.77k stars 2.44k forks source link

fix(ui): FLUX IP adapter clip vision model error #7292

Closed psychedelicious closed 2 weeks ago

psychedelicious commented 2 weeks ago

Summary

When creating a reference image (global or regional) we were not setting the CLIP vision model correctly. As a result, FLUX IP Adapters, which require the ViT-L model, were causing errors.

This situation is now handled.

Also, when graph building fails, we now display an error toast. Previously, there was no feedback at all, so it felt like the invoke button just did nothing.

Related Issues / Discussions

offline discussion

QA Instructions

This won't fix existing misconfigured IP Adapters, but it does prevent new ones from ending up with the wrong CLIP vision model selection.

Merge Plan

n/a

Checklist