Commit Graph

1 Commits

Author SHA1 Message Date
Nikos Livathinos 8b67fae687 feat: Extend the kserve-triton OCR model to have multi-lingual support (#3368)
* chore: Update .gitignore with local dirs of AI agents

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

* feat: Extend KserveV2OcrModel and kserve_v2_grpc.py to support the new version of Triton-RapidOCR
model where the language is the first input parameter:
- The gRPC client has been extended to encode BYTE input, needed for String types.
- An additional test ensures to have proper BYTE encoding/decoding.

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

* feat: Add test for the KServe-Triton integration: WIP
- The test currently supports only the gRPC KServe client
- Extend the ground-truth test data.

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

* fix: Simplify code in kserve test

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

* chore: Rename test file

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

* feat: Extend the kserve_v2 implementation to support binary data in the HTTP interface.
- Decouple functions for binary encoding/decoding inside the kserve_v2_utils.py and share for both HTTP and gRPC.
- Introduce use_binary_data init parameter in KserveV2OptionsMixin
- Improve tests

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

* fix: Put back the field grpc_use_binary_data of KserveV2OptionsMixin as a deprecated alias to use_binary_data

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>

---------

Signed-off-by: Nikos Livathinos <nli@zurich.ibm.com>
2026-04-28 16:00:57 +02:00