Skip to content

Enable python nodes and ovms, geti calculators in new python lib#134

Open
rasapala wants to merge 2 commits into
mainfrom
python_calc_changes
Open

Enable python nodes and ovms, geti calculators in new python lib#134
rasapala wants to merge 2 commits into
mainfrom
python_calc_changes

Conversation

@rasapala

@rasapala rasapala commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

This PR aligns the MediaPipe fork with OVMS’s new Python runtime-shared architecture so CLIP Python-node graphs can load and run reliably.

Why this was needed:

OVMS moved Python calculators to dynamic/runtime-shared loading, but MediaPipe Geti/OVMS calculator deps still assumed the old in-tree/static wiring.
That caused build mismatches and runtime registration/load issues (including stale targets and duplicated proto ownership).
What was changed:

Switched Geti inference to use OVMS KServe proto (@ovms//src/kfserving_api:kfserving_api_cpp) instead of local grpc_predict_v2_* targets.
Added runtime-focused OVMS calculator targets (ovms_calculator_runtime, openvinoinferencecalculator_runtime) to support one-point calculator registration in the runtime-shared flow.
Updated OpenVINOInferenceCalculator to support runtime mode with TensorFlow/TFLite paths compile-disabled via OVMS_RUNTIME_DISABLE_TF_TENSORS and explicit guards for unsupported TF/TFLite packet tags in that mode.
Follow-up build fix removed stale grpc_predict_v2_* references from //mediapipe:geti_targets after proto ownership moved to OVMS.
Outcome:

Restores successful MediaPipe fork build in the new integration model.
Unblocks CLIP Python nodes in OVMS runtime-shared setup.
Keeps calculator registration and dependency ownership consistent between MediaPipe and OVMS.

@rasapala
rasapala requested review from atobiszei and mzegla July 14, 2026 13:27
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