Skip to content

Data Science from Research to Production with Jupyter, Kubeflow & Nuclio workshop

Notifications You must be signed in to change notification settings

zilbermanor/mlconference-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Science from Research to Production with Jupyter, Kubeflow & Nuclio

MLConference (16.11.2020)

A workshop, showing how to use Nuclio & MLRun with Kubeflow to deploy end to end machine learning pipelines, with Multiple runtimes (serverless functions, jobs, etc...), Artifacts & Code tracking and Automation directly from your jupyter notebook!

Preperations

We will install Nuclio and MLRun (Jupyter environment and UI) over docker for easy installation.

Pull images

docker pull quay.io/nuclio/dashboard:stable-amd64
docker pull mlrun/jupyter:TMLS
docker pull mlrun/mlrun-ui:0.5.4

Run containers

You can change the SHARED_DIR to another path for storing the data/artifacts

SHARED_DIR=~/mlrun-data
docker network create mlrun-network
docker run -it -p 8080:8080 -p 8888:8888 --rm -d --network mlrun-network --name jupyter -e NUCLIO_DASHBOARD_URL=http://nuclio:8070  -v ${SHARED_DIR}:/home/jovyan/data mlrun/jupyter:TMLS
docker run -it -p 4000:80 --rm -d --network mlrun-network --name mlrun-ui -e MLRUN_API_PROXY_URL=http://jupyter:8080 mlrun/mlrun-ui:0.5.4
docker run -p 8070:8070 --rm -d --network mlrun-network --name nuclio -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp quay.io/nuclio/dashboard:stable-amd64

Open the browser pointing to Jupyter, Nuclio, and MLRUn UIs at:

What will we do?

  1. Review some background about the problems of moving to production and how we can use this set of tools to help automate it.
  2. We will review how Nuclio integrates with Jupyter for easy deployment by using nuclio-jupyter.
    We will deploy an example translation (NLP) endpoint and use this template to create a function of our own.
  3. We will review MLRun with some basics and a local example, a full getting started tutorial to setup a project, tracking results, lunching a pipeline and how to easily create serving endpoints with MLRun's Serving runtime.

Through this process we will share about best practices, how to ease our work and innovate fast!

About

Data Science from Research to Production with Jupyter, Kubeflow & Nuclio workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published