Skip to main content

Run your ML workflow with jupyterflow

Project description

jupyterflow

Run workflow on JupyterHub

What is jupyterflow

Run Argo Workflow pipeline on JupyterHub with single command!

For Users

  • No Kubernetes knowledge (YAML) need.
  • No container build & push or deploy.
  • Just run pipeline with single command jupyterflow!

For MLOps Engineer

Although, You need to know Kubernetes to set its up, But it is...

  • Easy to deploy ML jobs.

Get Started

Prerequisite

Install jupyterflow

Run Workflow

jupyterflow create -c "python main.py >> python train.py"
jupyterflow create -f workflow.yaml
# workflow.yaml
jobs:
- python input.py 
- python train.py

dags:
- 1 >> 2

Go to Argo Workflow Web

How does it work?

그럼 넣기

Configuration

# $HOME/.jupyterflow.yaml
workflow:
  name: jupyterflow
singleuser:
  image:
    name: jupyter/datascience-notebook:latest
    pullPolicy: Always
    secret: "default"
  resources:
    requests:
      cpu: 400m
      memory: 400Mi
    limits:
      cpu: 400m
      memory: 400Mi
  env:
    CUSTOM_ENV: "value"
  runAsUser: 1000
  runAsGroup: 100
  fsGroup: 100
  nodeSelector: {}
  serviceAccountName: default
  storage:
    homePvcName: claim-{username}
    homeMountPath: /home/jovyan
    extraVolumes:
    - name: nas001
      persistentVolumeClaim:
        claimName: nas001
    extraVolumeMounts:
    - name: nas001
      mountPath: /nas001

workflow

  • name: jupyterflow

singlueuser

  • image.name: current JupyterHub Server image
  • image.pullPolicy: Always
  • image.secret: default
  • resources.requests: None
  • resources.limits: None
  • storage.homePvcName: claim-{username}
  • storage.homeMountPath: /home/jovyan
  • storage.extraVolumes:
    • Pod Volumes Spec
  • storage.extraVolumeMounts:
    • name:
    • mountPath:
  • env:
    • name:
    • value:
  • nodeSelector: {}
  • runAsUser: 1000
  • runAsGroup: 100
  • fsGroup: 100
  • serviceAccountName: default

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterflow-0.0.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

jupyterflow-0.0.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file jupyterflow-0.0.1.tar.gz.

File metadata

  • Download URL: jupyterflow-0.0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for jupyterflow-0.0.1.tar.gz
Algorithm Hash digest
SHA256 12a839440d5465009d9f9bd4614e93aacaf6681e79e6dc4e46c5d33906971de2
MD5 a4c26fb56fb08f8b8541a4c2851a3649
BLAKE2b-256 0f83001391fde05f30c2363dc757729a6d86914a72ecbc1cdf05a7b0c01059cf

See more details on using hashes here.

File details

Details for the file jupyterflow-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: jupyterflow-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for jupyterflow-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05e8695d3ed91f380c2ef825289293edf154a30920e406200fb2cedf007bd7ea
MD5 380b24dd30b45f440f06f111439ccea7
BLAKE2b-256 c2787d888b30b3c8616b136f521f89e39bd2acce74790c3af51132d1f303aa90

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page