Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cog push error “Failed to get last layer digest for cog base image” #1965

Open
ultimatech-cn opened this issue Sep 23, 2024 · 0 comments

Comments

@ultimatech-cn
Copy link

I have push the model successful once.
But failed after that, the error message like following:

Building Docker image from environment in cog.yaml as r8.im/ultimatech-cn/instant-id-basic...
⚠ Stripping patch version from Python version 3.10.6 to 3.10
⚠ Stripping patch version from Python version 3.10.6 to 3.10
[+] Building 4.0s (15/15) FINISHED                                                           docker:default
 => [internal] load build definition from Dockerfile                                                   0.0s
 => => transferring dockerfile: 833B                                                                   0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1.4                            0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:1.4                                              0.0s
 => [internal] load .dockerignore                                                                      0.0s
 => => transferring context: 787B                                                                      0.0s
 => [internal] load metadata for r8.im/cog-base:cuda12.1-python3.10                                    2.5s
 => [stage-0 1/8] FROM r8.im/cog-base:cuda12.1-python3.10@sha256:ab0faae83dd6f205e62ff3ef44cd91f47d86  0.0s
 => [internal] load build context                                                                      0.2s
 => => transferring context: 375.87kB                                                                  0.2s
 => CACHED [stage-0 2/8] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked apt-get update -  0.0s
 => CACHED [stage-0 3/8] COPY .cog/tmp/build20240923193006.8539553181594056/requirements.txt /tmp/req  0.0s
 => CACHED [stage-0 4/8] RUN pip install --no-cache-dir -r /tmp/requirements.txt                       0.0s
 => CACHED [stage-0 5/8] RUN curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releas  0.0s
 => CACHED [stage-0 6/8] RUN pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visua  0.0s
 => CACHED [stage-0 7/8] WORKDIR /src                                                                  0.0s
 => [stage-0 8/8] COPY . /src                                                                          0.7s
 => exporting to image                                                                                 0.4s
 => => exporting layers                                                                                0.4s
 => => preparing layers for inline cache                                                               0.0s
 => => writing image sha256:92c95bb5fc6a03683d9dedcf18df08d8470b01722612ed7ebca28a4113e55a1d           0.0s
 => => naming to r8.im/ultimatech-cn/instant-id-basic                                                  0.0s
Validating model schema...
Adding labels to image...
ⅹ Failed to get last layer digest for cog base image: Get "https://us-docker.pkg.dev/artifacts-downloads/namespaces/replicate-production/repositories/replicate-us/downloads/ALpRbLCfrWK_tufbyhxnC-........aMiUdTBCrLMaN5VJ_XssKaOIv8uNyVD9Ll24PrjxChAjFFYjjHTLJR0Gp_DA2s28ysxmEc1aszSaDLBMMH78O85KU7i4-xH16ohNh1D_LwJc72qzz8c3X2uU5ub0rjsnnZffm8MldtMAFjjJfirVfg_S39SlFxvybtlC76VZWn1Ka-QKX2wOrQ70jtqCzEHL1mh_GCg58TEvyJn08BJeLOO5TvOplu1QDDGqTq0baGtfkvcWVZNUnbiv6MgMg94wgCb_hZv2K7YybKljzwmscv3AbdSQwOICR763scZ2frRSNKicS6egBc9KK-MafGbSu-qSyTrJ": dial tcp 74.125.20.82:443: i/o timeout

Any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant