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

news2024/11/14 4:11:45

接上篇

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

最后状态

pytorch得重新编译了。

待续。。。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/986231.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

人脸识别技术,如何解决学校门禁安全?

在当今社会&#xff0c;学校安全已经成为一个备受关注的议题&#xff0c;而门禁监控系统已经成为学校管理和保障学生安全的重要工具之一。随着社会的不断发展和技术的不断进步&#xff0c;学校不再只是知识传授的场所&#xff0c;它们也成为了数百、数千甚至数万学生和教职员工…

【Spring Boot】JPA — JPA入门

JPA简介 1. JPA是什么 JPA是Sun官方提出的Java持久化规范&#xff0c;它为Java开发人员提供了一种对象/关联映射工具来管理Java应用中的关系数据&#xff0c;通过注解或者XML描述“对象-关系表”之间的映射关系&#xff0c;并将实体对象持久化到数据库中&#xff0c;极大地简…

欧洲云巨头OVHcloud收购边缘计算专家 gridscale

边缘计算社区近日获悉&#xff0c;欧洲云巨头OVHcloud已进入全面收购德国公司 gridscale 的谈判&#xff0c;该公司是一家专门从事超融合基础设施的软件提供商。 此次战略收购将标志着 OVHcloud 的另一个重要里程碑&#xff0c;使该集团能够显着加速其地理部署&#xff0c;并进…

智能化时代与智慧化时代

当今社会正处于快速发展的时代&#xff0c;科技的进步给我们带来了许多前所未有的机遇和挑战。在这个过程中&#xff0c;我们正逐步迈向智能化时代和智慧化时代&#xff0c;这两个时代代表了技术发展的不同阶段和方向。让我们深入了解这两个时代的概念、特点以及它们对未来的意…

发布 VectorTraits v1.0,它是 C# 下增强SIMD向量运算的类库

发布 VectorTraits v1.0, 它是C#下增强SIMD向量运算的类库 VectorTraits: SIMD Vector type traits methods (SIMD向量类型的特征方法). NuGet: https://www.nuget.org/packages/VectorTraits/1.0.0 源代码: https://github.com/zyl910/VectorTraits 用途 总所周知&#x…

Java死锁的原因及解决方法

要想知道死锁出现的原因和解决方法&#xff0c;首先得知道什么是死锁&#xff0c;死锁是两个或两个以上的运算单元&#xff08;进程、线程或协程&#xff09;&#xff0c;互相持有对方所需的资源&#xff0c;导致它们都无法向前推进&#xff0c;从而导致永久阻塞的问题。从字面…

Spine2D骨骼动画播放器 - 微信小程序版

Spine2D骨骼动画播放器 - 微信小程序版 简介平台支持 界面预览使用说明演示视频 版本笨笨的小目标&#xff08;废话&#xff09;参考资料测试文件百度盘分享 相关文档 简介 本播放器是SpinePlayer的微信小程序版。由于官方并没有提供现成的运行库&#xff0c;只能自己改造。 设…

如何应用运营商大数据精准营销?

如何应用运营商大数据精准营销&#xff1f; 越来越多的企业逐渐觉察到运营商大数据所带来的商业价值&#xff0c;精准营销也被他们用的越来越娴熟。那么&#xff0c;企业的大数据精准营销该如何应用呢&#xff1f;想必是很多资源有限的中小型公司最想了解的。 一 数据驱动运营…

springCloud-LoadBalancer负载均衡

接上个博客springcloud-Eureka。 Eureka主要是如何通过eureka服务器进行服务注册与发现&#xff0c;也有简单的负载均衡&#xff0c;实际上它其中的负载均衡就是靠LoadBalancer实现的。 2020年前SpringCloud是采用Ribbon作为负载均衡实现&#xff0c;但是在2020后采用了LoadBal…

部署elasticsearch集群

创建es集群 编写一个docker-compose.yaml文件&#xff0c;内容如下 version: 2.2 services:es01:image: elasticsearch:7.12.1container_name: es01environment:- node.namees01- cluster.namees-docker-cluster- discovery.seed_hostses02,es03- cluster.initial_master_nod…

