Repository navigation
feat(nemotron_parse): input processor and VLM factory wiring - #123
Merged
Merged
Conversation
- SharpAINemotronParseProcessor: aspect-fit resize (cv2 INTER_LINEAR semantics, half-up rounding), white padding, NCHW pixels, default task prompt. - Registered in SharpAIVLMModelOverlays (vlmWiredKeys, processor map). - Airgap case writes the synthetic checkpoint in the raw conv layout so the sanitizer is the only thing that converts it. - Regenerated ConformanceExpectations. Numerics are unverified against a real checkpoint (none downloaded). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Keep both sides: nemotron_parse and qianfan_ocr processors, airgap cases, and the wired-key list. Regenerate ConformanceExpectations with scripts/conformance/gen_expectations.py. vlmWiredKeys count is now 17. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
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.
What
Adds the nemotron_parse input processor and wires the model into the VLM factory (
vlmWiredKeys, processor map).rawLayoutPermutations), so the sanitizer is the only thing that converts it.Tests run (named files, local)
Nemotron Configuration/Registration/Sanitize/Processor suites, SharpAIVLMAirgapLoadTests, SharpAIVLMOverlaysTests, ConformanceRegistryTests, config-processor tests: EXIT=0.
Not verified
No real checkpoint was downloaded. Numerics against the reference processor and model are unverified; this is "wired", not "verified against the reference".
Expect a small merge conflict with #122 on the VLM wiring test and aggregate lines.
🤖 Generated with Claude Code