Skip to content

build(deps): bump pypdfium2, streamlit, python-dotenv, torch and pytest - #39

Merged
darylalim merged 3 commits into
mainfrom
deps/non-model-batch
Nov 10, 2026
Merged

darylalim merged 3 commits into
mainfrom
deps/non-model-batch

Conversation

@darylalim

Copy link
Copy Markdown
Owner

Step 3 of the dependency refresh, the batch of packages that are not model packages.

Package From To
pypdfium2 5.14.0 5.15.2
streamlit 1.66.1 1.67.0
python-dotenv 1.2.3 1.2.4
torch (undeclared) 2.14.1 2.15.0, with triton 3.9.0 and CUDA wheels that install nowhere we run
pytest 9.1.1 9.2.0

What moved

  • pypdfium2 changes model input. On GAO-07-631, chart 1's crop draws its top rule (y = 7) at grey 81 instead of black, across the whole width. Granite Vision's summary of that chart changed ("$210 billion by 2005" became "just over $200 billion by 2005"). The CSV, the other eight charts, every page's DocTags and the KVP output are byte-identical. The three runs before the move were byte-identical to each other, so this is the version change, not noise. pypdfium2 also renders the KVP page, so like Pillow it is on Granite Vision's input path. It now joins the eval-gated list in CLAUDE.md and plan §2.2.
  • torch: the figure classifier's confidences move at about 1e-7, and it picks the same charts.

Verification

  • Eval: PASS (eval/results/2026-11-10-06ce9fd-non-model-batch.json). Against build(deps): bump transformers to 5.22.2 #38's run, every score is identical except chart 1's summary: 20 → 18 numbers, and summary_unsupported_pct 13.95 → 14.04 (tolerance ±1.0). All budgets are met: cold start 7.95 s (limit 8.91), Phase A 6.09 s/page, chart 9.23 s, KVP page 5.90 s, peak 6.68 GB. One Stop-hook pytest run overlapped the timed runs, and the medians absorbed it.
  • S10 no-repo-code check: PASS.
  • pip-audit: no known vulnerabilities.
  • §15 width check (Streamlit move): 6 widths (768–2560) × 6 views × 2 themes. Overflow was 0 in all 72 cases. Cards per row were 2/1/2/2/4/5, and pills and count tiles held one row throughout. All 72 measurements were identical under 1.66.1 and 1.67.0.
  • Gate: GATE_FORCE=1 ./scripts/gate.sh passes.

Docs

CLAUDE.md's eval commands now run under caffeinate -i. An idle Mac slept for about 22 min during #38's eval.

🤖 Generated with Claude Code

darylalim and others added 3 commits November 10, 2026 09:20
pypdfium2 5.14.0 -> 5.15.2, streamlit 1.66.1 -> 1.67.0, python-dotenv
1.2.3 -> 1.2.4, torch 2.14.1 -> 2.15.0 (with triton and the CUDA wheels,
which install nowhere we run), pytest 9.1.1 -> 9.2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pypdfium2 renders the chart crop and the KVP page, so it is on Granite
Vision's input path like Pillow: 5.14.0 -> 5.15.2 changed one chart
summary through a one-pixel rule in its crop. An idle Mac also slept
through part of the transformers eval, so the documented commands now
keep it awake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@darylalim
darylalim merged commit 2be9abc into main Nov 10, 2026
2 checks passed
@darylalim
darylalim deleted the deps/non-model-batch branch November 10, 2026 23:20
@darylalim darylalim mentioned this pull request Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant