runpod-workers / worker-a1111

Automatic1111 serverless worker.
MIT License
75 stars 109 forks source link

error building on MacBook Pro M1 #1

Closed harrywang closed 1 year ago

harrywang commented 1 year ago

just clone the repo and run docker build . with Mac Docker Desktop.

Thanks for the help!

harrywang@m1-hw worker-a1111 % docker build .
[+] Building 133.7s (18/30)                                                                                              
 => [internal] load build definition from Dockerfile                                                                0.0s
 => => transferring dockerfile: 3.65kB                                                                              0.0s
 => [internal] load .dockerignore                                                                                   0.0s
 => => transferring context: 2B                                                                                     0.0s
 => [internal] load metadata for docker.io/alpine/git:2.36.2                                                        1.3s
 => [internal] load metadata for docker.io/library/python:3.10.9-slim                                               1.3s
 => [auth] library/python:pull token for registry-1.docker.io                                                       0.0s
 => [auth] alpine/git:pull token for registry-1.docker.io                                                           0.0s
 => [internal] load build context                                                                                   0.7s
 => => transferring context: 3.39kB                                                                                 0.5s
 => [download 1/7] FROM docker.io/alpine/git:2.36.2@sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e  1.4s
 => => resolve docker.io/alpine/git:2.36.2@sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e1c75dea84  0.0s
 => => sha256:973c2a621dac43e67c2f321c3418826d42836066a6d670d45f369bd9e7ed9778 946B / 946B                          0.0s
 => => sha256:8bfbb50cd816b8f1f67612db507558338970b6531b3f7c372fbd406ca58bfaae 1.85kB / 1.85kB                      0.0s
 => => sha256:9b18e9b68314027565b90ff6189d65942c0f7986da80df008b8431276885218e 2.71MB / 2.71MB                      0.7s
 => => sha256:59deecb6b7b98b6acbebdf7e1630829d267e96d70d8dbe9a364307c7603ef04f 18.14MB / 18.14MB                    1.0s
 => => sha256:ec5a03ff1e3fef447c2843fd540a9eb5e6962f514a5fcfbff7f9c760997d6f70 99B / 99B                            0.3s
 => => sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e1c75dea84 2.03kB / 2.03kB                      0.0s
 => => extracting sha256:9b18e9b68314027565b90ff6189d65942c0f7986da80df008b8431276885218e                           0.2s
 => => extracting sha256:59deecb6b7b98b6acbebdf7e1630829d267e96d70d8dbe9a364307c7603ef04f                           0.2s
 => => extracting sha256:ec5a03ff1e3fef447c2843fd540a9eb5e6962f514a5fcfbff7f9c760997d6f70                           0.0s
 => [stage-1  1/16] FROM docker.io/library/python:3.10.9-slim@sha256:76dd18d90a3d8710e091734bf2c9dd686d68747a5190  10.4s
 => => resolve docker.io/library/python:3.10.9-slim@sha256:76dd18d90a3d8710e091734bf2c9dd686d68747a51908db1e1f41e9  0.0s
 => => sha256:76dd18d90a3d8710e091734bf2c9dd686d68747a51908db1e1f41e9a5ed4e2c5 1.86kB / 1.86kB                      0.0s
 => => sha256:76a879c38fd1d2f5c33020107abc0b78ab6a3d4c57ed212597848a625ac2fb5d 1.37kB / 1.37kB                      0.0s
 => => sha256:45fb1e8d65c5b10438e81c1569ee5a18fad07805f0a75aef313c365e6e4b846f 7.80kB / 7.80kB                      0.0s
 => => sha256:f79f8cc5c20d534298dd6317333f38b7691da6d66e063ff10699727982c852be 30.04MB / 30.04MB                    9.3s
 => => sha256:fd39f0f25050797f48d603bfa8bb789fce6b8b280ee043f8e33618cd151a412c 1.06MB / 1.06MB                      1.1s
 => => sha256:d3be0db9a71f08cde682d2948353825e4fc98929932521a2b81c1b4a740794f6 11.83MB / 11.83MB                    1.8s
 => => sha256:69f2b431043e92559437d28efcad4825de977ce6708f3481034556326b5867c1 233B / 233B                          1.2s
 => => sha256:ab19003b714680d29fbc7d3042e05c6d1ab5d4c75bf55a287d6ead8f8a021f2c 3.35MB / 3.35MB                      1.7s
 => => extracting sha256:f79f8cc5c20d534298dd6317333f38b7691da6d66e063ff10699727982c852be                           0.5s
 => => extracting sha256:fd39f0f25050797f48d603bfa8bb789fce6b8b280ee043f8e33618cd151a412c                           0.1s
 => => extracting sha256:d3be0db9a71f08cde682d2948353825e4fc98929932521a2b81c1b4a740794f6                           0.2s
 => => extracting sha256:69f2b431043e92559437d28efcad4825de977ce6708f3481034556326b5867c1                           0.0s 
 => => extracting sha256:ab19003b714680d29fbc7d3042e05c6d1ab5d4c75bf55a287d6ead8f8a021f2c                           0.1s 
 => [download 2/7] COPY builder/clone.sh /clone.sh                                                                  0.1s 
 => [download 3/7] RUN . /clone.sh taming-transformers https://github.com/CompVis/taming-transformers.git 24268930  7.5s 
 => [download 4/7] RUN . /clone.sh stable-diffusion-stability-ai https://github.com/Stability-AI/stablediffusion.g  4.1s 
 => [stage-1  2/16] RUN apt-get update &&     apt install -y     fonts-dejavu-core rsync git jq moreutils aria2 w  11.4s
 => [download 5/7] RUN . /clone.sh CodeFormer https://github.com/sczhou/CodeFormer.git c5b4593074ba6214284d6acd5f1  1.1s
 => [download 6/7] RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144  2.2s
 => [download 7/7] RUN wget -O /model.safetensors https://civitai.com/api/download/models/15236                    98.5s
 => [stage-1  3/16] RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip     pip insta  60.3s
 => ERROR [stage-1  4/16] RUN --mount=type=cache,target=/root/.cache/pip     git clone https://github.com/AUTOMAT  50.2s
