Repository navigation
Prepare 0.9.2: Wave 4 speed-ups, uv tool setup, demo UX, version bump, and dependency updates - #285
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #285 +/- ##
==========================================
- Coverage 91.17% 91.14% -0.04%
==========================================
Files 344 344
Lines 73240 73647 +407
Branches 13581 13667 +86
==========================================
+ Hits 66777 67125 +348
- Misses 4005 4041 +36
- Partials 2458 2481 +23 🚀 New features to boost your workflow:
|
…ions - Fold #290 (Waves 1-3 output-preserving speed-ups) into the [0.9.2] - 2026-11-24 release notes and update CITATION.cff date-released to match. - Add transitive CVE floors in pyproject.toml for dnspython>=2.9.2 (CVE-2026-128089 / GHSA-vvf4-9x63-8xvv) and virtualenv>=21.14.13 (CVE-2026-115586 / GHSA-cx6f-vjhg-g3cc). - Refresh uv.lock across 78 non-major packages to releases at least a week old (as of 2026-11-17), holding pinned/major packages (torch 2.13.0, torchvision 0.28.0, triton 3.7.1, transformers 5.17.0, onnxruntime-gpu 1.26.0, ruff 0.15.22, mlx-audio/mlx-vlm 0.x, and major bumps for huggingface-hub, google-genai, openai, python-dateutil, cachetools, multidict, pymdown-extensions, watchdog, websockets). - Renew PYSEC-2026-3447 and GHSA-xmj3-9gf7-h52w in ci/vulnerability-exceptions.toml through 2026-12-08 (vllm 0.34.0 still pins setuptools<81.0.0). - Fold Dependabot updates from #278 (Dockerfile.serve nvidia/cuda 13.5.0) and #279 (SonarSource/sonarqube-scan-action v8.5.0 and docker/login-action digest).
thesanogoeffect
marked this pull request as ready for review
November 24, 2026 14:03
… CUDA, NuExtract prefix, and opt-in lxml parser - 4A: LayoutOptions.text_layer_dpi (default 100, LAYOUT_TEXT_LAYER_DPI) in text-layer mode when figure exports and consensus OCR are off, plus direct RGB PDFium rendering (rev_byteorder=True). - 4B: ORT CPU memory arena enabled with per-run shrinkage by default (ML_ONNX_CPU_ARENA=true, ML_ONNX_CPU_ARENA_SHRINK=true) and StatementTagger routed through create_session() with CUDA EP, ML_STATEMENT_TAGGER_DEVICE, GPU OOM splitting, and CPU fallback; update docs/guides/model-runtime.md. - 4C: Tag NuExtract references_parse start_index trailer as nuextract_role='document' for prefix caching. - 4D: Opt-in PipelineOptions.html_parser='lxml' (PIPELINE_HTML_PARSER) with direct lxml.html table walker (no_network=True).
…imary CLI path - Detect PyPI uv tool environments via uv-receipt.toml in bibr setup, installing extras with `uv tool install --python <ver> 'bibr[...]'` while preserving previously installed extras and version specifiers (falling back to `uv pip install --python` for local/git or `--with` receipts). - Print a concise PATH hint at the end of `bibr setup` only when `bibr` is not on PATH (`uv tool update-shell` in a uv tool env, or `uv run` / `uv tool install --python 3.12 bibr` in a project env). - Update README, docs/index.md, Installation, Quickstart, and Troubleshooting to lead with `uv tool install --python 3.12 bibr` for CLI users while keeping `uv add bibr` / pip for Python projects. - Fold Wave 4 and uv tool updates into the 0.9.2 section of CHANGELOG.md.
…d notice
- Add an in-page Extraction mode radio toggle (Fast vs. Full) in bibr demo:
- Interactive when an LLM is configured (unless started with --fast),
atomically replacing the pipeline via _switch_demo_mode and closing the
old one while keeping status, settings, and first-run notice in sync.
- Non-interactive with a clear hint when no LLM is configured or when
locked with --fast (and dynamically updates when switching --presets).
- Add an upfront first-paper notice banner on the demo page (and in the
startup terminal banner when models are uncached) backed by
dry_run.pending_downloads(), warning that the first paper takes longer due
to model downloads and loading, and hiding automatically once warm.
- Update _GradioProgress to distinguish cold download+load from warm-cache
load on the first paper.
- Document in docs/guides/demo.md and CHANGELOG.md [0.9.2] with unit tests.
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.
Prepares
main(3b7753a9) for the0.9.2release, folding in cleared Wave 4 speed-ups,uv toolCLI ergonomics, web demo Fast/Full mode toggle + first-paper download notice, and dependency/security updates.What changes
0.9.2):pyproject.toml,uv.lock, andCITATION.cff(date-released: 2026-11-24).CHANGELOG.md): folds every[Unreleased]entry (#283,#284,#286,#287,#288,#289,#290), Wave 4,uv toolsetup/docs, web demo updates, and the dependency/security refresh into## [0.9.2] - 2026-11-24.perf/wave4):LAYOUT_TEXT_LAYER_DPI=100in text-layer mode when figure exports and consensus OCR are off, plus direct RGB PDFium rendering (rev_byteorder=True).ML_ONNX_CPU_ARENA=true,ML_ONNX_CPU_ARENA_SHRINK=true) +StatementTaggerrouted throughcreate_session()(auto CUDA EP,ML_STATEMENT_TAGGER_DEVICE, GPU OOM split & CPU fallback); updateddocs/guides/model-runtime.md.references_parsestart_indextrailer taggednuextract_role="document"for prefix caching.PIPELINE_HTML_PARSER=lxml(default"html5lib") with directlxml.htmltable walker (no_network=True).uv toolinstall support & CLI docs:bibr setupdetects PyPIuv toolinstalls (uv-receipt.toml) and installs extras viauv tool install --python <ver> 'bibr[...]'while merging existing extras (and prints a concisePATHhint whenbibris not onPATH).README.md,docs/index.md, Installation, Quickstart, and Troubleshooting now lead withuv tool install --python 3.12 bibrfor CLI use, keepinguv add bibr/pipfor Python projects.bibr demo) UX:--fast), atomically swapping the pipeline without restarting the demo.pyproject.toml,uv.lock):dnspython>=2.9.2(CVE-2026-128089/GHSA-vvf4-9x63-8xvv) andvirtualenv>=21.14.13(CVE-2026-115586/GHSA-cx6f-vjhg-g3cc).2026-11-17, matchingrenovate.json5), with no recorded cutoff inuv.lock.vllm0.32.0,torch2.13.0,torchvision0.28.0,triton3.7.1,transformers5.17.0,onnxruntime-gpu1.26.0 (CUDA 12),ruff0.15.22,mlx-audio/mlx-vlm0.x, and major bumps (huggingface-hub2.x,google-genai3.x,openai3.x,python-dateutil4.x,cachetools8.x,multidict7.x,pymdown-extensions13.x,watchdog7.x,websockets17.x).ci/vulnerability-exceptions.toml): renewsPYSEC-2026-3447andGHSA-xmj3-9gf7-h52wthrough2026-12-08(vllm 0.34.0, checked2026-11-24, still pinssetuptools<81.0.0).#278(Dockerfile.servenvidia/cuda:13.5.0-runtime-ubuntu22.04) and#279(SonarSource/sonarqube-scan-actionv8.5.0,docker/login-actiondigest). (#162zizmor 1.32.0left separate because its newself-repository$/...rule touchesci.yml,release.yml, andtests/ci/test_workflow_contracts.py.)Local checks run
uv lock --check,scripts/ci/audit_dependencies.py(0 other vulnerabilities),scripts/check_public_tree.py(1,309 files, 0 violations)ruff check .&ruff format --check ., strict coremypy(2.4.1),actionlint&zizmormkdocs build --strict&pytest tests/test_docs_sync.pyuv build,scripts/check_dist_contents.py(0 violations),twine check --strict dist/*(PASSED)Next steps
CI / requiredandMaintenance(macos-15,windows-latest, audit) to pass on this PR.mainand rehearserelease.ymlonmain.v0.9.2on the verifiedmaincommit.