Skip to content

解决Mac上配置stable diffusion xl base环境问题。以及网络环境模型下载问题

Notifications You must be signed in to change notification settings

Zhouyuankun/MacSDXL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

如何使用stable diffusion在Apple Silicon芯片的Mac上画图(GPU加速)

下载需要的模型

下载模型:stabilityai/stable-diffusion-xl-base-1.0,使用异形岛网站里的model_download.py文件下载

下载LCM-LoRA:latent-consistency/lcm-lora-sdxl,在Hugging Face下载该模型

创建python环境

在conda arm64环境下安装torch,transformers, diffusers等库

PyTorch安装页面,使用命令: conda install pytorch::pytorch torchvision torchaudio -c pytorch

Transformers安装界面,使用命令 conda install -c huggingface transformers

Diffusers安装界面,使用命令 conda install -c conda-forge diffusers

运行程序

教程

哔哩哔哩网站上有详细的操作流程,如有疑问可以观看视频讲解

About

解决Mac上配置stable diffusion xl base环境问题。以及网络环境模型下载问题

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages