-
Notifications
You must be signed in to change notification settings - Fork 783
Remove SDK #2657
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
Remove SDK #2657
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @eoinfennessy
We also need to update Makefile
, github workflows, pre-commit hooks and documentation, such as README
, CONTRIBUTING
@kramaranya: changing LGTM is restricted to collaborators In response to this:
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. |
@kramaranya, thanks. I will update pre-commit config and docs. I made some changes to the Makefile and GH workflows. Is there anything else that should be done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this @eoinfennessy!
/assign @astefanutti @Electronic-Waste @tenzen-y @kubeflow/wg-training-leads
@@ -1,62 +0,0 @@ | |||
#!/usr/bin/env bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to move this generation script under kubeflow/sdk/hack
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the old script that was used to generate models in trainer/sdk/kubeflow/trainer/models. Since we moved models to trainer/api/python_api/kubeflow_trainer_api/models, we now use the new gen-api.sh script instead. So I think gen-api.sh
should stay in the trainer repo, and gen-sdk.sh
should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you are right, we are no longer need OpenAPI generator to create Kubeflow SDK clients, since we don't use them.
Thanks @eoinfennessy for the update! I think |
@eoinfennessy Please can you rebase this PR, so we can merge it ? |
@eoinfennessy could you update the jupyter notebooks? + rebase the pr |
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
@andreyvelich @kramaranya the PR has been rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
/lgtm
/approve
@@ -42,7 +42,7 @@ jobs: | |||
pip install papermill==2.6.0 jupyter==1.1.1 ipykernel==6.29.5 | |||
|
|||
echo "Install Kubeflow SDK" | |||
pip install ./sdk | |||
pip install git+https://github.com/kubeflow/sdk.git@main#subdirectory=python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noted, @andreyvelich we need to merge SDK adding PR to the main branch in SDK repository before we cut new 2.0 RC version in this repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tenzen-y I think, we've already done it. Isn't?
https://github.com/kubeflow/sdk/tree/main/python
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I missed that.
Thx
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold |
@kramaranya Why do we need to prevent the merge? |
@tenzen-y Sorry, just currently deciding with Eoin about adding the SDK installation step to the jupyter notebooks, same as here, wdyt? |
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
@kramaranya I added SDK installation steps to all notebooks in b33fa8a |
Thanks a lot @eoinfennessy!! |
SGTM |
@eoinfennessy @kramaranya we should have capability to override the installed SDK package before we run the Jupyter Notebooks. I would suggest that we keep SDK line commented in the Notebooks, so we can install the correct version when it is needed. |
Agree! |
Signed-off-by: Eoin Fennessy <efenness@redhat.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this work @eoinfennessy!
/lgtm
What this PR does / why we need it:
The Trainer SDK has been moved to
kubeflow/sdk
. This PR removes the SDK, SDK models generation, and fixes references to the SDK within this repo.Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #
Checklist: