Repository navigation
Complete VLM processor TODOs - #301
Conversation
|
Is this ready for review? Still in draft. |
0c92cf0 to
1ad570a
Compare
|
Ready for review now. I refreshed the branch onto current
Validation passed locally:
I also marked the PR ready for review. |
davidkoski
left a comment
There was a problem hiding this comment.
Looks good. See what you think of the comments -- the unknown one might be worth fixing or we can do a follow up PR. Thank you!
|
I rechecked the failed macOS job on the latest head ( The workflow shows the build, documentation verification, and Xcode tests all completed successfully. The job was then marked failed with:
|
301233a to
3e2cbd5
Compare
|
Working on this, see #690. |
…tage-seam test(nemotron): check the Nemotron-H stage seam against the complete model
Summary
Complete the FastVLM and SmolVLM2 processor TODOs so their processor configuration paths are implemented instead of placeholder behavior.
Changes
tokenizer_model_max_length, tokenizer padding side, and explicit missing-image-token validation.UserInput.Video.framesprocessing somaxFramesis honored consistently with asset-backed videos.Validation
pre-commit run --all-filesswift build --target MLXVLMswift test --filter VLMProcessorTestsswift test --filter SmolVLM2TilingTestsswift test --filter UserInputTestsxcodebuild build-for-testing -scheme mlx-swift-lm-Package -destination 'platform=macOS'xcrun xctest ~/Library/Developer/Xcode/DerivedData/mlx-swift-lm-vlm-processors-*/Build/Products/Debug/MLXLMTests.xctest