Patch release with two bugfixes on top of 0.2.0.
Bugfixes
-
gdb evalagainst HuggingFace data no longer crashes on generation-only benchmarks (#10).
Previouslysvg-1,svg-2,svg-5,temporal-1,temporal-2,temporal-3would raise
'str' object has no attribute 'save'becausesrc/gdb/hf.pytried to persist an empty
image placeholder.load_from_hub()now detects real PIL images viahasattr(pil_img, "save")
and passes through the empty string for text-only configs. -
layout-*benchmark.load_data()is ~12x faster (#11).
layout-2went from 1080 s → 91 s for 2044 samples;lstatsyscalls dropped from ~670 000
to 15. The hot path waspathlib.Path.resolve()walking every path component to detect
symlinks; the dataset tree has none, so we skip it in favour of a singleis_file/
is_dirstat.
Install
pip install --upgrade lica-gdb
gdb --version # lica-gdb 0.2.1
gdb verify # runs the bundled 8-sample smoke suite