You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: catch TemplateSyntaxError when parsing metadata chat templates
Some models (e.g., LLaVA 1.5) contain non-standard Jinja2 tags (like {% generation %}) in their metadata.
This commit adds a try-except block to prevent initialization crashes, allowing the model to load even if the metadata template is invalid.
0 commit comments