hpcaitech / EnergonAI

Large-scale model inference.
Apache License 2.0
631 stars 90 forks source link

Docker cannot find the parent image defined in `docker/Dockerfile` #220

Open Aavache opened 1 year ago

Aavache commented 1 year ago

What is this issue about?

If you try to build the proposed image using docker/Dockerfile with the following commands:

cd docker
docker build -t energon .

The following error is raised:

=> [internal] load build definition from Dockerfile                                                                                                                                  0.0s
=> => transferring dockerfile: 378B                                                                                                                                                  0.0s
=> [internal] load .dockerignore                                                                                                                                                     0.0s
=> => transferring context: 2B                                                                                                                                                       0.0s
=> ERROR [internal] load metadata for docker.io/hpcaitech/colossalai:0.1.8                                                                                                           1.7s
=> [auth] hpcaitech/colossalai:pull token for registry-1.docker.io                                                                                                                   0.0s
------
> [internal] load metadata for docker.io/hpcaitech/colossalai:0.1.8:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: docker.io/hpcaitech/colossalai:0.1.8: not found

It is not able to find the image with version hpcaitech/colossalai:0.1.8, which I believe it must have been deprecated. I also tried to find this image in docker hub however it doesn't seem to exist anymore.

Question: should this Dockerfile be deprecated or updated?

Additional comments

Based on the README.md, to use docker we need to run docker pull hpcaitech/energon-ai:latest which refers to energon-ai tag, however the Dockerfile mentioned above uses the parent images from colossalai. I was just wondering if this is right or was a mistake?

Thank you!