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
{{ message }}
Repository navigation
Decompose OlmoCoreVLMProvider into collaborators #393
cc @jason718 — follow-up from the multimodal eval stack (#278), requested on #324.
OlmoCoreVLMProvider (inference/providers/olmo_core_vlm/provider.py, ~870 lines) does request encoding, image-token splicing, left-padded batch assembly with generation budgets, cached and uncached decode loops, logprob scoring, and lifecycle management. #316 split the module by responsibility (checkpoint / conversion / preprocessing / cache / provider) but deliberately kept the class whole, because decomposing it changes the _PreparedBatch padding/RoPE/mask contract and deserves its own PR with its own verification.
Tyler's review item #3b on #278. Note allenai/Olmo-core#867, which proposes upstreaming the decode loop as a multimodal generate: if that lands, this class shrinks to a thin adapter and most of the decomposition becomes moot — worth checking that first.
Activity
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert
Address review: per-instance multi-image metrics, ValueError over assert