Repository navigation
feat(extraction): add double and triple pass for Parse 3.5 - #2865
Merged
KyleZheng1284 merged 1 commit intoNov 21, 2026
Merged
Conversation
KyleZheng1284
marked this pull request as draft
November 17, 2026 18:35
Contributor
[Medium impact] The PR appears safe to merge; no new actionable issue was established. SummaryAdds double- and triple-pass Parse 3.5 extraction while keeping single pass as the default.
The four earlier threads are addressed: local model names pass the mode check, actors preserve an unset prompt when rebuilt, documentation rejects explicit multi-pass prompts, and the new public functions document their arguments, returns, and errors. No new actionable issue was established.
|
KyleZheng1284
marked this pull request as ready for review
November 18, 2026 19:26
ChrisJar
approved these changes
Nov 20, 2026
ChrisJar
left a comment
Collaborator
There was a problem hiding this comment.
lgtm, thanks for working on this!
Signed-off-by: Kyle Zheng <126034466+KyleZheng1284@users.noreply.github.com>
KyleZheng1284
force-pushed
the
codex/parse35-multipass-pr
branch
from
November 21, 2026 02:44
24a3288 to
a1cace7
Compare
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
Adds double- and triple-pass extraction for Nemotron 3.5 Parse. Single pass remains the default.
Both modes use Hugging Face’s pinned
DocumentParserfor cropping and merging. NRL now uses the blocks it returns directly, removing duplicate postprocessing while preserving the existing table formatting and Markdown export.Local inference uses the batched vLLM engine from #2862 with optional DFlash2. Remote inference uses NRL’s existing
/v1/chat/completionsclient. The model and helper loader come from #2835.DC10K benchmark
10,000 PDFs · 213,538 pages · 1,347 queries · 2× H200 NVL
Extraction includes PDF rendering and Parse. Runs used one Parse actor per GPU, PDFium with a 200-DPI ceiling and a 1024 px fit, and DFlash2 draft length 16. Single used a 32-page batch. Double and triple used one page per batch to isolate failures and an opt-in override of 64 active calls per actor. The default remains 16. All pages were accounted for in each mode.
Retrieval was measured separately using page-level dense top-10 search with
nvidia/Nemotron-3.5-Embed-1B-BF16, without a reranker.Reproduction settings
72ad4d71dd827135ee581502363e14748008900a31c680be8801b56d4376550c678301bbb2d18f31node_overrides={"NemotronParseActor": {"max_concurrency": 64}}Validation
git diff --checkpassed.