Skip to content

Add timo interface for model serving#13

Open
atalyaalon wants to merge 2 commits intomainfrom
add-timo-interface
Open

Add timo interface for model serving#13
atalyaalon wants to merge 2 commits intomainfrom
add-timo-interface

Conversation

@atalyaalon
Copy link
Copy Markdown
Contributor

@atalyaalon atalyaalon commented Apr 21, 2026

Summary

  • Add sinonym/timo/ package with interface.py (Instance, Prediction, Predictor), config.yaml, and integration test
  • predict_batch() uses process_name_batch() for cross-name format detection by default (use_batch_context=True)
  • Add pydantic as optional timo dependency in pyproject.toml
  • Bump version to 0.2.6

Test plan

  • pytest sinonym/timo/integration_test.py — 4 tests pass (batch with/without context)
  • pytest tests/test_timo_interface.py — 12 tests pass (single, batch, edge cases, serialization)
  • Run timo publish -f sinonym/timo/config.yaml to publish to internal PyPI + S3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant