Skip to content

lehrig/kubeflow-ppc64le-elyra-runtime-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elyra Runtime Images for Kubeflow on ppc64le

Elyra runtime images for ppc64le (IBM Power processor architecture) to be used with Kubeflow.

Pre-Build Images

Go to my kubeflow-elyra-runtimes-ppc64le repository at IBM's quay.io page.

Overview:

  • Python v3.8 / Elyra v3.0.0 / Conda v4.10.3: quay.io/ibm/kubeflow-elyra-runtimes-ppc64le:py3.8-conda4.10.3
  • Python v3.8 / Elyra v3.0.0 / Conda v4.10.3 / Pandas 1.1.1: quay.io/ibm/kubeflow-elyra-runtimes-ppc64le:py3.8-pandas1.1.1
  • Python v3.8 / Elyra v3.0.0 / Conda v4.10.3 / Tensorflow 1.15.2: quay.io/ibm/kubeflow-elyra-runtimes-ppc64le:py3.8-tensorflow1.15.2
  • Python v3.8 / Elyra v3.0.0 / Conda v4.10.3 / Tensorflow 2.4.1: quay.io/ibm/kubeflow-elyra-runtimes-ppc64le:py3.8-tensorflow2.4.1
  • Python v3.8 / Elyra v3.0.0 / Conda v4.10.3 / Tensorflow-cpu 1.15.2: quay.io/ibm/kubeflow-elyra-runtimes-ppc64le:py3.8-tensorflow-cpu1.15.2
  • Python v3.8 / Elyra v3.0.0 / Conda v4.10.3 / Tensorflow-cpu 2.4.1: quay.io/ibm/kubeflow-elyra-runtimes-ppc64le:py3.8-tensorflow-cpu2.4.1

Building Images

Prerequisites

  1. Install podman (yum install docker -y) or docker (see OpenPOWER@UNICAMP guide).
  2. sudo systemctl enable --now docker

Builds

Single-step images are used (smaller file size).

Configuration
git clone https://github.com/lehrig/kubeflow-ppc64le-elyra-runtime-images
cd kubeflow-ppc64le-elyra-runtime-images

export TARGET_RUNTIME=anaconda|pandas|pytorch-cpu|pytorch|r|tensorflow-cpu|tensorflow

export ELYRA_VERSION=v3.0.0
export PYTHON_VERSION=3.8
export CUSTOM_CONDA_VERSION=4.10.3
export MINIFORGE_PATCH_NUMBER=6
export PANDAS_VERSION=1.1.1
export TENSORFLOW_VERSION=2.4.1
export PYTORCH_VERSION=1.4
export R_VERSION=4

export REGISTRY=quay.io/ibm
export IMAGE=kubeflow-elyra-runtimes-ppc64le

case "$TARGET_RUNTIME" in
   "anaconda") export RUNTIME_VERSION=$CUSTOM_CONDA_VERSION
   ;;
   "pandas") export RUNTIME_VERSION=$PANDAS_VERSION 
   ;;
   "pytorch-cpu") export RUNTIME_VERSION=$PYTORCH_VERSION 
   ;;
   "pytorch") export RUNTIME_VERSION=$PYTORCH_VERSION 
   ;;
   "r") export RUNTIME_VERSION=$R_VERSION
   ;;
   "tensorflow-cpu") export RUNTIME_VERSION=$TENSORFLOW_VERSION
   ;;
   "tensorflow") export RUNTIME_VERSION=$TENSORFLOW_VERSION
   ;;
esac

export TAG=py${PYTHON_VERSION}-${TARGET_RUNTIME}${RUNTIME_VERSION}
export TARGET=$REGISTRY/${IMAGE}:${TAG}
Option (a): Podman
podman build --format docker --build-arg TARGET_RUNTIME=$TARGET_RUNTIME --build-arg NB_GID=0 --build-arg elyra_version=$ELYRA_VERSION --build-arg PYTHON_VERSION=$PYTHON_VERSION --build-arg conda_version=$CUSTOM_CONDA_VERSION --build-arg miniforge_patch_number=$MINIFORGE_PATCH_NUMBER --build-arg PANDAS_VERSION=$PANDAS_VERSION --build-arg PYTORCH_VERSION=$PYTORCH_VERSION --build-arg R_VERSION=$R_VERSION --build-arg TENSORFLOW_VERSION=$TENSORFLOW_VERSION -t $TARGET -f Dockerfile .
Option (b): Docker
docker build --build-arg TARGET_RUNTIME=$TARGET_RUNTIME --build-arg NB_GID=0 --build-arg elyra_version=$ELYRA_VERSION --build-arg PYTHON_VERSION=$PYTHON_VERSION --build-arg conda_version=$CUSTOM_CONDA_VERSION --build-arg miniforge_patch_number=$MINIFORGE_PATCH_NUMBER --build-arg PANDAS_VERSION=$PANDAS_VERSION --build-arg PYTORCH_VERSION=$PYTORCH_VERSION --build-arg R_VERSION=$R_VERSION --build-arg TENSORFLOW_VERSION=$TENSORFLOW_VERSION -t $TARGET -f Dockerfile .

About

Elyra runtime images for Kubeflow on ppc64le

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published