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: Never throw an exception when finding the clip variant type #7263

Closed brandonrising closed 2 weeks ago

brandonrising commented 2 weeks ago

Summary

This can fail if the folder isn't formatted how we expect it to be. This should never cause a model to fail so I wrapped it in a try catch.

QA Instructions

Attempt to install any flux main model bundle in starter models and confirm InvokeAI/clip-vit-large-patch14-text-encoder::bfloat16 installs correctly

Merge Plan

Can be merged when tested/approved