------                                                                                                                   
 > [stage-1  4/16] RUN --mount=type=cache,target=/root/.cache/pip     git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git &&     cd stable-diffusion-webui &&     git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045 &&     pip install -r requirements_versions.txt:
#10 0.325 Cloning into 'stable-diffusion-webui'...
#10 4.008 HEAD is now at 89f9faa6 Merge branch 'release_candidate'
#10 4.416 Collecting blendmodes==2022
#10 4.708   Downloading blendmodes-2022-py3-none-any.whl (10 kB)
#10 4.803 Collecting transformers==4.25.1
#10 4.864   Downloading transformers-4.25.1-py3-none-any.whl (5.8 MB)
#10 6.128      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 4.7 MB/s eta 0:00:00
#10 6.173 Collecting accelerate==0.18.0
#10 6.202   Downloading accelerate-0.18.0-py3-none-any.whl (215 kB)
#10 6.218      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.3/215.3 kB 13.8 MB/s eta 0:00:00
#10 6.254 Collecting basicsr==1.4.2
#10 6.285   Downloading basicsr-1.4.2.tar.gz (172 kB)
#10 6.297      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.5/172.5 kB 14.6 MB/s eta 0:00:00
#10 6.319   Preparing metadata (setup.py): started
#10 9.392   Preparing metadata (setup.py): finished with status 'done'
#10 9.424 Collecting gfpgan==1.3.8
#10 9.449   Downloading gfpgan-1.3.8-py3-none-any.whl (52 kB)
#10 9.454      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 12.9 MB/s eta 0:00:00
#10 9.561 Collecting gradio==3.29.0
#10 9.591   Downloading gradio-3.29.0-py3-none-any.whl (17.3 MB)
#10 11.03      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 13.2 MB/s eta 0:00:00
#10 11.19 Collecting numpy==1.23.5
#10 11.22   Downloading numpy-1.23.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.9 MB)
#10 12.48      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.9/13.9 MB 11.3 MB/s eta 0:00:00
#10 12.66 Collecting Pillow==9.4.0
#10 12.69   Downloading Pillow-9.4.0-cp310-cp310-manylinux_2_28_aarch64.whl (3.1 MB)
#10 12.94      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 12.3 MB/s eta 0:00:00
#10 12.98 Collecting realesrgan==0.3.0
#10 13.01   Downloading realesrgan-0.3.0-py3-none-any.whl (26 kB)
#10 13.01 Requirement already satisfied: torch in /usr/local/lib/python3.10/site-packages (from -r requirements_versions.txt (line 10)) (1.13.1)
#10 13.07 Collecting omegaconf==2.2.3
#10 13.10   Downloading omegaconf-2.2.3-py3-none-any.whl (79 kB)
#10 13.10      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.3/79.3 kB 16.5 MB/s eta 0:00:00
#10 13.16 Collecting pytorch_lightning==1.9.4
#10 13.19   Downloading pytorch_lightning-1.9.4-py3-none-any.whl (827 kB)
#10 13.26      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 827.8/827.8 kB 11.8 MB/s eta 0:00:00
#10 13.36 Collecting scikit-image==0.19.2
#10 13.40   Downloading scikit_image-0.19.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.5 MB)
#10 15.62      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.5/13.5 MB 5.9 MB/s eta 0:00:00
#10 15.68 Collecting fonts
#10 15.72   Downloading fonts-0.0.3-py3-none-any.whl (4.2 kB)
#10 15.76 Collecting font-roboto
#10 15.78   Downloading font-roboto-0.0.1.tar.gz (2.4 MB)
#10 16.16      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 6.3 MB/s eta 0:00:00
#10 16.22   Preparing metadata (setup.py): started
#10 16.36   Preparing metadata (setup.py): finished with status 'done'
#10 16.39 Collecting timm==0.6.7
#10 16.42   Downloading timm-0.6.7-py3-none-any.whl (509 kB)
#10 16.51      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 510.0/510.0 kB 5.9 MB/s eta 0:00:00
#10 16.57 Collecting piexif==1.1.3
#10 16.63   Downloading piexif-1.1.3-py2.py3-none-any.whl (20 kB)
#10 16.70 Collecting einops==0.4.1
#10 16.77   Downloading einops-0.4.1-py3-none-any.whl (28 kB)
#10 16.83 Collecting jsonmerge==1.8.0
#10 16.88   Downloading jsonmerge-1.8.0.tar.gz (26 kB)
#10 16.89   Preparing metadata (setup.py): started
#10 17.02   Preparing metadata (setup.py): finished with status 'done'
#10 17.09 Collecting clean-fid==0.1.29
#10 17.14   Downloading clean_fid-0.1.29-py3-none-any.whl (24 kB)
#10 17.20 Collecting resize-right==0.0.2
#10 17.26   Downloading resize_right-0.0.2-py3-none-any.whl (8.9 kB)
#10 17.35 Collecting torchdiffeq==0.2.3
#10 17.40   Downloading torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
#10 17.47 Collecting kornia==0.6.7
#10 17.51   Downloading kornia-0.6.7-py2.py3-none-any.whl (565 kB)
#10 17.61      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 565.1/565.1 kB 6.2 MB/s eta 0:00:00
#10 17.68 Collecting lark==1.1.2
#10 17.73   Downloading lark-1.1.2-py2.py3-none-any.whl (104 kB)
#10 17.75      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.7/104.7 kB 6.4 MB/s eta 0:00:00
#10 17.80 Collecting inflection==0.5.1
#10 17.85   Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
#10 17.93 Collecting GitPython==3.1.30
#10 17.98   Downloading GitPython-3.1.30-py3-none-any.whl (184 kB)
#10 18.00      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.0/184.0 kB 7.8 MB/s eta 0:00:00
#10 18.05 Collecting torchsde==0.2.5
#10 18.10   Downloading torchsde-0.2.5-py3-none-any.whl (59 kB)
#10 18.11      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.2/59.2 kB 5.2 MB/s eta 0:00:00
#10 18.21 Collecting safetensors==0.3.1
#10 18.26   Downloading safetensors-0.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB)
#10 18.46      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.3 MB/s eta 0:00:00
#10 18.53 Collecting httpcore<=0.15
#10 18.57   Downloading httpcore-0.15.0-py3-none-any.whl (68 kB)
#10 18.58      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.4/68.4 kB 6.2 MB/s eta 0:00:00
#10 18.67 Collecting fastapi==0.94.0
#10 18.71   Downloading fastapi-0.94.0-py3-none-any.whl (56 kB)
#10 18.72      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 kB 5.1 MB/s eta 0:00:00
#10 18.78 Collecting aenum<4,>=3.1.7
#10 18.82   Downloading aenum-3.1.12-py3-none-any.whl (131 kB)
#10 18.84      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.8/131.8 kB 7.1 MB/s eta 0:00:00
#10 18.89 Collecting deprecation<3,>=2.1.0
#10 18.93   Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
#10 19.46 Collecting regex!=2019.12.17
#10 19.49   Downloading regex-2023.5.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (768 kB)
#10 19.58      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 769.0/769.0 kB 8.5 MB/s eta 0:00:00
#10 19.65 Collecting requests
#10 19.68   Downloading requests-2.31.0-py3-none-any.whl (62 kB)
#10 19.69      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 6.4 MB/s eta 0:00:00
#10 19.74 Collecting pyyaml>=5.1
#10 19.78   Downloading PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (733 kB)
#10 19.87      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 733.7/733.7 kB 8.1 MB/s eta 0:00:00
#10 19.94 Collecting packaging>=20.0
#10 19.96   Downloading packaging-23.1-py3-none-any.whl (48 kB)
#10 19.97      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 22.2 MB/s eta 0:00:00
#10 20.02 Collecting tqdm>=4.27
#10 20.05   Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
#10 20.06      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 10.7 MB/s eta 0:00:00
#10 20.17 Collecting tokenizers!=0.11.3,<0.14,>=0.11.1
#10 20.19   Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.5 MB)
#10 21.49      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 5.7 MB/s eta 0:00:00
#10 21.56 Collecting huggingface-hub<1.0,>=0.10.0
#10 21.58   Downloading huggingface_hub-0.14.1-py3-none-any.whl (224 kB)
#10 21.61      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.5/224.5 kB 7.3 MB/s eta 0:00:00
#10 21.65 Collecting filelock
#10 21.68   Downloading filelock-3.12.0-py3-none-any.whl (10 kB)
#10 21.79 Collecting psutil
#10 21.81   Downloading psutil-5.9.5.tar.gz (493 kB)
#10 21.87      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 493.5/493.5 kB 9.3 MB/s eta 0:00:00
#10 21.91   Installing build dependencies: started
#10 23.58   Installing build dependencies: finished with status 'done'
#10 23.58   Getting requirements to build wheel: started
#10 23.72   Getting requirements to build wheel: finished with status 'done'
#10 23.72   Preparing metadata (pyproject.toml): started
#10 23.84   Preparing metadata (pyproject.toml): finished with status 'done'
#10 23.91 Collecting addict
#10 23.95   Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
#10 24.01 Collecting future
#10 24.06   Downloading future-0.18.3.tar.gz (840 kB)
#10 24.19      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 6.3 MB/s eta 0:00:00
#10 24.26   Preparing metadata (setup.py): started
#10 24.40   Preparing metadata (setup.py): finished with status 'done'
#10 24.45 Collecting lmdb
#10 24.48   Downloading lmdb-1.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (298 kB)
#10 24.54      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.4/298.4 kB 5.4 MB/s eta 0:00:00
#10 24.66 Collecting opencv-python
#10 24.72   Downloading opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (40.4 MB)
#10 29.91      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.4/40.4 MB 9.3 MB/s eta 0:00:00
#10 30.03 Collecting scipy
#10 30.06   Downloading scipy-1.10.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (30.9 MB)
#10 33.18      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.9/30.9 MB 12.0 MB/s eta 0:00:00
#10 33.72 Collecting tb-nightly
#10 33.75   Downloading tb_nightly-2.14.0a20230531-py3-none-any.whl (5.6 MB)
#10 34.08      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 17.2 MB/s eta 0:00:00
#10 34.09 Requirement already satisfied: torchvision in /usr/local/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.1.6)
#10 34.12 Collecting yapf
#10 34.15   Downloading yapf-0.33.0-py2.py3-none-any.whl (200 kB)
#10 34.16      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.9/200.9 kB 22.2 MB/s eta 0:00:00
#10 34.19 Collecting facexlib>=0.2.5
#10 34.22   Downloading facexlib-0.3.0-py3-none-any.whl (59 kB)
#10 34.22      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.6/59.6 kB 15.0 MB/s eta 0:00:00
#10 34.38 Collecting matplotlib
#10 34.42   Downloading matplotlib-3.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.3 MB)
#10 35.07      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 17.5 MB/s eta 0:00:00
#10 35.14 Collecting mdit-py-plugins<=0.3.3
#10 35.17   Downloading mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB)
#10 35.17      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 kB 21.5 MB/s eta 0:00:00
#10 35.27 Collecting pydantic
#10 35.30   Downloading pydantic-1.10.8-py3-none-any.whl (157 kB)
#10 35.31      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.5/157.5 kB 22.2 MB/s eta 0:00:00
#10 35.34 Collecting aiofiles
#10 35.37   Downloading aiofiles-23.1.0-py3-none-any.whl (14 kB)
#10 35.43 Collecting markupsafe
#10 35.45   Downloading MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26 kB)
#10 35.49 Collecting jinja2
#10 35.52   Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
#10 35.53      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 12.1 MB/s eta 0:00:00
#10 35.58 Collecting httpx
#10 35.61   Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
#10 35.61      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.4/75.4 kB 13.8 MB/s eta 0:00:00
#10 35.65 Collecting markdown-it-py[linkify]>=2.0.0
#10 35.68   Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
#10 35.68      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 15.7 MB/s eta 0:00:00
#10 35.72 Collecting gradio-client>=0.2.1
#10 35.74   Downloading gradio_client-0.2.5-py3-none-any.whl (288 kB)
#10 35.76      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 288.1/288.1 kB 24.3 MB/s eta 0:00:00
#10 35.93 Collecting aiohttp
#10 35.96   Downloading aiohttp-3.8.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB)
#10 36.01      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 18.1 MB/s eta 0:00:00
#10 36.05 Collecting pygments>=2.12.0
#10 36.07   Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB)
#10 36.13      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 20.5 MB/s eta 0:00:00
#10 36.14 Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/site-packages (from gradio==3.29.0->-r requirements_versions.txt (line 6)) (4.4.0)
#10 36.17 Collecting semantic-version
#10 36.19   Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
#10 36.22 Collecting ffmpy
#10 36.25   Downloading ffmpy-0.3.0.tar.gz (4.8 kB)
#10 36.25   Preparing metadata (setup.py): started
#10 36.43   Preparing metadata (setup.py): finished with status 'done'
#10 36.50 Collecting websockets>=10.0
#10 36.53   Downloading websockets-11.0.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (130 kB)
#10 36.54      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.6/130.6 kB 21.9 MB/s eta 0:00:00
#10 36.71 Collecting pandas
#10 36.74   Downloading pandas-2.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.6 MB)
#10 37.37      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 18.1 MB/s eta 0:00:00
#10 37.45 Collecting altair>=4.2.0
#10 37.47   Downloading altair-5.0.1-py3-none-any.whl (471 kB)
#10 37.51      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 471.5/471.5 kB 16.0 MB/s eta 0:00:00
#10 37.54 Collecting uvicorn>=0.14.0
#10 37.57   Downloading uvicorn-0.22.0-py3-none-any.whl (58 kB)
#10 37.58      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 12.4 MB/s eta 0:00:00
#10 37.72 Collecting orjson
#10 37.75   Downloading orjson-3.8.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (263 kB)
#10 37.76      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 263.2/263.2 kB 24.2 MB/s eta 0:00:00
#10 37.79 Collecting python-multipart
#10 37.81   Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB)
#10 37.81      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 kB 21.5 MB/s eta 0:00:00
#10 37.86 Collecting pydub
#10 37.89   Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
#10 37.95 Collecting antlr4-python3-runtime==4.9.*
#10 37.97   Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
#10 37.98      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.0/117.0 kB 21.1 MB/s eta 0:00:00
#10 37.99   Preparing metadata (setup.py): started
#10 38.12   Preparing metadata (setup.py): finished with status 'done'
#10 38.19 Collecting torchmetrics>=0.7.0
#10 38.22   Downloading torchmetrics-0.11.4-py3-none-any.whl (519 kB)
#10 38.25      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 519.2/519.2 kB 20.9 MB/s eta 0:00:00
#10 38.29 Collecting fsspec[http]>2021.06.0
#10 38.33   Downloading fsspec-2023.5.0-py3-none-any.whl (160 kB)
#10 38.33      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.1/160.1 kB 23.2 MB/s eta 0:00:00
#10 38.37 Collecting lightning-utilities>=0.6.0.post0
#10 38.39   Downloading lightning_utilities-0.8.0-py3-none-any.whl (20 kB)
#10 38.46 Collecting PyWavelets>=1.1.1
#10 38.48   Downloading PyWavelets-1.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB)
#10 38.83      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.7/6.7 MB 19.6 MB/s eta 0:00:00
#10 38.89 Collecting tifffile>=2019.7.26
#10 38.92   Downloading tifffile-2023.4.12-py3-none-any.whl (219 kB)
#10 38.93      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 219.4/219.4 kB 28.3 MB/s eta 0:00:00
#10 38.97 Collecting networkx>=2.2
#10 39.00   Downloading networkx-3.1-py3-none-any.whl (2.1 MB)
#10 39.10      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 20.3 MB/s eta 0:00:00
#10 39.15 Collecting imageio>=2.4.1
#10 39.18   Downloading imageio-2.30.0-py3-none-any.whl (312 kB)
#10 39.20      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.7/312.7 kB 19.3 MB/s eta 0:00:00
#10 39.24 Collecting jsonschema
#10 39.26   Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
#10 39.27      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 21.7 MB/s eta 0:00:00
#10 39.29 Collecting requests
#10 39.32   Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
#10 39.32      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 28.0 MB/s eta 0:00:00
#10 39.37 Collecting gitdb<5,>=4.0.1
#10 39.39   Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
#10 39.40      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 29.4 MB/s eta 0:00:00
#10 39.44 Collecting boltons>=20.2.1
#10 39.46   Downloading boltons-23.0.0-py2.py3-none-any.whl (194 kB)
#10 39.47      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.8/194.8 kB 19.7 MB/s eta 0:00:00
#10 39.51 Collecting trampoline>=0.1.2
#10 39.53   Downloading trampoline-0.1.2-py3-none-any.whl (5.2 kB)
#10 39.64 Collecting starlette<0.27.0,>=0.26.0
#10 39.66   Downloading starlette-0.26.1-py3-none-any.whl (66 kB)
#10 39.66      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.9/66.9 kB 26.1 MB/s eta 0:00:00
#10 39.70 Collecting chardet<5,>=3.0.2
#10 39.72   Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
#10 39.73      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.7/178.7 kB 34.0 MB/s eta 0:00:00
#10 39.77 Collecting urllib3<1.27,>=1.21.1
#10 39.80   Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB)
#10 39.80      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 20.6 MB/s eta 0:00:00
#10 39.84 Collecting certifi>=2017.4.17
#10 39.86   Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
#10 39.87      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 13.2 MB/s eta 0:00:00
#10 39.90 Collecting idna<3,>=2.5
#10 39.92   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
#10 39.93      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 17.4 MB/s eta 0:00:00
#10 39.97 Collecting anyio==3.*
#10 40.00   Downloading anyio-3.7.0-py3-none-any.whl (80 kB)
#10 40.00      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 39.0 MB/s eta 0:00:00
#10 40.03 Collecting sniffio==1.*
#10 40.05   Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
#10 40.09 Collecting h11<0.13,>=0.11
#10 40.11   Downloading h11-0.12.0-py3-none-any.whl (54 kB)
#10 40.11      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.9/54.9 kB 23.3 MB/s eta 0:00:00
#10 40.16 Collecting exceptiongroup
#10 40.19   Downloading exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
#10 40.28 Collecting toolz
#10 40.30   Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
#10 40.31      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 22.4 MB/s eta 0:00:00
#10 40.35 Collecting filterpy
#10 40.38   Downloading filterpy-1.4.5.zip (177 kB)
#10 40.39      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.0/178.0 kB 25.2 MB/s eta 0:00:00
#10 40.40   Preparing metadata (setup.py): started
#10 40.52   Preparing metadata (setup.py): finished with status 'done'
#10 40.66 Collecting numba
#10 40.70   Downloading numba-0.57.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (3.3 MB)
#10 40.87      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 20.4 MB/s eta 0:00:00
#10 40.97 Collecting frozenlist>=1.1.1
#10 40.99   Downloading frozenlist-1.3.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (148 kB)
#10 41.00      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.1/148.1 kB 21.1 MB/s eta 0:00:00
#10 41.03 Collecting aiosignal>=1.1.2
#10 41.05   Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
#10 41.09 Collecting attrs>=17.3.0
#10 41.11   Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
#10 41.11      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 23.1 MB/s eta 0:00:00
#10 41.27 Collecting multidict<7.0,>=4.5
#10 41.29   Downloading multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (116 kB)
#10 41.30      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.6/116.6 kB 19.1 MB/s eta 0:00:00
#10 41.33 Collecting async-timeout<5.0,>=4.0.0a3
#10 41.35   Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
#10 41.46 Collecting yarl<2.0,>=1.0
#10 41.48   Downloading yarl-1.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (262 kB)
#10 41.50      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 262.1/262.1 kB 17.8 MB/s eta 0:00:00
#10 41.56 Collecting charset-normalizer<4.0,>=2.0
#10 41.58   Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (195 kB)
#10 41.59      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 22.7 MB/s eta 0:00:00
#10 41.63 Collecting smmap<6,>=3.0.1
#10 41.65   Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
#10 41.76 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
#10 41.79   Downloading pyrsistent-0.19.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (117 kB)
#10 41.79      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.2/117.2 kB 15.4 MB/s eta 0:00:00
#10 41.84 Collecting mdurl~=0.1
#10 41.86   Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
#10 41.90 Collecting linkify-it-py<3,>=1
#10 41.92   Downloading linkify_it_py-2.0.2-py3-none-any.whl (19 kB)
#10 42.03 Collecting tzdata>=2022.1
#10 42.06   Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
#10 42.07      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 kB 26.1 MB/s eta 0:00:00
#10 42.11 Collecting python-dateutil>=2.8.2
#10 42.13   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
#10 42.14      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 26.4 MB/s eta 0:00:00
#10 42.20 Collecting pytz>=2020.1
#10 42.22   Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
#10 42.25      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 21.7 MB/s eta 0:00:00
#10 42.39 Collecting click>=7.0
#10 42.42   Downloading click-8.1.3-py3-none-any.whl (96 kB)
#10 42.42      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 50.2 MB/s eta 0:00:00
#10 42.52 Collecting kiwisolver>=1.0.1
#10 42.55   Downloading kiwisolver-1.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB)
#10 42.61      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 21.7 MB/s eta 0:00:00
#10 42.67 Collecting contourpy>=1.0.1
#10 42.70   Downloading contourpy-1.0.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (283 kB)
#10 42.71      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.7/283.7 kB 27.9 MB/s eta 0:00:00
#10 42.76 Collecting fonttools>=4.22.0
#10 42.78   Downloading fonttools-4.39.4-py3-none-any.whl (1.0 MB)
#10 42.83      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 20.5 MB/s eta 0:00:00
#10 42.87 Collecting pyparsing>=2.3.1
#10 42.90   Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
#10 42.90      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 22.3 MB/s eta 0:00:00
#10 42.95 Collecting cycler>=0.10
#10 42.97   Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
#10 43.03 Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.38.4)
#10 43.10 Collecting google-auth<3,>=1.6.3
#10 43.13   Downloading google_auth-2.19.0-py2.py3-none-any.whl (181 kB)
#10 43.14      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 17.3 MB/s eta 0:00:00
#10 43.18 Collecting markdown>=2.6.8
#10 43.20   Downloading Markdown-3.4.3-py3-none-any.whl (93 kB)
#10 43.21      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.9/93.9 kB 16.6 MB/s eta 0:00:00
#10 43.21 Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (65.5.1)
#10 43.27 Collecting werkzeug>=1.0.1
#10 43.29   Downloading Werkzeug-2.3.4-py3-none-any.whl (242 kB)
#10 43.30      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.5/242.5 kB 24.4 MB/s eta 0:00:00
#10 43.55 Collecting protobuf>=3.19.6
#10 43.57   Downloading protobuf-4.23.2-cp37-abi3-manylinux2014_aarch64.whl (303 kB)
#10 43.58      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 303.4/303.4 kB 26.2 MB/s eta 0:00:00
#10 43.91 Collecting grpcio>=1.48.2
#10 43.95   Downloading grpcio-1.54.2-cp310-cp310-manylinux_2_17_aarch64.whl (4.6 MB)
#10 44.21      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 17.9 MB/s eta 0:00:00
#10 44.26 Collecting google-auth-oauthlib<1.1,>=0.5
#10 44.28   Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
#10 44.31 Collecting tensorboard-data-server<0.8.0,>=0.7.0
#10 44.34   Downloading tensorboard_data_server-0.7.0-py3-none-any.whl (2.4 kB)
#10 44.38 Collecting absl-py>=0.4
#10 44.40   Downloading absl_py-1.4.0-py3-none-any.whl (126 kB)
#10 44.41      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.5/126.5 kB 17.9 MB/s eta 0:00:00
#10 44.47 Collecting tomli>=2.0.1
#10 44.50   Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
#10 44.64 Collecting rsa<5,>=3.1.4
#10 44.66   Downloading rsa-4.9-py3-none-any.whl (34 kB)
#10 44.69 Collecting cachetools<6.0,>=2.0.0
#10 44.72   Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)
#10 44.76 Collecting pyasn1-modules>=0.2.1
#10 44.78   Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
#10 44.79      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 29.1 MB/s eta 0:00:00
#10 44.83 Collecting six>=1.9.0
#10 44.85   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
#10 44.89 Collecting requests-oauthlib>=0.7.0
#10 44.93   Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
#10 45.00 Collecting uc-micro-py
#10 45.03   Downloading uc_micro_py-1.0.2-py3-none-any.whl (6.2 kB)
#10 45.21 Collecting llvmlite<0.41,>=0.40.0dev0
#10 45.26   Downloading llvmlite-0.40.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (41.1 MB)
#10 47.11      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.1/41.1 MB 19.6 MB/s eta 0:00:00
#10 47.21 Collecting pyasn1<0.6.0,>=0.4.6
#10 47.24   Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
#10 47.24      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 kB 32.7 MB/s eta 0:00:00
#10 47.28 Collecting oauthlib>=3.0.0
#10 47.30   Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
#10 47.31      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 27.8 MB/s eta 0:00:00
#10 47.38 Building wheels for collected packages: basicsr, jsonmerge, antlr4-python3-runtime, font-roboto, ffmpy, future, psutil, filterpy
#10 47.38   Building wheel for basicsr (setup.py): started
#10 47.90   Building wheel for basicsr (setup.py): finished with status 'done'
#10 47.90   Created wheel for basicsr: filename=basicsr-1.4.2-py3-none-any.whl size=214824 sha256=c6282e3a1fbbb63b15ac381d11821f8a19ff948da023ba1f52b10941dc80f7a7
#10 47.90   Stored in directory: /root/.cache/pip/wheels/63/64/ff/74f948afd26363d97ff9343edc8b0064c40e9ed31f893a89df
#10 47.90   Building wheel for jsonmerge (setup.py): started
#10 48.05   Building wheel for jsonmerge (setup.py): finished with status 'done'
#10 48.05   Created wheel for jsonmerge: filename=jsonmerge-1.8.0-py3-none-any.whl size=17986 sha256=56529a5b4df15113040961c2f1b2f500aa33d6c8b5fb40f82e87fbdda59e0e1b
#10 48.05   Stored in directory: /root/.cache/pip/wheels/3b/58/8a/4dce90d490c539f059d6a0a28e0282d8a50a49a706395ab8d0
#10 48.05   Building wheel for antlr4-python3-runtime (setup.py): started
#10 48.22   Building wheel for antlr4-python3-runtime (setup.py): finished with status 'done'
#10 48.22   Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=e73332d2682c7c1dea5c75c3c03334fbeb8a9ed3446c8087cdd6fb9af8f21ff8
#10 48.22   Stored in directory: /root/.cache/pip/wheels/48/6a/c2/acb58c7afdf57e4cddf5e1513f5a2d62aa8e98f82a00c76d7c
#10 48.22   Building wheel for font-roboto (setup.py): started
#10 48.52   Building wheel for font-roboto (setup.py): finished with status 'done'
#10 48.52   Created wheel for font-roboto: filename=font_roboto-0.0.1-py3-none-any.whl size=2359736 sha256=a385b161b0e1ae64350e3861678357160d7a9b828321a18918918414985827de
#10 48.52   Stored in directory: /root/.cache/pip/wheels/9c/8e/56/6a5386fc28a776801a5345f912368528a7aa40c34a5134768e
#10 48.52   Building wheel for ffmpy (setup.py): started
#10 48.66   Building wheel for ffmpy (setup.py): finished with status 'done'
#10 48.66   Created wheel for ffmpy: filename=ffmpy-0.3.0-py3-none-any.whl size=4693 sha256=1663dad640e68a0d1202d901851c4c62756876868ff0eb0a12c00d48f75ebdc4
#10 48.66   Stored in directory: /root/.cache/pip/wheels/fe/17/e9/577da024bc5aede641c69f0675254c1e518db79800abbe135c
#10 48.67   Building wheel for future (setup.py): started
#10 48.92   Building wheel for future (setup.py): finished with status 'done'
#10 48.92   Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492025 sha256=577c42323f34d6f4a29c9cd2ce1c8856f93a86b59de6399d11f2c6f73aabbc1f
#10 48.92   Stored in directory: /root/.cache/pip/wheels/69/c0/ce/f2a18105d619f21239a048bcc58e98d8ce47ac824e0531f1a0
#10 48.93   Building wheel for psutil (pyproject.toml): started
#10 49.05   Building wheel for psutil (pyproject.toml): finished with status 'error'
#10 49.05   error: subprocess-exited-with-error
#10 49.05   
#10 49.05   × Building wheel for psutil (pyproject.toml) did not run successfully.
#10 49.05   │ exit code: 1
#10 49.05   ╰─> [43 lines of output]
#10 49.05       running bdist_wheel
#10 49.05       running build
#10 49.05       running build_py
#10 49.05       creating build
#10 49.05       creating build/lib.linux-aarch64-cpython-310
#10 49.05       creating build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/__init__.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_common.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-310/psutil
#10 49.05       creating build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/__main__.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/__init__.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-310/psutil/tests
#10 49.05       running build_ext
#10 49.05       building 'psutil._psutil_linux' extension
#10 49.05       creating build/temp.linux-aarch64-cpython-310
#10 49.05       creating build/temp.linux-aarch64-cpython-310/psutil
#10 49.05       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/usr/local/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-310/psutil/_psutil_common.o
#10 49.05       psutil could not be installed from sources because gcc is not installed. Try running:
#10 49.05         sudo apt-get install gcc python3-dev
#10 49.05       error: command 'gcc' failed: No such file or directory
#10 49.05       [end of output]
#10 49.05   
#10 49.05   note: This error originates from a subprocess, and is likely not a problem with pip.
#10 49.05   ERROR: Failed building wheel for psutil
#10 49.05   Building wheel for filterpy (setup.py): started
#10 49.23   Building wheel for filterpy (setup.py): finished with status 'done'
#10 49.23   Created wheel for filterpy: filename=filterpy-1.4.5-py3-none-any.whl size=110458 sha256=b8d084c6793f02e45791a8089759a05995bb5bca08a5c68d1c46b202751b6ea7
#10 49.23   Stored in directory: /root/.cache/pip/wheels/a4/80/24/0867e958c9459ae8d648d1adf89de38756d053debb1c9218d9
#10 49.23 Successfully built basicsr jsonmerge antlr4-python3-runtime font-roboto ffmpy future filterpy
#10 49.23 Failed to build psutil
#10 49.23 ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects
#10 49.23 
#10 49.23 [notice] A new release of pip available: 22.3.1 -> 23.1.2
#10 49.23 [notice] To update, run: pip install --upgrade pip
------
executor failed running [/bin/bash -o pipefail -c git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git &&     cd stable-diffusion-webui &&     git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045 &&     pip install -r requirements_versions.txt]: exit code: 1
harrywang commented 1 year ago

