Skip to content

Operation error reporting #77

Description

@qingfengfenga

WSL2

$ cog run script/download-weights
Building Docker image from environment in cog.yaml...
[+] Building 14.0s (15/16)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 2.01kB                                                                             0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 34B                                                                                   0.0s
 => resolve image config for docker.io/docker/dockerfile:1.2                                                       0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:1.2                                                          0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04                             0.0s
 => [stage-0  1/10] FROM docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04                                     0.0s
 => [internal] load build context                                                                                  0.1s
 => => transferring context: 40.63kB                                                                               0.1s
 => CACHED [stage-0  2/10] RUN rm -f /etc/apt/sources.list.d/cuda.list &&     rm -f /etc/apt/sources.list.d/nvidi  0.0s
 => CACHED [stage-0  3/10] RUN --mount=type=cache,target=/var/cache/apt set -eux; apt-get update -qq; apt-get ins  0.0s
 => CACHED [stage-0  4/10] RUN --mount=type=cache,target=/var/cache/apt apt-get update -qq && apt-get install -qq  0.0s
 => CACHED [stage-0  5/10] RUN curl -s -S -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/p  0.0s
 => CACHED [stage-0  6/10] COPY .cog/tmp/build2431266460/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-no  0.0s
 => CACHED [stage-0  7/10] RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none  0.0s
 => CACHED [stage-0  8/10] COPY .cog/tmp/build2431266460/requirements.txt /tmp/requirements.txt                    0.0s
 => ERROR [stage-0  9/10] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt     13.5s
------
 > [stage-0  9/10] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt:
#15 1.134 Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
#15 3.250 Collecting diffusers==0.11.1
#15 3.257   Using cached diffusers-0.11.1-py3-none-any.whl (524 kB)
#15 4.544 Collecting torch==1.13.0+cu116
#15 13.49 /root/.pyenv/pyenv.d/exec/pip-rehash/pip: line 20:    99 Killed                  "$PYENV_COMMAND_PATH" "$@"
------
executor failed running [/bin/sh -c pip install -r /tmp/requirements.txt]: exit code: 137
ⅹ Failed to build Docker image: exit status 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions