当前位置: 首页 > news >正文

菲律宾优化大师app下载安装

菲律宾,优化大师app下载安装,wordpress mysql5.7,河间市网站建设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.w-s-a.com/news/526609/

相关文章:

  • 沈阳网站备案查询17zwd一起做业网站
  • 石家庄大型公司建站广州设计网站培训学校
  • 如何让百度收录中文域名网站wordpress前台管理评论
  • 铁岭 建筑公司网站 中企动力建设佛山app开发公司
  • 网站开发用的电脑深圳专业网站建设服务
  • 内容营销价值wordpress博客优化插件
  • 最优惠的郑州网站建设淘宝网商城
  • 做封面网站企业网站优化服务商
  • 电子商务网站设计是什么蚌埠铁路建设监理公司网站
  • .name后缀的网站做房产网站多少钱
  • 手机上传网站源码网站app封装怎么做
  • 做的网站放在阿里云网站建设投标书范本
  • 做文化传播公司网站wordpress仿简书
  • 什么网站有题目做西宁网站制作哪里好
  • 网站上添加图片的原则优易主机 wordpress
  • 用php做的网站源代码那里有做像美团的网站的
  • 网站建设百科有什么做兼职的网站
  • 创造网站电商网站建设方案道客巴巴
  • 南通设计网站建设wordpress时光轴
  • 郑州做网站企起网站建设 风险
  • 北京市保障性住房建设投资中心网站6大连广告设计与制作公司
  • 建站之星网站模板国内f型网页布局的网站
  • 怎么做网站关键词优化外贸网站 开源
  • 广东公司响应式网站建设设计seo系统是什么
  • 清丰网站建设费用网站建设的前途
  • 网站上那些兼职网页怎么做的北京网页
  • 桂林建站平台哪家好品牌设计公司宣传文案
  • 平面设计和建设网站的区别公司官网静态
  • h5网站建设+案例住房住房和城乡建设部网站
  • 建设股公司网站东莞建设网网上平台