Skip to content

Comments

feat: add local docker training example#2869

Closed
briangallagher wants to merge 1 commit intokubeflow:masterfrom
briangallagher:add-local-example
Closed

feat: add local docker training example#2869
briangallagher wants to merge 1 commit intokubeflow:masterfrom
briangallagher:add-local-example

Conversation

@briangallagher
Copy link
Contributor

What this PR does / why we need it:
An example notebook demonstrating the trainer running locally with docker.

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #2868

Signed-off-by: Brian Gallagher <briangal@gmail.com>
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign johnugeorge for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coveralls
Copy link

Pull Request Test Coverage Report for Build 18132078761

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.174%

Totals Coverage Status
Change from base Build 18100625618: 0.0%
Covered Lines: 1093
Relevant Lines: 1981

💛 - Coveralls

Copy link
Contributor

@astefanutti astefanutti left a comment

Choose a reason for hiding this comment

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

Just to be sure about the precedent / pattern that's going to be established with this, do we want the local run examples to live in the trainer (or other corresponding projects) or in the SDK itself?

"name": "stdout",
"output_type": "stream",
"text": [
"\u001B[33mDEPRECATION: git+https://github.com/briangallagher/sdk.git@docker-backend#egg=kubeflow[docker] contains an egg fragment with a non-PEP 508 name. pip 25.3 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/13157\u001B[0m\u001B[33m\r\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe let's hold this for kubeflow/sdk#111 to be merged so this can be updated.

@andreyvelich
Copy link
Member

@briangallagher Please can we initially add example on how to run LocalProcessBackend ?

@andreyvelich
Copy link
Member

do we want the local run examples to live in the trainer (or other corresponding projects) or in the SDK itself?

Since we use TrainerClient(), it might be easier to place examples in kubeflow/trainer for now. We can also cross-link them from the Kubeflow SDK repo.

In the future, we can discuss what examples should live in the kubeflow/sdk.

@andreyvelich
Copy link
Member

@kramaranya @briangallagher Are we targeting to finish this PR before v2.1 release ?

@briangallagher
Copy link
Contributor Author

@andreyvelich Fiona will take this over as part of her work on sdk/pull/119

@andreyvelich
Copy link
Member

This has been added in: #2907
/close

@google-oss-prow google-oss-prow bot closed this Nov 6, 2025
@google-oss-prow
Copy link

@andreyvelich: Closed this PR.

Details

In response to this:

This has been added in: #2907
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WIP] Add local docker training example

4 participants