Skip to content

Accept 2–4 states in the sequential VLM engine for hybrid decoders (#276) - #340

Open
stikves wants to merge 1 commit into
apple:mainfrom
stikves:sukru/fix-issue-276
Open

stikves wants to merge 1 commit into
apple:mainfrom
stikves:sukru/fix-issue-276

Conversation

@stikves

@stikves stikves commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Fixes #276.

The sequential VLM engine rejected any LLM decoder whose state count wasn't exactly two, blocking hybrid (conv/recurrent) four-state decoders — even though the shared state-handler machinery (StateHandlerFactory → additionalStates) already binds the extra states. Relax the guard to accept 2–4 states, matching CoreAISequentialEngine.

…#276)

The LLM decoder guard rejected any function with a state count other than
exactly two, blocking hybrid (conv/recurrent) 4-state decoders even though
the shared state-handler machinery already supports them. Relax it to accept
2–4 states, matching CoreAISequentialEngine.

(cherry picked from commit 17febaa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Swift runtime] Sequential VLM engine rejects any decoder with more than two states

1 participant