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.zipPreparing 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: clipBuilding wheel for clip (setup.py) ... doneCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369343 sha256=afa782f22abec9d3536bfab3488f0c00ed658fac54eabf528a67ee34429bbe91Stored 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.zipPreparing 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-torchBuilding wheel for open-clip-torch (setup.py) ... doneCreated wheel for open-clip-torch: filename=open_clip_torch-2.7.0-py3-none-any.whl size=1442834 sha256=b71ea06a36c0b0ad2c7b03fbce635ef8f4d8d0d1caa08c16e8b03158131203deStored 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-torchAttempting uninstall: protobufFound existing installation: protobuf 4.23.4Uninstalling 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: setuptoolsAttempting uninstall: setuptoolsFound existing installation: setuptools 65.5.0Uninstalling 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.mzph.cn/news/71944.shtml

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

相关文章

线性代数(六) 线性变换

前言 《线性空间》定义了空间&#xff0c;这章节来研究空间与空间的关联性 函数 函数是一个规则或映射&#xff0c;将一个集合中的每个元素&#xff08;称为自变量&#xff09;映射到另一个集合中的唯一元素&#xff08;称为因变量&#xff09;。 一般函数从 “A” 的每个元…

YMatrix 5.0 与天翼云完成产品兼容性认证

近日&#xff0c;北京四维纵横数据技术有限公司与天翼云宣布完成产品兼容性认证。经过双方严格的测试验证&#xff0c;超融合数据库 YMatrix 5.0 与天翼云兼容性良好&#xff0c;可基于天翼云稳定运行。 数据库系统作为基础软件的核心&#xff0c;自主可控势在必行。在此背景下…

【Sentinel】Sentinel与gateway的限流算法

文章目录 1、Sentinel与Hystrix的区别2、限流算法3、限流算法对比4、Sentinel限流与Gateway限流 1、Sentinel与Hystrix的区别 线程隔离有两种方式实现&#xff1a; 线程池隔离&#xff08;Hystrix默认采用&#xff09;信号量隔离&#xff08;Sentinel默认采用&#xff09; 服…

【Seata】03 - Seata AT 模式全局锁相关知识简单整理

文章目录 前言参考目录版本说明分析整理1、全局锁的引入说明2、全局锁相关源码整理2.1、流程简图2.2、事务分支注册前的 SQL 相关操作2.3、注册分支&#xff08;获取全局锁&#xff09; 前言 上一篇文章介绍了 AT 模式的调用流程&#xff0c;但是有个比较重要的概念没有提及到…

Node.js 中间件是怎样工作的?

express自带路由功能&#xff0c;可以侦听指定路径的请求&#xff0c;除此之外&#xff0c;express最大的优点就是【中间件】概念的灵活运用&#xff0c;使得各个模块得以解耦&#xff0c;像搭积木一样串起来就可以实现复杂的后端逻辑。除此之外&#xff0c;还可以利用别人写好…

(其他) 剑指 Offer 46. 把数字翻译成字符串 ——【Leetcode每日一题】

❓ 剑指 Offer 46. 把数字翻译成字符串 难度&#xff1a;中等 给定一个数字&#xff0c;我们按照如下规则把它翻译为字符串&#xff1a;0 翻译成 “a” &#xff0c;1 翻译成 “b”&#xff0c;……&#xff0c;11 翻译成 “l”&#xff0c;……&#xff0c;25 翻译成 “z”。…

springcloud3 注册中心以及cloud启动原理总结(含面试)

一 Springcloud微服务面试题 1.1 为何使用注册中心 1)问题描述 在多个单体微服务之间&#xff0c;可以直接通过http请求进行通信&#xff0c;但是存在以下问题&#xff1a; 1.调用服务提供者时需要写ip和端口&#xff0c;如果出现ip和端口进行了修改&#xff0c;没有及时告…

微信小程序开发---基本组件的使用

目录 一、scroll-view &#xff08;1&#xff09;作用 &#xff08;2&#xff09;用法 二、swiper和swiper-item &#xff08;1&#xff09;作用 &#xff08;2&#xff09;用法 三、text &#xff08;1&#xff09;作用 &#xff08;2&#xff09;使用 四、rich-tex…

C# 中什么是重写(子类改写父类方法)

方法重写是指在继承关系中&#xff0c;子类重新实现父类或基类的某个方法。这种方法允许子类根据需要修改或扩展父类或基类的方法功能。在面向对象编程中&#xff0c;方法重写是一种多态的表现形式&#xff0c;它使得子类可以根据不同的需求和场景提供不同的方法实现。 方法重…

