Last active
November 25, 2024 17:56
-
-
Save doctorpangloss/4c7365294992fcfb5f5017fcd2d1dafe to your computer and use it in GitHub Desktop.
Installing ComfyUI on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# install python 3.12 | |
brew install [email protected] | |
# link it | |
brew link [email protected] | |
# check that you have python installed and that it's python 3.12 | |
python3 --version | |
# install UV to get everything working faster | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
# get comfyui | |
git clone https://github.com/comfyanonymous/ComfyUI.git ~/Documents/comfyui | |
cd ~/Documents/comfyui | |
# install it | |
uv venv --python 3.12 --seed | |
source .venv/bin/activate | |
uv pip install torch torchvision torchaudio --pre --extra-index-url https://download.pytorch.org/whl/nightly/cpu | |
uv pip install -r requirements.txt | |
# run comfyui | |
python main.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Documents/comfyui/ | |
# activate your venv | |
source .venv/bin/activate | |
# run comfyui | |
python main.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment