• 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

    离线安装记录

    1. (venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/clip/*
    2. Processing /home/yeqiang/stable-diffusion-webui-libs/clip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip
    3. Preparing metadata (setup.py) ... done
    4. Processing /home/yeqiang/stable-diffusion-webui-libs/clip/ftfy-6.1.1-py3-none-any.whl
    5. Processing /home/yeqiang/stable-diffusion-webui-libs/clip/regex-2023.8.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
    6. Processing /home/yeqiang/stable-diffusion-webui-libs/clip/wcwidth-0.2.6-py2.py3-none-any.whl
    7. Requirement already satisfied: tqdm in ./venv/lib/python3.10/site-packages (from clip==1.0) (4.66.1)
    8. Requirement already satisfied: torch in ./venv/lib/python3.10/site-packages (from clip==1.0) (2.0.0a0+gite9ebda2)
    9. 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)
    10. Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (3.12.3)
    11. Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (4.7.1)
    12. Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (1.12)
    13. Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (3.1)
    14. Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch->clip==1.0) (3.1.2)
    15. Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from torchvision->clip==1.0) (1.24.4)
    16. Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from torchvision->clip==1.0) (2.31.0)
    17. Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in ./venv/lib/python3.10/site-packages (from torchvision->clip==1.0) (10.0.0)
    18. Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch->clip==1.0) (2.1.3)
    19. Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (1.26.16)
    20. Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2023.7.22)
    21. Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (3.4)
    22. Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (3.2.0)
    23. Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch->clip==1.0) (1.3.0)
    24. Building wheels for collected packages: clip
    25. Building wheel for clip (setup.py) ... done
    26. Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369343 sha256=afa782f22abec9d3536bfab3488f0c00ed658fac54eabf528a67ee34429bbe91
    27. Stored in directory: /tmp/pip-ephem-wheel-cache-f2y22nhx/wheels/b1/2f/26/08dd8d657215b6a47ae5912653fd7ce7d5bfe89e8f43fbdc4f
    28. Successfully built clip
    29. Installing collected packages: wcwidth, regex, ftfy, clip
    30. Successfully installed clip-1.0 ftfy-6.1.1 regex-2023.8.8 wcwidth-0.2.6
    31. [notice] A new release of pip is available: 23.0.1 -> 23.2.1
    32. [notice] To update, run: pip install --upgrade pip

    1. (venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/open_clip/*
    2. Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip
    3. Preparing metadata (setup.py) ... done
    4. Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/fsspec-2023.9.0-py3-none-any.whl
    5. Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/huggingface_hub-0.16.4-py3-none-any.whl
    6. Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/protobuf-3.20.0-cp310-cp310-manylinux2014_aarch64.whl
    7. Processing /home/yeqiang/stable-diffusion-webui-libs/open_clip/sentencepiece-0.1.99-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
    8. 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)
    9. 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)
    10. Requirement already satisfied: regex in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (2023.8.8)
    11. Requirement already satisfied: ftfy in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (6.1.1)
    12. Requirement already satisfied: tqdm in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.7.0) (4.66.1)
    13. Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (3.12.3)
    14. Requirement already satisfied: packaging>=20.9 in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (23.1)
    15. Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from huggingface-hub==0.16.4) (2.31.0)
    16. 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)
    17. 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)
    18. Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.9.0->open-clip-torch==2.7.0) (1.12)
    19. Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.9.0->open-clip-torch==2.7.0) (3.1)
    20. 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)
    21. 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)
    22. Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (3.2.0)
    23. 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)
    24. Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (2023.7.22)
    25. Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->huggingface-hub==0.16.4) (3.4)
    26. Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from torchvision->open-clip-torch==2.7.0) (1.24.4)
    27. 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)
    28. 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)
    29. 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)
    30. Building wheels for collected packages: open-clip-torch
    31. Building wheel for open-clip-torch (setup.py) ... done
    32. Created wheel for open-clip-torch: filename=open_clip_torch-2.7.0-py3-none-any.whl size=1442834 sha256=b71ea06a36c0b0ad2c7b03fbce635ef8f4d8d0d1caa08c16e8b03158131203de
    33. Stored in directory: /tmp/pip-ephem-wheel-cache-dlesylzp/wheels/21/5b/fe/6ba716717330cc0e2e211d106e55c27c6e7132cf2a0a712228
    34. Successfully built open-clip-torch
    35. Installing collected packages: sentencepiece, protobuf, fsspec, huggingface-hub, open-clip-torch
    36. Attempting uninstall: protobuf
    37. Found existing installation: protobuf 4.23.4
    38. Uninstalling protobuf-4.23.4:
    39. Successfully uninstalled protobuf-4.23.4
    40. 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
    41. [notice] A new release of pip is available: 23.0.1 -> 23.2.1
    42. [notice] To update, run: pip install --upgrade pip

    1. (venv) [yeqiang@ceph3 stable-diffusion-webui]$ python3 -m pip install /home/yeqiang/stable-diffusion-webui-libs/lpips/*
    2. Processing /home/yeqiang/stable-diffusion-webui-libs/lpips/lpips-0.1.4-py3-none-any.whl
    3. Requirement already satisfied: tqdm>=4.28.1 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (4.66.1)
    4. Requirement already satisfied: scipy>=1.0.1 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (1.11.2)
    5. Requirement already satisfied: numpy>=1.14.3 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (1.24.4)
    6. Requirement already satisfied: torch>=0.4.0 in ./venv/lib/python3.10/site-packages (from lpips==0.1.4) (2.0.0a0+gite9ebda2)
    7. 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)
    8. Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (3.12.3)
    9. Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (4.7.1)
    10. Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (1.12)
    11. Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (3.1)
    12. Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=0.4.0->lpips==0.1.4) (3.1.2)
    13. Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from torchvision>=0.2.1->lpips==0.1.4) (2.31.0)
    14. 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)
    15. 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)
    16. 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)
    17. 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)
    18. 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)
    19. 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)
    20. 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)
    21. Installing collected packages: lpips
    22. Successfully installed lpips-0.1.4
    23. [notice] A new release of pip is available: 23.0.1 -> 23.2.1
    24. [notice] To update, run: pip install --upgrade pip

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

    1. (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
    2. Processing /home/yeqiang/stable-diffusion-webui-libs/step3/setuptools-68.2.0-py3-none-any.whl
    3. Installing collected packages: setuptools
    4. Attempting uninstall: setuptools
    5. Found existing installation: setuptools 65.5.0
    6. Uninstalling setuptools-65.5.0:
    7. Successfully uninstalled setuptools-65.5.0
    8. Successfully installed setuptools-68.2.0
    9. [notice] A new release of pip is available: 23.0.1 -> 23.2.1
    10. [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

    最后状态

    pytorch得重新编译了。

    待续。。。

  • 相关阅读:
    Redis数据结构:字符串
    myBatis简单全面
    在强化学习rl中对于state value function和state action value function的理解
    【华为OD机试真题 JS】矩形相交的面积
    新移动时代内容制作呈现与开发利器-Zoomla!逐浪CMS v8.6.2发布
    【德哥说库系列】-Oracle 19C PDB创建大全
    Nginx - 虚拟主机与域名解析
    use embeddings stored in vector db to reduce work for LLM generating response
    使用ubuntu并安装常用软件
    BruceR 包中介效应结果不一致?
  • 原文地址:https://blog.csdn.net/hknaruto/article/details/132732257