- Pin vLLM >=0.15.1 (was >=0.9.1) to match other production scripts
- Add limit_mm_per_prompt={"image": 1} to LLM init for stable batch processing
- On batch failure, retry images individually so only broken images get [OCR ERROR]
Tested: 20/20 samples clean on A100 (davanstrien/ufo-ColPali, seed 42)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix config_name=None breaking push_to_hub + use cu129 nightly index
- Replace config_name=config with conditional spread to avoid passing
None, which generates invalid YAML (config_name: null) that fails
Hub validation. Applied to all 10 scripts with --config flag.
- Switch vLLM nightly URL from /nightly to /nightly/cu129 in 6 scripts
to get x86_64 wheels (bare /nightly only has ARM wheels currently).
- Includes accumulated improvements: --verbose flag, --config/--create-pr
support, upload retry with XET fallback, inference_info fixes.
- Adds dots-ocr-1.5.py and hunyuan-ocr.py (new scripts).
Verified via HF Jobs smoke tests (7/9 config-flag scripts completed).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Increase default batch size from 8 to 32
- Increase default GPU memory utilization from 0.7 to 0.8
- Update README with new defaults and simple performance tip
- These changes provide ~2-3x speedup based on testing