feat(extraction): support Nemotron Parse 2.0 - #2466
Draft
ChrisJar wants to merge 1 commit into
Draft
Conversation
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.
Summary
nvidia/NVIDIA-Nemotron-Parse-2.0the Retriever-managed local default while preserving theNemotronParseV12compatibility aliasnemotron_parse_modelselection and document managed local, hosted Build, self-hosted NIM, and self-hosted vLLM contractsRoot cause
Latest main always instantiated the v1.2 local wrapper and ignored
nemotron_parse_model. Loading the compact Parse 2.0 Hugging Face checkpoint with stock vLLM also leftlm_headindependent from the tied decoder embeddings, producing empty generations. The official Parse 2.0 NIM uses the tagged chat contract and its 9,000-token context includes the control prompt, so Retriever must retain an 8,192 output-token request rather than requesting the entire context for output.Validation
3126 passed, 118 skipped, 12 deselectedacrossnemo_retriever/testsE4,E7,E9,F) pass on all changed Python filesnvcr.io/nim/nvidia/nemotron-parse-v2.0:2.0.8-variantthrough Retriever HTTP integration: same 20 jp20 pages and routed counts, 0 errorsgit diff --checkpassesStrict MkDocs rendering was not run because MkDocs is not installed in the available environments.