Add MinerU-Diffusion benchmark harness - #5143
Open
HuXinjing wants to merge 1 commit into
Open
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
HuXinjing
force-pushed
the
opensource/mineru-dllm-harness-pr
branch
from
June 18, 2026 02:59
b88a65d to
abed82d
Compare
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
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
Experiment report
Full reproducibility package: https://github.com/HuXinjing/mineru-dllm-vllm-experiment-report
Full environment metadata: https://github.com/HuXinjing/mineru-dllm-vllm-experiment-report/blob/main/data/rerun/curated_20260618_pr_repos/environment_20260618.json
The report packages the cleaned PR inputs, rerun artifacts, code snapshots, patches, PDF-page manifest, scripts, GPU/device metadata, Python package versions, and vLLM runtime settings used to reproduce the MinerU-Diffusion vLLM integration measurements.
Cleaned PR inputs used for the rerun:
7f6e10e357a46f05572184b53745bf457ccf09e9b88a65d893b6da86f29fadcec88960e2b0956cdaHardware and runtime:
CUDA_VISIBLE_DEVICES=0on an NVIDIA GeForce RTX 4090 24GB; host also had a second RTX 4090. Driver580.126.09, nvidia-smi CUDA13.0, PyTorch2.11.0+cu128, torch CUDA runtime12.8, vLLM V2 model runner, TRITON attention, CUDA graph capture enabled. Dataset: 23-page PDF coverage suite packaged in the report repository.Layout-only rerun
Layout sampling improved DLLM layout total latency by
1.1038x; mean layout F1 between default and MinerU-style sampling was0.9586. Against the Pro reference, DLLM MinerU-style layout sampling was still slower, with Pro/DLLM layout speed ratio0.5500xand mean layout F10.8702.Two-step rerun
The two-step run uses layout first, then content extraction with
content_concurrency=4anddynamic_threshold=0.90.Rerun DLLM vs original Pro baseline: total speed ratio Pro/DLLM was
0.9295x, mean markdown similarity was0.8774, and mean layout F1 was0.8583. In this harness, DLLM two-step did not outperform the MinerU2.5-Pro baseline.Throughput supplement
Interpretation: the cleaned PR repositories reproduce the earlier conclusion. Text/table markdown remains close to the MinerU2.5-Pro reference, while layout agreement is lower and the measured bottleneck remains the denoising canvas loop and layout stage behavior rather than PDF image rendering or result file I/O.
Test Plan
python -m pytest -o addopts= tests/benchmarks -q