shikhabhadoria commented on PR #41424: URL: https://github.com/apache/beam/pull/41424#issuecomment-7354814161
@chamikaramj Thanks for the feedback! I split this PR into 3 smaller, independently reviewable parts and scoped this PR to **Part 1**: 1. **Part 1 (this PR)**: Lazy worker-side loading (`_LazyYamlModelHandler`), declarative `RunInference` fields (`provider` / `model_config`, `input_field`, `output_field`, `flatten_predictions`, `output_type`, batching options), and the `Custom` provider (plus short aliases for `VertexAI` and `HuggingFacePipeline`). 2. **Part 2 (follow-up after Part 1 merges)**: `PyTorch` and `Sklearn` providers and tensor/numpy/pandas input extraction modes. 3. **Part 3 (follow-up after Part 1 merges)**: `error_handling` DLQ routing and per-element poison-pill batch isolation. I also merged latest `master`, fixed a bug in `_FunctionModelHandler._get_arity` when unwrapping `PythonCallableWithSource` callables, and expanded unit tests in `yaml_ml_test.py` (bringing `yaml_ml.py` coverage to 84% with `yapf`, `ruff`, and `pyrefly` passing). Ready for review! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
