aarch64 arm64 部署 stable diffusion webui 笔记 【3】

接上篇

aarch64 arm64 部署 stable diffusion webui 笔记 【2】继续安装其他依赖 gfpgan-CSDN博客

source venv/bin/activate

export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib

./webui.sh

离线安装记录

(venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/clip/*
Processing /home/yeqiang/stable-diffusion-webui-libs/clip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip
  Preparing metadata (setup.py) ... done
Processing /home/yeqiang/stable-diffusion-webui-libs/clip/ftfy-6.1.1-py3-none-any.whl
Processing /home/yeqiang/stable-diffusion-webui-libs/clip/regex-2023.8.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Processing /home/yeqiang/stable-diffusion-webui-libs/clip/wcwidth-0.2.6-py2.py3-none-any.whl
Requirement already satisfied: tqdm in ./venv/lib/python3.10/site-packages (from clip==1.0) (4.66.1)
Requirement already satisfied: torch in ./venv/lib/python3.10/site-packages (from clip==1.0) (2.0.0a0+gite9ebda2)
Requirement already satisfied: torchvision in ./venv/lib/python3.10/site-packages/torchvision-0.15.2a0-py3.10-linux-aarch64.egg (from clip==1.0) (0.15.2a0)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (3.12.3)
Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (4.7.1)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (1.12)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (3.1)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (3.1.2)
Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from torchvision->clip==1.0) (1.24.4)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from torchvision->clip==1.0) (2.31.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in ./venv/lib/python3.10/site-packages (from torchvision->clip==1.0) (10.0.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch->clip==1.0) (2.1.3)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2023.7.22)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (3.4)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (3.2.0)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch->clip==1.0) (1.3.0)
Building wheels for collected packages: clip
  Building wheel for clip (setup.py) ... done
  Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369343 sha256=afa782f22abec9d3536bfab3488f0c00ed658fac54eabf528a67ee34429bbe91
  Stored in directory: /tmp/pip-ephem-wheel-cache-f2y22nhx/wheels/b1/2f/26/08dd8d657215b6a47ae5912653fd7ce7d5bfe89e8f43fbdc4f
Successfully built clip
Installing collected packages: wcwidth, regex, ftfy, clip
Successfully installed clip-1.0 ftfy-6.1.1 regex-2023.8.8 wcwidth-0.2.6

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

(venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/open_clip/*
Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip
  Preparing metadata (setup.py) ... done
Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/fsspec-2023.9.0-py3-none-any.whl
Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/huggingface_hub-0.16.4-py3-none-any.whl
Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/protobuf-3.20.0-cp310-cp310-manylinux2014_aarch64.whl
Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/sentencepiece-0.1.99-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Requirement already satisfied: torch>=1.9.0 in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (2.0.0a0+gite9ebda2)
Requirement already satisfied: torchvision in ./venv/lib/python3.10/site-packages/torchvision-0.15.2a0-py3.10-linux-aarch64.egg (from open-clip-torch==2.7.0) (0.15.2a0)
Requirement already satisfied: regex in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (2023.8.8)
Requirement already satisfied: ftfy in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (6.1.1)
Requirement already satisfied: tqdm in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (4.66.1)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (3.12.3)
Requirement already satisfied: packaging>=20.9 in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (23.1)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (2.31.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (4.7.1)
Requirement already satisfied: pyyaml>=5.1 in ./venv/lib/python3.10/site-packages/PyYAML-6.0.1-py3.10-linux-aarch64.egg (from huggingface-hub==0.16.4) (6.0.1)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.9.0->open-clip-torch==2.7.0) (1.12)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.9.0->open-clip-torch==2.7.0) (3.1)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=1.9.0->open-clip-torch==2.7.0) (3.1.2)
Requirement already satisfied: wcwidth>=0.2.5 in ./venv/lib/python3.10/site-packages (from ftfy->open-clip-torch==2.7.0) (0.2.6)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (3.2.0)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (2023.7.22)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (3.4)
Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from torchvision->open-clip-torch==2.7.0) (1.24.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in ./venv/lib/python3.10/site-packages (from torchvision->open-clip-torch==2.7.0) (10.0.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch>=1.9.0->open-clip-torch==2.7.0) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch>=1.9.0->open-clip-torch==2.7.0) (1.3.0)
Building wheels for collected packages: open-clip-torch
  Building wheel for open-clip-torch (setup.py) ... done
  Created wheel for open-clip-torch: filename=open_clip_torch-2.7.0-py3-none-any.whl size=1442834 sha256=b71ea06a36c0b0ad2c7b03fbce635ef8f4d8d0d1caa08c16e8b03158131203de
  Stored in directory: /tmp/pip-ephem-wheel-cache-dlesylzp/wheels/21/5b/fe/6ba716717330cc0e2e211d106e55c27c6e7132cf2a0a712228
Successfully built open-clip-torch
Installing collected packages: sentencepiece, protobuf, fsspec, huggingface-hub, open-clip-torch
  Attempting uninstall: protobuf
    Found existing installation: protobuf 4.23.4
    Uninstalling protobuf-4.23.4:
      Successfully uninstalled protobuf-4.23.4
Successfully installed fsspec-2023.9.0 huggingface-hub-0.16.4 open-clip-torch-2.7.0 protobuf-3.20.0 sentencepiece-0.1.99

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

(venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/lpips/*
Processing /home/yeqiang/stable-diffusion-webui-libs/lpips/lpips-0.1.4-py3-none-any.whl
Requirement already satisfied: tqdm>=4.28.1 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (4.66.1)
Requirement already satisfied: scipy>=1.0.1 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (1.11.2)
Requirement already satisfied: numpy>=1.14.3 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (1.24.4)
Requirement already satisfied: torch>=0.4.0 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (2.0.0a0+gite9ebda2)
Requirement already satisfied: torchvision>=0.2.1 in ./venv/lib/python3.10/site-packages/torchvision-0.15.2a0-py3.10-linux-aarch64.egg (from lpips==0.1.4) (0.15.2a0)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (3.12.3)
Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (4.7.1)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (1.12)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (3.1)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (3.1.2)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from torchvision>=0.2.1->lpips==0.1.4) (2.31.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in ./venv/lib/python3.10/site-packages (from torchvision>=0.2.1->lpips==0.1.4) (10.0.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch>=0.4.0->lpips==0.1.4) (2.1.3)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips==0.1.4) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips==0.1.4) (2023.7.22)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips==0.1.4) (1.26.16)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips==0.1.4) (3.2.0)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch>=0.4.0->lpips==0.1.4) (1.3.0)
Installing collected packages: lpips
Successfully installed lpips-0.1.4

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

安装psutil-5.9.5.tar.gz前,需要先安装setuptools

(venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/step3/setuptools-68.2.0-py3-none-any.whl 
Processing /home/yeqiang/stable-diffusion-webui-libs/step3/setuptools-68.2.0-py3-none-any.whl
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
Successfully installed setuptools-68.2.0

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

手动安装

  141  2023-09-07 10:39:02 cd /tmp/
  142  2023-09-07 10:39:14 tar -xvf /home/yeqiang/stable-diffusion-webui-libs/step3/psutil-5.9.5.tar.gz 
  143  2023-09-07 10:39:16 cd psutil-5.9.5/
  144  2023-09-07 10:39:24 python3 setup.py build
  145  2023-09-07 10:39:31 python3 setup.py install
 

(venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/step3/ffmpy-0.3.1.tar.gz

最后状态

aarch64 arm64 部署 stable diffusion webui 笔记 【3】_第1张图片

pytorch得重新编译了。

待续。。。

你可能感兴趣的:(stable,diffusion,ai,nvidia,stable,diffusion,pytorch)