Spaces:
Build error
Build error
build error
Build failed with exit code: 1
Build logs:
===== Build Queued at 2023-03-24 14:43:27 / Commit SHA: 786d4c8 =====
r59gl 2023-03-24T14:43:32.390Z --> FROM docker.io/library/python:3.8.9@sha256:49d05fff9cb3b185b15ffd92d8e6bd61c20aa916133dca2e3dbe0215270faf53
r59gl 2023-03-24T14:43:32.390Z DONE 0.0s
r59gl 2023-03-24T14:43:32.504Z --> RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1"
r59gl 2023-03-24T14:43:32.504Z CACHED
r59gl 2023-03-24T14:43:32.504Z --> RUN --mount=target=/root/packages.txt,source=packages.txt sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && sed -i '/security/d' /etc/apt/sources.list && apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
r59gl 2023-03-24T14:43:32.504Z CACHED
r59gl 2023-03-24T14:43:32.504Z --> WORKDIR /home/user/app
r59gl 2023-03-24T14:43:32.504Z CACHED
r59gl 2023-03-24T14:43:32.504Z --> RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && sed -i '/security/d' /etc/apt/sources.list && apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
r59gl 2023-03-24T14:43:32.504Z CACHED
r59gl 2023-03-24T14:43:32.504Z --> RUN useradd -m -u 1000 user
r59gl 2023-03-24T14:43:32.504Z CACHED
r59gl 2023-03-24T14:43:32.504Z --> RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt pip install --no-cache-dir -r pre-requirements.txt
r59gl 2023-03-24T14:43:34.952Z DONE 2.5s
r59gl 2023-03-24T14:43:38.208Z DONE 5.8s
r59gl 2023-03-24T14:43:40.301Z DONE 7.8s
r59gl 2023-03-24T14:43:40.301Z --> RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
r59gl 2023-03-24T14:43:41.008Z Defaulting to user installation because normal site-packages is not writeable
r59gl 2023-03-24T14:43:41.008Z Collecting git+git://github.com/huggingface/transformers (from -r requirements.txt (line 5))
r59gl 2023-03-24T14:43:41.158Z Cloning git://github.com/huggingface/transformers to /tmp/pip-req-build-hx57yq22
r59gl 2023-03-24T14:43:41.158Z Running command git clone --filter=blob:none --quiet git://github.com/huggingface/transformers /tmp/pip-req-build-hx57yq22
r59gl 2023-03-24T14:45:51.994Z fatal: unable to connect to github.com:
r59gl 2023-03-24T14:45:52.144Z github.com[0: 140.82.113.3]: errno=Connection timed out
r59gl 2023-03-24T14:45:52.144Z
r59gl 2023-03-24T14:45:52.144Z error: subprocess-exited-with-error
r59gl 2023-03-24T14:45:52.144Z
r59gl 2023-03-24T14:45:52.144Z × git clone --filter=blob:none --quiet git://github.com/huggingface/transformers /tmp/pip-req-build-hx57yq22 did not run successfully.
r59gl 2023-03-24T14:45:52.144Z │ exit code: 128
r59gl 2023-03-24T14:45:52.144Z ╰─> See above for output.
r59gl 2023-03-24T14:45:52.144Z
r59gl 2023-03-24T14:45:52.144Z note: This error originates from a subprocess, and is likely not a problem with pip.
r59gl 2023-03-24T14:45:52.144Z error: subprocess-exited-with-error
r59gl 2023-03-24T14:45:52.144Z
r59gl 2023-03-24T14:45:52.144Z × git clone --filter=blob:none --quiet git://github.com/huggingface/transformers /tmp/pip-req-build-hx57yq22 did not run successfully.
r59gl 2023-03-24T14:45:52.144Z │ exit code: 128
r59gl 2023-03-24T14:45:52.144Z ╰─> See above for output.
r59gl 2023-03-24T14:45:52.144Z
r59gl 2023-03-24T14:45:52.144Z note: This error originates from a subprocess, and is likely not a problem with pip.
r59gl 2023-03-24T14:45:52.144Z
r59gl 2023-03-24T14:45:52.144Z [notice] A new release of pip available: 22.3.1 -> 23.0.1
r59gl 2023-03-24T14:45:52.144Z [notice] To update, run: python -m pip install --upgrade pip
r59gl 2023-03-24T14:45:52.524Z
--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1