You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pdf): use the INT8 models by default, FLEISCHWOLF_FP32 opts out
When layout_heron_int8.onnx / tableformer/decoder_int8.onnx sit next to
the fp32 models at the default paths, the pipeline now loads them
automatically — the quantized stack is conformance-validated (see
PDF_PERFORMANCE.md) and ~2x faster on layout, so it is the right
default for CPU deployments. Resolution order per model: explicit
DOCLING_* env override > int8 default file (unless FLEISCHWOLF_FP32 is
set) > fp32 default file.
- download_dependencies.sh fetches the int8 assets by default
(--no-int8 skips; --int8 kept as a no-op for compatibility).
- pdf_setup.sh quantizes locally unless FLEISCHWOLF_FP32=1.
- performance.sh mirrors the pipeline default (FLEISCHWOLF_FP32=1
benchmarks fp32); the short-lived FLEISCHWOLF_INT8 toggle is gone.
- pdf_conformance.sh / pdf_groundtruth.sh already pin explicit fp32
paths, so snapshot baselines stay byte-deterministic.
Verified: default resolves to int8 when present, FLEISCHWOLF_FP32=1
and explicit env paths both produce the fp32 reference output, and the
fp32 fallback engages when the int8 files are absent.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017fKFbatf55BK5j8vr3dZjj
0 commit comments