-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I'm new to Docker and attempting to get started with Pixray. After following the install process I attempt to build a test from the doco: python pixray.py --drawer=pixel --prompt=sunrise but it dies with the following result:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: driver error: failed to process request: unknown.
ⅹ exit status 125
The full output prior to that point is as follows:
`Building Docker image from environment in cog.yaml...
[+] Building 3.4s (17/17) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.56kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> resolve image config for docker.io/docker/dockerfile:1.2 2.2s
=> CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc 0.0s
=> [internal] load metadata for docker.io/nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04 1.0s
=> [stage-0 1/9] FROM docker.io/nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04@sha256:9843db9f92253080bcaad66e44cf8f5e9fbfef3291e10f854d5e226699c 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 16.35kB 0.0s
=> CACHED [stage-0 2/9] RUN --mount=type=cache,target=/var/cache/apt apt-get update -qq && apt-get install -qqy --no-install-recommends mak 0.0s
=> CACHED [stage-0 3/9] RUN curl https://pyenv.run | bash && git clone https://github.com/momo-lab/pyenv-install-latest.git "$(pyenv root)" 0.0s
=> CACHED [stage-0 4/9] COPY .cog/tmp/build3151651485/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-none-any.whl 0.0s
=> CACHED [stage-0 5/9] RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none-any.whl 0.0s
=> CACHED [stage-0 6/9] COPY requirements.txt /tmp/requirements.txt 0.0s
=> CACHED [stage-0 7/9] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt && rm /tmp/requirements.txt 0.0s
=> CACHED [stage-0 8/9] RUN git clone https://github.com/pixray/diffvg && cd diffvg && git submodule update --init --recursive && CMAKE_PREF 0.0s
=> CACHED [stage-0 9/9] WORKDIR /src 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:156d43cb50d249ed8d3c542583f37c388f010cc1ef657ba6ca44325cea81ddc5 0.0s
=> => naming to docker.io/library/cog-pixray-base 0.0s
=> exporting cache 0.0s
=> => preparing build cache for export 0.0s
Running 'python pixray.py --drawer=pixel --prompt=sunrise' in Docker with the current directory mounted as a volume...`
It's been a bumpy ride getting everything set up, but this is one hurdle I can't solve - any ideas where the issue is so I know where to direct my attention?