diff --git a/README.md b/README.md index a99aca0e7..af2138319 100644 --- a/README.md +++ b/README.md @@ -243,10 +243,18 @@ After this you should have everything installed and can proceed to running Comfy 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).