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

Fixed Seldon golang package #1246

Merged
merged 15 commits into from
Dec 20, 2019
Merged

Fixed Seldon golang package #1246

merged 15 commits into from
Dec 20, 2019

Conversation

hemantkashniyal
Copy link
Contributor

@hemantkashniyal hemantkashniyal commented Dec 11, 2019

Compiled code for tensorflow and seldon as a GO package

Issue #1156
Fixes #1245

TODO: need to include make protos_go target in CI/CD build @adriangonz

@seldondev
Copy link
Collaborator

Hi @hemantkashniyal. Thanks for your PR.

I'm waiting for a SeldonIO or seldonio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@hemantkashniyal
Copy link
Contributor Author

/assign @adriangonz

Copy link
Contributor

@adriangonz adriangonz left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @hemantkashniyal!

I've added a few comments on the PR, mostly around how the *.proto are downloaded and compiled. Besides that, I think my only remaining question would be if we should keep this on the /incubating folder or if we should move it to root folder. What do you think @cliveseldon?

Makefile Outdated Show resolved Hide resolved
go/generate_tensorflow_proto.sh Outdated Show resolved Hide resolved
@hemantkashniyal
Copy link
Contributor Author

hemantkashniyal commented Dec 12, 2019

@adriangonz @cliveseldon it seems incubating folder contains go wrappers for preparing s2i image in go. That will anyway use these these seldon go packages.

Is incubating folder meant for supporting s2i seldon deployment image in various languages only?

Moreover these seldon go packages will also be used by go client/apps doing inference call on seldon deployment. Keeping these initially in incubating folder and later moving to root folder later may break go applications already using this code.

@adriangonz kindly review PR, have incorporated suggestions.

@hemantkashniyal
Copy link
Contributor Author

Hi @adriangonz, can you please review the pull request, I have updated the changes.

Copy link
Contributor

@adriangonz adriangonz left a comment

Choose a reason for hiding this comment

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

Nice one! Thanks for making those changes @hemantkashniyal. I think this looks pretty well now.

Regarding the incubating/ folder, we use that for wrappers/clients which may not be ready yet for prime time and thus are not 100% supported. The idea is that as they become more mature and stable, they "graduate" towards stable ones which live on the root folder. However, you raise a good point regarding the imports.

What are your thoughts on this @cliveseldon @axsaucedo?

@adriangonz
Copy link
Contributor

/ok-to-test

@seldondev
Copy link
Collaborator

Thu Dec 19 10:20:35 UTC 2019
The logs for [pr-build] [1] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/1.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=1

@seldondev
Copy link
Collaborator

Thu Dec 19 10:20:37 UTC 2019
The logs for [lint] [2] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/2.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=2

@ukclivecox
Copy link
Contributor

Yes might be good to move to incubating until we are happy the solution is fully compliant to the python reference standard.

@adriangonz
Copy link
Contributor

Got it @cliveseldon! Can you change that @hemantkashniyal? We can think of ways to reduce breaking changes when the Go wrapper is moved from incubating/ to stable in the future.

I think after that this PR should be ready to go.

Pulling main repo changes
@seldondev
Copy link
Collaborator

Thu Dec 19 15:14:20 UTC 2019
The logs for [pr-build] [3] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/3.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=3

@seldondev
Copy link
Collaborator

Thu Dec 19 15:14:32 UTC 2019
The logs for [lint] [4] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/4.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=4

@seldondev
Copy link
Collaborator

Thu Dec 19 15:23:57 UTC 2019
The logs for [pr-build] [5] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/5.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=5

@seldondev
Copy link
Collaborator

Thu Dec 19 15:24:00 UTC 2019
The logs for [lint] [6] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/6.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=6

@seldondev
Copy link
Collaborator

Thu Dec 19 15:26:13 UTC 2019
The logs for [pr-build] [7] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/7.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=7

@seldondev
Copy link
Collaborator

Thu Dec 19 15:26:25 UTC 2019
The logs for [lint] [8] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/8.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=8

@seldondev
Copy link
Collaborator

Thu Dec 19 15:45:13 UTC 2019
The logs for [pr-build] [9] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/9.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=9

@seldondev
Copy link
Collaborator

Thu Dec 19 15:45:25 UTC 2019
The logs for [lint] [10] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/10.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=10

@hemantkashniyal
Copy link
Contributor Author

hemantkashniyal commented Dec 19, 2019

Hi @adriangonz , moved protos to incubating folder. Kindly review PR.

Following command needs to be added to CI
make -C ./incubating/wrappers/s2i/go/ compile_proto

@adriangonz
Copy link
Contributor

/approve

Awesome! Thanks for your effort and for contributing this work! I think it looks great now!

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adriangonz

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@seldondev
Copy link
Collaborator

Fri Dec 20 14:18:43 UTC 2019
The logs for [lint] [12] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/12.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=12

@seldondev
Copy link
Collaborator

Fri Dec 20 14:18:55 UTC 2019
The logs for [pr-build] [11] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1246/11.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1246 --build=11

@seldondev seldondev merged commit f918a0a into SeldonIO:master Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include seldon proto compilation in GO
4 participants