Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pipelines] Support watch remote:local engine #5593

Merged
merged 5 commits into from
May 28, 2024

Conversation

alonmr
Copy link
Member

@alonmr alonmr commented May 19, 2024

Add support to watch a remote pipeline with local inner engine.
The pipeline runs a kubejob runner which runs the pipeline without kfp inside the job (local to the job).
After we watch the job we enrich with the run state and error.

https://iguazio.atlassian.net/browse/ML-5334

tested with test_remote_pipeline_with_local_engine_from_github

@alonmr alonmr marked this pull request as ready for review May 27, 2024 09:34
@alonmr alonmr requested a review from liranbg May 27, 2024 09:34
Copy link
Member

@quaark quaark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@@ -742,6 +746,9 @@ class _RemoteRunner(_PipelineRunner):

engine = "remote"

def __init__(self):
self.inner_runner: type[_PipelineRunner] = _KFPRunner
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this being used?
the inner engine is passed as an argument to get_run_status, doesn't look like it should be a property

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right its a leftover from solution. removed

@liranbg liranbg merged commit 1f6067d into mlrun:development May 28, 2024
11 checks passed
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.

None yet

4 participants