microsoft / pai

Resource scheduling and cluster management for AI

Home Page:https://openpai.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prebuilt docker image for aarch64

huww98 opened this issue · comments

Short summary about the issue/question: Missing prebuilt docker images for aarch64

Brief what process you are following:

We want to deploy an OpenPAI cluster on Huawei Kunpeng CPUs. But find we can't.

$ docker run ... openpai/dev-box:v1.8.0
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /usr/local/start-script.sh: exec format error

Could you provide the prebuilt docker images for aarch64 architecture? Or are there any "install from source" docs?

We don't know the base image for Kunpeng CPUs. If you want to build image for Kunpeng manually, you need to change https://github.com/microsoft/pai/blob/master/src/<servicename>/build/<servicename>.common.dockerfile. And change the
FROM ... sentence.

Since we don't verity if the components work in arm architecture, this change may cause some components failed.

@Binyang2014 Thanks. I think the ubuntu base image would work. It has arm64 version. Do we have any documents about how every docker image is built?

please refer this line

sudo python build/pai_build.py build -c ${config_path}