I was able to build this using Ubuntu 20.04.5 LTS:

=> [internal] load .dockerignore                                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                            0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                                                       0.1s
 => => transferring dockerfile: 3.64kB                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/python:3.10.9-slim                                                                                                                                                                      0.6s
 => [internal] load metadata for docker.io/alpine/git:2.36.2                                                                                                                                                                               0.5s
 => [internal] load build context                                                                                                                                                                                                          0.1s
 => => transferring context: 3.39kB                                                                                                                                                                                                        0.0s
 => [download 1/7] FROM docker.io/alpine/git:2.36.2@sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e1c75dea84                                                                                                                1.4s
 => => resolve docker.io/alpine/git:2.36.2@sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e1c75dea84                                                                                                                         0.0s
 => => sha256:ec491c893597b68c92b88023827faa771772cfd5e106b76c713fa5e1c75dea84 2.03kB / 2.03kB                                                                                                                                             0.0s
 => => sha256:a3e645585f160e0589529b8a3ca0fcfdba717ab93507de39ba5a96e207972927 946B / 946B                                                                                                                                                 0.0s
 => => sha256:b80d2cac43e471c2bc5cfe547a45104e69e1b194f6f3f15ba1214f5e3020575e 1.85kB / 1.85kB                                                                                                                                             0.0s
 => => sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49 2.81MB / 2.81MB                                                                                                                                             0.3s
 => => sha256:b3b6ac3db031ea7b3607e700555c68707f072c457cb4e5511c12cf529656d437 18.49MB / 18.49MB                                                                                                                                           0.3s
 => => sha256:3fd92eeca8f54976c24de929011349e191dc349bf932629be5ac6fdf1d1c25df 99B / 99B                                                                                                                                                   0.1s
 => => extracting sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49                                                                                                                                                  0.1s
 => => extracting sha256:b3b6ac3db031ea7b3607e700555c68707f072c457cb4e5511c12cf529656d437                                                                                                                                                  0.5s
 => => extracting sha256:3fd92eeca8f54976c24de929011349e191dc349bf932629be5ac6fdf1d1c25df                                                                                                                                                  0.0s
 => [stage-1  1/16] FROM docker.io/library/python:3.10.9-slim@sha256:76dd18d90a3d8710e091734bf2c9dd686d68747a51908db1e1f41e9a5ed4e2c5                                                                                                      3.8s
 => => resolve docker.io/library/python:3.10.9-slim@sha256:76dd18d90a3d8710e091734bf2c9dd686d68747a51908db1e1f41e9a5ed4e2c5                                                                                                                0.0s
 => => sha256:76dd18d90a3d8710e091734bf2c9dd686d68747a51908db1e1f41e9a5ed4e2c5 1.86kB / 1.86kB                                                                                                                                             0.0s
 => => sha256:e15bb169d3a85f7e9c0f2d105ce628f13d71aed44b5d3d230b88f9653a9b19d5 1.37kB / 1.37kB                                                                                                                                             0.0s
 => => sha256:343cc23871cfcec31fcf0681d5107e22d4fa214fad76deec63868835ad06849e 7.79kB / 7.79kB                                                                                                                                             0.0s
 => => sha256:01b5b2efb836d74b8b49da819514eca52e25290d1688db59420ffb9c6b65a03c 31.40MB / 31.40MB                                                                                                                                           0.7s
 => => sha256:11d639c994a82f2fc3c071bc85b7fa8fb341d4186e1b1c535f8d4147b07f78cd 11.74MB / 11.74MB                                                                                                                                           0.7s
 => => sha256:5dda314a937ad03f8beac81c714da74e459b6174301368e0903ef586a68ae150 1.08MB / 1.08MB                                                                                                                                             0.5s
 => => sha256:d1465593fd9b15a8d99135d267721127f140c979a8831c320e1f326b830d2721 233B / 233B                                                                                                                                                 0.6s
 => => sha256:4a6d0cbbdb413b71a251597fa3b79f3c0ec3ed7b7c1ee8ae3d4fe4fe053a04a4 3.35MB / 3.35MB                                                                                                                                             0.7s
 => => extracting sha256:01b5b2efb836d74b8b49da819514eca52e25290d1688db59420ffb9c6b65a03c                                                                                                                                                  1.6s
 => => extracting sha256:5dda314a937ad03f8beac81c714da74e459b6174301368e0903ef586a68ae150                                                                                                                                                  0.1s
 => => extracting sha256:11d639c994a82f2fc3c071bc85b7fa8fb341d4186e1b1c535f8d4147b07f78cd                                                                                                                                                  0.5s
 => => extracting sha256:d1465593fd9b15a8d99135d267721127f140c979a8831c320e1f326b830d2721                                                                                                                                                  0.0s
 => => extracting sha256:4a6d0cbbdb413b71a251597fa3b79f3c0ec3ed7b7c1ee8ae3d4fe4fe053a04a4                                                                                                                                                  0.3s
 => [download 2/7] COPY builder/clone.sh /clone.sh                                                                                                                                                                                         0.1s
 => [download 3/7] RUN . /clone.sh taming-transformers https://github.com/CompVis/taming-transformers.git 24268930bf1dce879235a7fddd0b2355b84d7ea6 &&     rm -rf data assets **/*.ipynb                                                    3.4s
 => [stage-1  2/16] RUN apt-get update &&     apt install -y     fonts-dejavu-core rsync git jq moreutils aria2 wget libgoogle-perftools-dev procps &&     apt-get autoremove -y && rm -rf /var/lib/apt/lists/* && apt-get clean -y       17.5s
 => [download 4/7] RUN . /clone.sh stable-diffusion-stability-ai https://github.com/Stability-AI/stablediffusion.git 47b6b607fdd31875c9279cd2f4f16b92e4ea958e &&     rm -rf assets data/**/*.png data/**/*.jpg data/**/*.gif               2.3s
 => [download 5/7] RUN . /clone.sh CodeFormer https://github.com/sczhou/CodeFormer.git c5b4593074ba6214284d6acd5f1719b6c5d739af &&     rm -rf assets inputs                                                                                1.1s
 => [download 6/7] RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9 &&     . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git 5b3af030dd83e0297272d861c19477735d031  2.0s
 => [download 7/7] RUN wget -O /model.safetensors https://civitai.com/api/download/models/15236                                                                                                                                          450.0s
 => [stage-1  3/16] RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip     pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118                                      162.6s
 => [stage-1  4/16] RUN --mount=type=cache,target=/root/.cache/pip     git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git &&     cd stable-diffusion-webui &&     git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0  54.2s
 => [stage-1  5/16] COPY --from=download /repositories/ /stable-diffusion-webui/repositories/                                                                                                                                              0.1s 
 => [stage-1  6/16] COPY --from=download /model.safetensors /model.safetensors                                                                                                                                                             2.1s 
 => [stage-1  7/16] RUN mkdir /stable-diffusion-webui/interrogate && cp /stable-diffusion-webui/repositories/clip-interrogator/data/* /stable-diffusion-webui/interrogate                                                                  0.4s 
 => [stage-1  8/16] RUN --mount=type=cache,target=/root/.cache/pip     pip install -r /stable-diffusion-webui/repositories/CodeFormer/requirements.txt                                                                                     2.9s 
 => [stage-1  9/16] COPY builder/requirements.txt /requirements.txt                                                                                                                                                                        0.0s 
 => [stage-1 10/16] RUN --mount=type=cache,target=/root/.cache/pip     pip install --upgrade pip &&     pip install --upgrade -r /requirements.txt --no-cache-dir &&     rm /requirements.txt                                             21.1s 
 => [stage-1 11/16] RUN --mount=type=cache,target=/root/.cache/pip     cd stable-diffusion-webui &&     git fetch &&     git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045 &&     pip install -r requirements_versions.txt         4.2s 
 => [stage-1 12/16] ADD src .                                                                                                                                                                                                              0.0s 
 => [stage-1 13/16] COPY builder/cache.py /stable-diffusion-webui/cache.py                                                                                                                                                                 0.0s 
 => [stage-1 14/16] RUN cd /stable-diffusion-webui && python cache.py --use-cpu=all --ckpt /model.safetensors                                                                                                                             38.6s 
 => [stage-1 15/16] RUN apt-get autoremove -y &&     apt-get clean -y &&     rm -rf /var/lib/apt/lists/*                                                                                                                                   0.6s 
 => [stage-1 16/16] RUN chmod +x /start.sh                                                                                                                                                                                                 0.5s 
 => exporting to image                                                                                                                                                                                                                    44.8s 
 => => exporting layers                                                                                                                                                                                                                   44.8s 
 => => writing image sha256:d06aabe7f859ec05fc5509ebf0b981db2ad5ae7342573888731abb6f9d85d105     
tctrautman commented 1 year ago

I'm running into the same problem -- @harrywang would you mind pasting the Dockerfile changes that got it working for you?

harrywang commented 1 year ago

I'm running into the same problem -- @harrywang would you mind pasting the Dockerfile changes that got it working for you?

it works on Ubuntu - not working on Mac

tctrautman commented 1 year ago

Ah, I misunderstood. Got it, thanks

tctrautman commented 1 year ago

Hey @justinmerrell -- has this issue been fixed or are there no plans to support building on M1s?

SlavenIvanov commented 1 year ago

Building on M1 works for me with DOCKER_BUILDKIT=1 docker build . --platform=linux/amd64

lucasmezencio commented 1 year ago

I'm getting the following error:

 => ERROR [stage-1  3/16] RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip     pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl  80.1s
 => [download 6/7] RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9 &&     . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git   6.2s 
 => [download 7/7] ADD ./model.safetensors /                                                                                                                                                          4.8s 
------                                                                                                                                                                                                     
 > [stage-1  3/16] RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip     pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118:        
2.033 Looking in indexes: https://download.pytorch.org/whl/cu118                                                                                                                                           
2.777 Collecting torch                                                                                                                                                                                     
2.802   Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl (2267.3 MB)                                                                                    
63.71      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━         1.8/2.3 GB 37.2 MB/s eta 0:00:12
76.77 ERROR: Wheel 'torch' located at /tmp/pip-unpack-1qummgca/torch-2.0.1+cu118-cp310-cp310-linux_x86_64.whl is invalid.
78.31 WARNING: There was an error checking the latest version of pip.
------
Dockerfile:44
--------------------
  43 |     
  44 | >>> RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip \
  45 | >>>     pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
  46 |     
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118" did not complete successfully: exit code: 1

Any idea?