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
feat(models): port Moondream2 (SigLIP vision + Phi text + crop tiling) #522
Add Moondream2 support. mlxcel has Moondream3 (a custom fused-QKV + sparse-MoE arch), but not Moondream2, which is architecturally distinct: a SigLIP vision tower + a Phi-style dense text model + an image-crop tiling preprocessor. A Moondream2 checkpoint currently errors "Unsupported model type" (src/models/detection.rs has only a moondream3 arm).
The Moondream3 crop preprocessor (src/vision/processors/moondream3.rs, global + overlapping local crops) is close in spirit; Moondream2's tiling is simpler and needs its own glue.
Scope
Add ModelType::Moondream2VLM + detection.rs arm for the moondream2 model_type.
Wire SigLIP encoder + Phi text backbone + a Moondream2 crop preprocessor + connector.
Activity
fix(models/moondream2): resolve EOS/prompt so real checkpoint generat…
fix(models/moondream2): resolve EOS/prompt so real checkpoint generat…