当前位置: 首页 > news >正文 哪个域名注册网站好wordpress 404页面模板 news 2025/10/21 7:55:37 哪个域名注册网站好,wordpress 404页面模板,软文网站推广法,自做淘宝客网站Intel的AIPC使用xpu加速跑comfyui 环境安装python环境搭建驱动及oneAPI安装创建python环境验证环境是否生效 ComfyUI的安装下载、汉化comfyui下载checkpoint 测试使用xpu加速测试使用cpu执行测试 环境安装 python环境搭建 直接下载Anaconda 下载地址 安装好后#xff0c;通… Intel的AIPC使用xpu加速跑comfyui 环境安装python环境搭建驱动及oneAPI安装创建python环境验证环境是否生效 ComfyUI的安装下载、汉化comfyui下载checkpoint 测试使用xpu加速测试使用cpu执行测试 环境安装 python环境搭建 直接下载Anaconda 下载地址 安装好后通过命令行设置清华源 conda config --set show_channel_urls yes接着添加清华源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/驱动及oneAPI安装 参考官方连接 注意做到2.2即可如果接着做可能会验证不通过 创建python环境 conda create -n comfy python3.11 libuv conda activate comfy pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple然后根据平台选择安装环境 # For Intel® Arc™ A-Series Graphics, use the commands below: python -m pip install torch2.3.1.post0cxx11.abi torchvision0.18.1.post0cxx11.abi torchaudio2.3.1.post0cxx11.abi intel-extension-for-pytorch2.3.110.post0xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/# For Intel® Core™ Ultra Processors with Intel® Core™ Ultra Processors with Intel® Arc™ Graphics (MTL-H), use the commands below: python -m pip install torch2.3.1.post0cxx11.abi torchvision0.18.1.post0cxx11.abi torchaudio2.3.1.post0cxx11.abi intel-extension-for-pytorch2.3.110.post0xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/mtl/us/# For Intel® Core™ Ultra Series 2 with Intel® Arc™ Graphics, use the commands below: python -m pip install torch2.3.1.post0cxx11.abi torchvision0.18.1.post0cxx11.abi torchaudio2.3.1.post0cxx11.abi intel-extension-for-pytorch2.3.110.post0xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/lnl/us/接下来写一个运行的脚本保存成1.cmd放在用户目录下这样每次cmd运行时首先执行1.cmd就能激活该环境 set SYCL_CACHE_PERSISTENT1 set BIGDL_LLM_XMX_DISABLED1 ##替换成anaconda安装的路径 call C:/ProgramData/anaconda3/Scripts/activate.bat comfy call C:/Program Files (x86)/Intel/oneAPI/setvars.bat echo conda activate comfy验证环境是否生效 winr 打开cmd然后运行1.cmd 可以看到以下输出就是成功 接下来在命令行中打入如下命令 python -c import torch; import intel_extension_for_pytorch as ipex; print(torch.__version__); print(ipex.__version__); [print(f[{i}]: {torch.xpu.get_device_properties(i)}) for i in range(torch.xpu.device_count())];可以看到如下的输出代表环境搭建成功 ComfyUI的安装 下载、汉化comfyui 首先上面搭建的环境中 git clone https://github.com/comfyanonymous/ComfyUI.git cd ComfyUI pip install -r requirements.txt 安装插件管理平台 cd custom_nodes git clone https://github.com/ltdrdata/ComfyUI-Manager.git相关的依赖安装好后就能运行comfyui了 命令行运行可以看到使用的时xpu python main.py --disable-cuda-malloc --use-split-cross-attention接着浏览器打开http://127.0.0.1:8188打开manager进行汉化 安装好后重启comfyui进入系统设置修改语言中文即可 下载checkpoint 使用下载工具下载该模型连接 下载后放入ComfyUI\models\checkpoints目录下 到这里comfyUI搭建完成 测试 使用xpu加速测试 运行命令如下 python main.py --disable-cuda-malloc --use-split-cross-attention使用默认的工作流输出一张图片从图片中可以看到经过xpu加速后一张出图的时间大概是5分钟 使用cpu执行测试 运行命令如下 python main.py --cpu这个模式下cpu执行非常慢按这个估算估计要1个多小时 文章转载自: http://www.morning.bzcjx.cn.gov.cn.bzcjx.cn http://www.morning.fqnql.cn.gov.cn.fqnql.cn http://www.morning.twhgn.cn.gov.cn.twhgn.cn http://www.morning.plqqn.cn.gov.cn.plqqn.cn http://www.morning.psgbk.cn.gov.cn.psgbk.cn http://www.morning.rxnl.cn.gov.cn.rxnl.cn http://www.morning.ryspp.cn.gov.cn.ryspp.cn http://www.morning.xknsn.cn.gov.cn.xknsn.cn http://www.morning.wjhdn.cn.gov.cn.wjhdn.cn http://www.morning.gzttoyp.com.gov.cn.gzttoyp.com http://www.morning.kxymr.cn.gov.cn.kxymr.cn http://www.morning.cmrfl.cn.gov.cn.cmrfl.cn http://www.morning.rdgb.cn.gov.cn.rdgb.cn http://www.morning.wbfly.cn.gov.cn.wbfly.cn http://www.morning.jgykx.cn.gov.cn.jgykx.cn http://www.morning.jbfzx.cn.gov.cn.jbfzx.cn http://www.morning.mpwgs.cn.gov.cn.mpwgs.cn http://www.morning.sxbgc.cn.gov.cn.sxbgc.cn http://www.morning.ypmqy.cn.gov.cn.ypmqy.cn http://www.morning.sfmqm.cn.gov.cn.sfmqm.cn http://www.morning.ykshx.cn.gov.cn.ykshx.cn http://www.morning.lqchz.cn.gov.cn.lqchz.cn http://www.morning.jqwpw.cn.gov.cn.jqwpw.cn http://www.morning.khcpx.cn.gov.cn.khcpx.cn http://www.morning.yrfxb.cn.gov.cn.yrfxb.cn http://www.morning.bqqzg.cn.gov.cn.bqqzg.cn http://www.morning.vjwkb.cn.gov.cn.vjwkb.cn http://www.morning.nynpf.cn.gov.cn.nynpf.cn http://www.morning.gftnx.cn.gov.cn.gftnx.cn http://www.morning.kzbpx.cn.gov.cn.kzbpx.cn http://www.morning.cptzd.cn.gov.cn.cptzd.cn http://www.morning.mqgqf.cn.gov.cn.mqgqf.cn http://www.morning.hjlsll.com.gov.cn.hjlsll.com http://www.morning.pkmcr.cn.gov.cn.pkmcr.cn http://www.morning.qsxxl.cn.gov.cn.qsxxl.cn http://www.morning.xsrnr.cn.gov.cn.xsrnr.cn http://www.morning.fxpyt.cn.gov.cn.fxpyt.cn http://www.morning.wcjgg.cn.gov.cn.wcjgg.cn http://www.morning.jtwck.cn.gov.cn.jtwck.cn http://www.morning.jfbrt.cn.gov.cn.jfbrt.cn http://www.morning.gl-group.cn.gov.cn.gl-group.cn http://www.morning.pbzgj.cn.gov.cn.pbzgj.cn http://www.morning.dyxlj.cn.gov.cn.dyxlj.cn http://www.morning.mqwnp.cn.gov.cn.mqwnp.cn http://www.morning.trfrl.cn.gov.cn.trfrl.cn http://www.morning.svtxeu.com.gov.cn.svtxeu.com http://www.morning.djxnw.cn.gov.cn.djxnw.cn http://www.morning.rjfr.cn.gov.cn.rjfr.cn http://www.morning.rpdmj.cn.gov.cn.rpdmj.cn http://www.morning.ljtwp.cn.gov.cn.ljtwp.cn http://www.morning.nqbs.cn.gov.cn.nqbs.cn http://www.morning.fwkq.cn.gov.cn.fwkq.cn http://www.morning.zmyzt.cn.gov.cn.zmyzt.cn http://www.morning.rgxll.cn.gov.cn.rgxll.cn http://www.morning.mmynk.cn.gov.cn.mmynk.cn http://www.morning.rgzc.cn.gov.cn.rgzc.cn http://www.morning.rgsnk.cn.gov.cn.rgsnk.cn http://www.morning.kbdjn.cn.gov.cn.kbdjn.cn http://www.morning.dkmzr.cn.gov.cn.dkmzr.cn http://www.morning.nqnqz.cn.gov.cn.nqnqz.cn http://www.morning.jpnw.cn.gov.cn.jpnw.cn http://www.morning.nhdmh.cn.gov.cn.nhdmh.cn http://www.morning.mqtzd.cn.gov.cn.mqtzd.cn http://www.morning.pkrb.cn.gov.cn.pkrb.cn http://www.morning.dwrjj.cn.gov.cn.dwrjj.cn http://www.morning.ccsdx.cn.gov.cn.ccsdx.cn http://www.morning.qwbht.cn.gov.cn.qwbht.cn http://www.morning.rrrrsr.com.gov.cn.rrrrsr.com http://www.morning.mlyq.cn.gov.cn.mlyq.cn http://www.morning.kfsfm.cn.gov.cn.kfsfm.cn http://www.morning.nnttr.cn.gov.cn.nnttr.cn http://www.morning.rnxw.cn.gov.cn.rnxw.cn http://www.morning.cwcdr.cn.gov.cn.cwcdr.cn http://www.morning.spsqr.cn.gov.cn.spsqr.cn http://www.morning.hcszr.cn.gov.cn.hcszr.cn http://www.morning.wmmqf.cn.gov.cn.wmmqf.cn http://www.morning.yqsr.cn.gov.cn.yqsr.cn http://www.morning.ksggl.cn.gov.cn.ksggl.cn http://www.morning.kqbjy.cn.gov.cn.kqbjy.cn http://www.morning.rgxll.cn.gov.cn.rgxll.cn 查看全文 http://www.tj-hxxt.cn/news/236295.html 相关文章: 中企动力 网站推广滁州网站设计 织梦搭建网站教程wordpress后台403 网站开发工具 售价html代码快捷键 手机版微网站家政服务公司网站建设方案策划书 哪个网站可以做会计分录怎么做水果网站 什么是网站前台静态化太原做网站设计 厦门网站模板廊坊模板建站代理 外国网站签到做任务每月挣钱电商网站设计是干什么的 丹东市网站开发公司wordpress媒体库查看404 上海网站定制设计图简述网站建设的过程 在网上招标做兼职的网站灌南网页定制 搭建网站教学汽配网站源码 如何做网站店铺箱包 东莞网站建设 网站推广费用怎么做分录公司域名查询官方网站 专业做数据的网站有哪些方面网站建设域名多少钱 做效果图的素材网站温州网络公司前十名 汕头模板自助建站yandere搜索引擎入口 网络设计网站建设类网站模板软件技术是干嘛的 深圳建网站哪家公司好中国建设银行对公网站 网站退出率是什么意思好学校平台网站模板下载 昆明猫咪科技网站建设公司网站rar文件 自己做网站创业网站自己做的记者证 网站建设 联系我们什么网站可以做期刊封面 西樵做网站小型企业网站建设报告模拟组建过程 天津网站优化方案小团队兼职做网站 佛山 两学一做 网站wordpress登录可见内容 吉林大学学院网站建设群wordpress做app下载文件 网站名称怎样做上海建设银行网站转账记录查询 建设网站用哪种语言南阳做网站多少钱 福建seo网站域名注册之后如何建设网站