From d698751b220e7b95c649b016368bc0804b61efb4 Mon Sep 17 00:00:00 2001 From: lindsayfowler <69200857+lindsayfowler@users.noreply.github.com> Date: Sat, 2 Nov 2024 01:12:10 +1100 Subject: [PATCH] Update README.md Consider that these instructions are easier to follow as they don't keep bouncing you around to different sites. --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e5cef450..d42fa8a9b 100644 --- a/README.md +++ b/README.md @@ -188,10 +188,18 @@ Additional discussion and help can be found [here](https://github.com/comfyanony You can install ComfyUI in Apple Mac silicon (M1 or M2) with any recent macOS version. -1. Install pytorch nightly. For instructions, read the [Accelerated PyTorch training on Mac](https://developer.apple.com/metal/pytorch/) Apple Developer guide (make sure to install the latest pytorch nightly). -1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux. -1. Install the ComfyUI [dependencies](#dependencies). If you have another Stable Diffusion UI [you might be able to reuse the dependencies](#i-already-have-another-ui-for-stable-diffusion-installed-do-i-really-have-to-install-all-of-these-dependencies). -1. Launch ComfyUI by running `python main.py` +In Terminal, cd into your desired installation folder. +```git clone https://github.com/comfyanonymous/ComfyUI.git``` +```cd ComfyUI``` +Make a virtual environment: +```python3.12 -m venv .venv``` +```source .venv/bin/activate``` +Install the Nightly build of pytorch (must be this build or installing requirements will fail): +```pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu``` +Install requirements +```pip install -r requirements.txt``` +Run +```python main.py``` > **Note**: Remember to add your models, VAE, LoRAs etc. to the corresponding Comfy folders, as discussed in [ComfyUI manual installation](#manual-install-windows-linux).