Mac 安装comfigUI (M1)

ops/2024/9/24 13:19:00/

注:系统要升到最新的 (Xcode 13.3.1 or later)

Requirements 

  • Mac computers with Apple silicon or AMD GPUs
  • macOS 12.3 or later
  • Python 3.7 or later
  • Xcode command-line tools: xcode-select --install

安装 pytorch 

查看这个内容安装
https://developer.apple.com/metal/pytorch/

或者

curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
sh Miniconda3-latest-MacOSX-arm64.shconda install pytorch torchvision torchaudio -c pytorch-nightly

 安装comfigUI

#克隆ComfyUI代码并安装依赖
cd ~/
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
pip install -r requirements.txt#安装插件管理器及汉化插件
cd ~/ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
cd ComfyUI-Manager && pip install -r requirements.txt
cd ..
git clone https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION.git

启动 comfigUI

cd ~/ComfyUI
python3 main.py

 后面就下载 模型 和汉化操作

参考:

1、ComfyUI介绍(官方直译)详细部署教程和使用 - 知乎

2、3步搞定Mac下的ComfyUI安装(Apple Silicon M1/M2/M3) [小白友好版] - 知乎 


http://www.ppmy.cn/ops/4774.html

相关文章

ipv4Bypass:一款基于IPv6实现的IPv4安全绕过与渗透测试工具

关于ipv4Bypass ipv4Bypass是一款基于IPv6实现的安全绕过与渗透测试工具,该工具专为红队研究人员设计,可以帮助广大研究人员通过IPv6绕过目标安全策略,以此来检测安全检测机制的健壮性。 20世纪90年代是互联网爆炸性发展时期,随着…

Spring AI ETL 流水线

先纠正 Spring AI 使用本地 Ollama Embeddings 中的一个错误,当启动 Ollama 之后,Windows会有托盘图标,此时已经启动了 Ollama 的服务,访问 Embedding 时不需要运行 ollama run gemma ,只有访问 chat 时才需要启动一个…

Webpack打包

Webpack是 JS 静态打包神器,通过内部组件进行一系列操作,对前端代码进行替换、转义、JS浏览器兼容性等处理,最终生成前端应用所需文件包括 Html、JS和 CSS。Webpack主要以下几部分组成,这些配置都可以定义在webpack.config.js&…

Flink SQL

文章目录 一、Flink SQL1、sql-client准备1.1 基于yarn-session模式1.2 常用配置 2、流处理中的表2.1 动态表和持续查询2.2 将流转换成动态表2.3 用SQL持续查询2.4 将动态表转换为流 3、时间属性3.1 事件时间3.2 处理时间 4、DDL(Data Definition Language&#xff…

「51媒体」展会媒体邀约资源,媒体宣传服务执行

传媒如春雨,润物细无声,大家好,我是51媒体网胡老师。 在组织展会时,媒体宣传服务的执行是提升展会知名度和影响力的关键环节。 确定目标媒体:根据展会的主题和目标受众,选择适合的媒体进行邀请。这可能包括…

mac 使用nvm配置nodejs

您可以按照以下步骤在Mac上安装指定版本的Node.js: 首先,请确保您已经安装了Homebrew。如果没有,请在终端中运行以下命令来安装Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install…

解决Error in writing header file of the driver

在源代码里面更新了一批常规的内容,编译的时候遇到一个error,一大片都是红的。XXX是项目名称。 Description Resource Path Location Type Generator: ERROR: Error in writing header file of the driver XXX Cpu Processor Expert Problem 表面意思是…

Golang | Leetcode Golang题解之第32题最长有效括号

题目&#xff1a; 题解&#xff1a; func longestValidParentheses(s string) int {left, right, maxLength : 0, 0, 0for i : 0; i < len(s); i {if s[i] ( {left} else {right}if left right {maxLength max(maxLength, 2 * right)} else if right > left {left, r…