You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must re-compile PaddlePaddle and enable -DWITH_DISTRIBUTE to build PaddlePaddle with distributed support.
When the build finishes, copy the output whl package located under build/python/dist to current directory.
Run docker build -t [image:tag] . to build the docker image and run docker push [image:tag] to push the image to reponsitory so kubernetes can find it.
Run kubectl create -f pserver.yaml && kubectl create -f trainer.yaml to start the job on your kubernetes cluster (you must configure the kubectl client before this step).
Run kubectl get po to get running pods, and run kubectl logs [podID] to fetch the pod log of pservers and trainers.
Check the logs for the distributed training progress and analyze the performance.
Enable verbos logs
Edit pserver.yaml and trainer.yaml and add an environment variable GLOG_v=3 to see what happend in detail.