SIGN IN SIGN UP

feat: implement GraniteVisionTableStructureModel for VLM-based table extraction (#3323)

Add a new table structure model using IBM Granite Vision to extract table
structure from document images via OTSL token generation.

Changes:
- Add `GraniteVisionTableStructureOptions` with configurable model repo,
  device, batch size, and crop padding options
- Implement `GraniteVisionTableStructureModel` that uses a VLM pipeline to
  generate OTSL tokens from cropped table images, then parses them into
  `TableData` with cells, rows, and columns
- Register the model in `table_structure_engines` alongside existing engines
- Add example script `docs/examples/granite_vision_table_structure.py`
- Add tests covering options, model enable/disable, OTSL parsing (including
  self-closing tags xcel/srow/ecel), and invalid-backend error handling
- Update model catalog docs and CI workflow accordingly

Signed-off-by: Eli Schwartz <eli.shw@gmail.com>
E
EliSchwartz committed
1569e42f8484f7abda8b8fb615e9c67d47e83855
Parent: 101233e
Committed by GitHub <noreply@github.com> on 4/17/2026, 9:02:20 AM