Giter Site home page Giter Site logo

byc3230 / jupyterflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hongkunyoo/jupyterflow

0.0 0.0 0.0 1.29 MB

Run workflow on JupyterHub

Home Page: https://jupyterflow.com

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

jupyterflow's Introduction

JupyterFlow

Run your workflow on JupyterHub!

What is JupyterFlow?

Run your ML job right away on Kubernetes with jupyterflow.

  • No container image build & push
  • No Kubernetes manifest (YAML)
  • Just simply run your ML code with single command jupyterflow.

jupyterflow is a ML tool for Data Scientist to help run ML code on Kubernetes without any containerization process.

  1. Launch your jupyter notebook
  2. Write your ML code
  3. Run your ML model on Kubernetes through jupyterflow
# Write your code.
echo "print('hello')" > hello.py
echo "print('world')" > world.py

# Install jupyterflow.
pip install jupyterflow

# in jupyterflow `>>` directive expresses container dependencies similar to Airflow.
jupyterflow run -c "python hello.py >> python world.py"

Motivation

  • I wanted to run ML models across multiple training server efficiently.
  • Using Kubernetes was a good idea, since
    • it is easy to run jobs distributedly.
    • it is easy to schedule jobs on multiple training server.
    • it has native resource management mechanism.
    • it has good monitoring system.
  • But there were some drawbacks.
    • I needed to re-build & re-push image everytime I updated my model. This was painful.
    • People who were not familiar with k8s had a hard time writing K8s manifest file.

JupyterFlow aims to solve this problem. Run your workflow on JupyterHub with single command without containerization & k8s troublesome task. For more details, read this article.

Limitation

JupyterFlow only works on following platforms:

Therefore, although using JupyterFlow does not require Kubernetes manifest, setting up JupyterFlow requires Kubernetes understandings(YAML, helm, Service). If you're familiar with Kubernetes, it will not be too hard.

If you want to know why there is such limitation, refer to How it works guide.

Getting Started

To set up jupyterflow and start running your first workflow, follow the Getting Started guide.

How it works

To learn how it works, go to How it works guide.

Examples

For examples how to use, please see Examples page.

Configuration

To find out more configuration, take a look at Configuration page.

CLI Reference

For more detail usage of jupyterflow command line interface, find out more at CLI Reference page.

jupyterflow's People

Contributors

hongkunyoo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.