feat(florence2): add Florence-2 image-to-text support#1098
Draft
timenick wants to merge 5 commits into
Draft
Conversation
Add Florence-2 split encoder/decoder export support, CPU FP16 recipes, and composite image-to-text integration. Extend shared composite processing, inspection, evaluation, shape, and configuration paths with targeted coverage. CPU FP16 passes build, perf, and numeric validation; Flickr30K task evaluation remains HOST-BLOCKED by WinError 448 during local materialization.
…florence-2-support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds CPU FP16 image-to-text support for
microsoft/Florence-2-basein WinML CLI using split encoder/decoder exports and the<CAPTION>prompt. Claimed tier: Effort L2, Goal L3, Outcome L2. Goal L2 passed; Goal L3 is HOST-BLOCKED because pinned Flickr30K local materialization repeatedly raisedWinError 448.examples/recipes/microsoft_Florence-2-base/image-to-text_fp16_config_encoder.jsonexamples/recipes/microsoft_Florence-2-base/image-to-text_fp16_config_decoder.jsonmicrosoft/Florence-2-base | image-to-texttemppaths; cleaned after evidence capture.model_knowledge/florence2.json, findings-001through-009; excluded from this PR.<CAPTION>..999999999447/.0315857; decoder first.999999999999891/.0000191; cached.999999999999870/.00000954; assembled.999999999999870/.00001812.WinError 448.Validation notes: 297/297 changed unit-test items reached 100%; pytest session cleanup then hit host
WinError 448. Florence integration passed 4/4. Fulltests/was interrupted by an unrelated OpenVINO integration timeout. Changed-file Ruff andgit diff --checkpassed. Independent review found no remaining Critical/Important issues.