Skip to content

v0.2.1

Latest

Choose a tag to compare

@mohitgargai mohitgargai released this 24 Apr 16:11
· 2 commits to main since this release

Patch release with two bugfixes on top of 0.2.0.

Bugfixes

  • gdb eval against HuggingFace data no longer crashes on generation-only benchmarks (#10).
    Previously svg-1, svg-2, svg-5, temporal-1, temporal-2, temporal-3 would raise
    'str' object has no attribute 'save' because src/gdb/hf.py tried to persist an empty
    image placeholder. load_from_hub() now detects real PIL images via hasattr(pil_img, "save")
    and passes through the empty string for text-only configs.

  • layout-* benchmark.load_data() is ~12x faster (#11).
    layout-2 went from 1080 s → 91 s for 2044 samples; lstat syscalls dropped from ~670 000
    to 15. The hot path was pathlib.Path.resolve() walking every path component to detect
    symlinks; the dataset tree has none, so we skip it in favour of a single is_file /
    is_dir stat.

Install

pip install --upgrade lica-gdb
gdb --version   # lica-gdb 0.2.1
gdb verify      # runs the bundled 8-sample smoke suite

Full changelog

v0.2.0...v0.2.1