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

Added a hands-on self-containted MLflow/Ray Serve deployment example #22192

Merged

Conversation

dmatrix
Copy link
Contributor

@dmatrix dmatrix commented Feb 7, 2022

Signed-off-by: Jules S.Damji [email protected]

Why are these changes needed?

To augment examples in Ray Serve's Integration with Model Registries section,
I added a hands-on self-contained example of how to use mlflow.sklearn.autolog(), which logs
all the metrics, parameters, and artifacts to the local model registry; and a deployment class that
loads the registered model as a pyfunc model and does the prediction.

This complete example augments the previous partial code snippet.

Checks

  • [x ] I've run scripts/format.sh to lint the changes in this PR.

Copy link
Contributor

@architkulkarni architkulkarni left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for adding this! I'll make a followup issue to run this code sample in CI using Sphinx's literalinclude. I'll need to figure out where to install mlflow in the CI setup but it should be straightforward.

@simon-mo simon-mo merged commit 6b7d995 into ray-project:master Feb 8, 2022
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.

3 participants