大数据安全 | (一)介绍

目录 &#x1f4da;大数据安全 &#x1f407;大数据安全内涵 &#x1f407;大数据安全威胁 &#x1f407;保障大数据安全 ⭐️采集环节安全技术 ⭐️存储环节安全技术 ⭐️挖掘环节安全技术 ⭐️发布环节安全技术 &#x1f407;大数据用于安全 &#x1f4da;隐私及其…

CSS笔记(黑马程序员pink老师前端)选择器,字体,文本属性,Emmet语法,元素显示模式,CSS背景

选择器 选择器分为基础选择器和复合选择器两大类。 基础选择器 包括:标签选择器、类选择器、id选择器和通配符选择器。 /*标签选择器 */p {color: red;}/*类选择器 */.classname {color: yellow;}/*id选择器 */#idname {color: blue;}/*通配符选择器&#xff0c;选择页面所有的…

核心实验10_hybrid(实现access和trunk功能)_ENSP

项目场景&#xff1a; 核心实验10_hybrid&#xff08;实现access和trunk功能&#xff09;_ENSP 用hybrid的属性 是否打标签来达到替代使用access或trunk接口的目的 实搭拓扑图&#xff1a; 具体操作&#xff1a; SW1: [sw1]vlan 10 [sw1-vlan10]int g0/0/1 [sw1-GigabitEther…

ChatGPT 超有用提示词 练习雅思口语

目录 Prompts &#x1f53b;作为一个英语口语老师和提高英语口语 方法1&#xff1a;口语简单练习 方法2&#xff1a;角色扮演练习口语 作为一个英语翻译/英语作文优化师/稿件校对 作为一个”职位”面试官 学习英文单词 演员 苏菲 玛索 阿尔弗雷多詹姆斯帕西诺 要孝顺…

LeetCode 1113.报告的记录

数据准备 Create table If Not Exists Actions (user_id int, post_id int, action_date date, action ENUM(view, like, reaction, comment, report, share), extra varchar(10)); Truncate table Actions; insert into Actions (user_id, post_id, action_date, action, ext…

Python用GAN生成对抗性神经网络判别模型拟合多维数组、分类识别手写数字图像可视化...

全文链接&#xff1a;https://tecdat.cn/?p33566 生成对抗网络&#xff08;GAN&#xff09;是一种神经网络&#xff0c;可以生成类似于人类产生的材料&#xff0c;如图像、音乐、语音或文本&#xff08;点击文末“阅读原文”获取完整代码数据&#xff09;。 相关视频 最近我们…

Unity 之 Material (材质)渲染3D对象的重要组件

文章目录 介绍一些代码例子 介绍 在Unity中&#xff0c;Material&#xff08;材质&#xff09;是一种用于渲染3D对象的重要组件。Material定义了对象的外观&#xff0c;包括其颜色、纹理、光照属性和反射等。以下是关于Material的详细介绍&#xff1a; 创建Material&#xff1…

IDEA报错:No valid Maven installation found

当我想要用maven进行clean的时候&#xff0c;发现报了这个错误&#xff0c;idea的event logs记录为 网上又说可能是因为你的maven环境没有配置好&#xff0c;我对我的maven进行了检查&#xff0c;发现是没有问题的&#xff0c;在这里提醒大家&#xff0c;如果你以前的项目maven…

Java入门第三季

一、异常与异常处理 1. 异常简介 在Java中&#xff0c;**异常是程序在执行过程中出现的问题或意外情况&#xff0c;导致程序无法按照预期的流程进行。**异常处理是Java中用于处理程序中出现的异常的一种机制。 Java中的异常可以分为两大类&#xff1a;受检查的异常&#xff…

Linux——zabbix

简介 官网&#xff1a;https://www.zabbix.com/ Zabbix 是一个开源的网络监控和警报解决方案。它允许管理员监控网络中的各种设备、服务器和应用程序&#xff0c;并收集有关它们性能和状态的数据。Zabbix 提供了一个集中化的管理界面&#xff0c;通过各种监控方式&#xff08…