sungsoo / sungsoo.github.io

Sung-Soo Kim's Blog
30 stars 8 forks source link

info: Installation of Kubernetes, Kubeflow Training Job, and KServe Python SDK #28

Open sungsoo opened 1 year ago

sungsoo commented 1 year ago

Installation of Kubernetes, Kubeflow Training Job, and KServe Python SDK

Kubectl client installation on MacOS

Install kubectl client version: v1.21.0.

curl -LO "https://dl.k8s.io/release/v1.21.0/bin/darwin/amd64/kubectl"
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
sudo chown root: /usr/local/bin/kubectl
kubectl version --client

Kubernetes Python Client SDK Installation

pip install kubernetes  

Kubeflow Training Job SDK Installation

pip install kubeflow-training 

KServe SDK Installation

pip install kserve

Kubectl config setup

scp sungsoo@remote_k8s_server_ip:./.kube/config  $HOME/.kube/.
sungsoo commented 1 year ago

PyTorch library for SPN

torchspn - A PyTorch Layerwise Sum-Product Network Framework

sungsoo commented 1 year ago

Machine Learning with Docker and Kubernetes: Training models