Giter VIP home page Giter VIP logo

ciao's Introduction

Ciao - Kernel for Kubeflow in Jupyter Notebook

Go Report Card Build Status Coverage Status

Ciao is still in early development -- it is not feature-complete or production-ready. Please try our experimental kernel and give us your feedback.

Overview

Ciao is a jupyter kernel for Kubeflow. The name of the project Ciao comes from Italian:

The word "ciao" (/ˈtʃaʊ/; Italian pronunciation: [ˈtʃaːo]) is an informal salutation in the Italian language that is used for both "hello" and "goodbye".

Ciao's goal is to simplify the machine learning workflow using Kubeflow. Currently, users could create a distributed model training job from Jupyter Notebook and get the logs of all replicas (parameter servers and workers) in the output.

Demo

Please see the Demo Show.

Ciao and SOS integration

Usage

There are some magic commands supported by Ciao:

%framework=tensorflow
%ps={number}
%worker={number}
%cleanPolicy=all/running/none

or

%framework=pytorch
%master={number}
%worker={number}
%cleanPolicy=all/running/none

When there is no resource set in magic commands, by default it will use resource from config file. You can also override the config by specifying magic commands below:

%framework=tensorflow
%ps={number};%cpu={cpu};%memory={mem}
%worker={number};%cpu={cpu};%memory={mem}
%cleanPolicy=all/running/none

Please pay attention about some points:

  • The job role need to be the first command of one line.
  • The resource config of one role of job need to be in the same line with the job role.
  • Magic commands are separated by ';'

Examples

Installation

Please see the Installation Guide.

Design Document

Please see the Design Document to know the architecture of Ciao.

Acknowledgments

  • Thank kubeflow/kubeflow for the awesome operators which supports TensorFlow/PyTorch and many other ML frameworks on Kubernetes.
  • Thank gopherdata/gophernotes for the reference implementation of Jupyter Kernel in Golang.

ciao's People

Contributors

bbbmj avatar caicloud-bot avatar e271828- avatar gaocegege avatar jiachengxu avatar minshenglin avatar yeya24 avatar

Watchers

 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.