智慧公厕是将数据、技术、业务深度融合的公共厕所敏捷化“操作系统”

文明社会的进步离不开公共设施的不断创新和提升。而在这些公共设施中&#xff0c;公共厕所一直是一个备受关注和改善的领域。近年来&#xff0c;随着智慧城市建设的推进&#xff0c;智慧公厕成为了城市管理的重要一环。智慧公厕不仅仅是为公众提供方便和舒适的便利设施&#xf…

如何使用Puppeteer进行金融数据抓取和预测

导语 Puppeteer是一个基于Node.js的库&#xff0c;可以用来控制Chrome或Chromium浏览器&#xff0c;实现网页操作、截图、PDF生成等功能。本文将介绍如何使用Puppeteer进行金融数据抓取和预测&#xff0c;以及如何使用亿牛云爬虫代理提高爬虫效果。 概述 金融数据抓取是指从…

Cocos独立游戏开发框架中的日志模块:Bug无所遁形

引言 本系列是《8年主程手把手打造Cocos独立游戏开发框架》&#xff0c;欢迎大家关注分享收藏订阅。 在Cocos独立游戏开发框架中&#xff0c;一个强大的日志模块是不可或缺的组成部分。日志不仅仅是记录应用程序的运行状态&#xff0c;还可以用于故障排除、性能监测和安全审计…

26.篮球练习

题目 Description 小徐酷爱打篮球&#xff0c;在小学期的前两周半都在练习篮球。 今天&#xff0c;小徐想要练习如何突破。练习场地可由如下所示的网格图表示&#xff0c;图中的位置可用坐标表示。 其中A点(0,0)为小徐的起始位置&#xff0c;B点(n,m)为小徐想要到达的位置。…

python中如何使用正则表达匹配\本身?(文末赠书)

点击上方“Python爬虫与数据挖掘”&#xff0c;进行关注 回复“书籍”即可获赠Python从入门到进阶共10本电子书 今 日 鸡 汤 将军向宠&#xff0c;性行淑均。 大家好&#xff0c;我是皮皮。 一、前言 前几天在Python钻石群【空】问了一个Python正则表达式的问题&#xff0c;一起…

PageHelper分页原理解析

大家好&#xff0c;我是Leo! 今天给大家带来的是关于PageHelper原理的解析&#xff0c;最近遇到一个SQL优化的问题&#xff0c;顺便研究了一下PageHelper的原理&#xff0c;毕竟也是比较常用&#xff0c;源码也比较好看的懂&#xff0c;如果感兴趣的小伙伴可以跟着过程去DEBUG源…

AI云服务平台大全:GPU租用 | App托管 | MLOps平台

我们搜集整理了国内外主要的深度学习云服务商&#xff0c;包括云GPU供应商、WebApp托管商和MLOps平台商。 推荐&#xff1a;用 NSDT编辑器 快速搭建可编程3D场景 1、云GPU供应商 只有一台笔记本电脑&#x1f4bb;不足以运行你的AI模型&#xff0c;忘记它吧&#xff0c;使用云 …

解密Spring Cloud Alibaba核心技术,实战案例书现世

❤️作者主页&#xff1a;小虚竹 ❤️作者简介&#xff1a;大家好,我是小虚竹。Java领域优质创作者&#x1f3c6;&#xff0c;CSDN博客专家&#x1f3c6;&#xff0c;华为云享专家&#x1f3c6;&#xff0c;掘金年度人气作者&#x1f3c6;&#xff0c;阿里云专家博主&#x1f3…

晨启,MSP430开发板,51开发板,原理图,PCB图

下载&#xff1a;https://github.com/xddun/blog_code_search

【算法训练-链表 五】【求和】:链表相加(逆序)、链表相加II(顺序)

废话不多说&#xff0c;喊一句号子鼓励自己&#xff1a;程序员永不失业&#xff0c;程序员走向架构&#xff01;本篇Blog的主题是【链表相加】&#xff0c;使用【链表】这个基本的数据结构来实现&#xff0c;这个高频题的站点是&#xff1a;CodeTop&#xff0c;筛选条件为&…

【unity3D】如何修改相机的默认视角

&#x1f497; 未来的游戏开发程序媛&#xff0c;现在的努力学习菜鸡 &#x1f4a6;本专栏是我关于游戏开发的学习笔记 &#x1f236;本篇是unity的如何修改相机的默认视角 如何修改相机的默认视角 Game窗口运行的话视角是这样的&#xff1a; 此时Scene窗口的视角是这样的&…