Last active
November 29, 2023 04:33
-
-
Save S64/9b45d1e59f75e569d5291d4197c862af to your computer and use it in GitHub Desktop.
Run ComfyUI on macOS
This file contains 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
git clone git@github.com:comfyanonymous/ComfyUI.git | |
git log -n 1 |
This file contains 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
commit 777f6b15225197898a5f49742682a2be859072d7 | |
Author: comfyanonymous <comfyanonymous@protonmail.com> | |
Date: Tue Nov 28 14:45:00 2023 -0500 | |
Add to README that SDXL Turbo is supported. |
This file contains 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
python --version |
This file contains 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
Python 3.11.3 |
This file contains 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
python -m venv ./.venv/ | |
source ./.venv/bin/activate | |
pip install -r ./requirements.txt |
This file contains 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
# https://developer.apple.com/metal/pytorch/ | |
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu |
This file contains 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
# https://github.com/comfyanonymous/ComfyUI/blob/32447f0c392be6a6b64fbac09fd7e7f33eb451f8/.ci/windows_base_files/README_VERY_IMPORTANT.txt#L15-L17 | |
# https://github.com/comfyanonymous/ComfyUI/blob/32447f0c392be6a6b64fbac09fd7e7f33eb451f8/notebooks/comfyui_colab.ipynb#L81-L82 | |
curl --location --continue-at - 'https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt' --output './models/checkpoints/v1-5-pruned-emaonly.ckpt' | |
# https://github.com/comfyanonymous/ComfyUI/blob/32447f0c392be6a6b64fbac09fd7e7f33eb451f8/notebooks/comfyui_colab.ipynb#L161-L164 | |
curl --location --continue-at - 'https://huggingface.co/ai-forever/Real-ESRGAN/resolve/a86fc6182b4650b4459cb1ddcb0a0d1ec86bf3b0/RealESRGAN_x8.pth?download=true' --output './models/upscale_models/RealESRGAN_x8.pth' | |
# https://github.com/comfyanonymous/ComfyUI/blob/d03d8aa2e348c6ba3333150eb18aa76f5180a7f0/notebooks/comfyui_colab.ipynb#L140 | |
curl --location --continue-at - 'https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/33142dc4c748128c527aa80a93e5f22a56a2c2ab/control_v11p_sd15_openpose_fp16.safetensors?download=true' --output './models/controlnet/control_v11p_sd15_openpose_fp16.safetensors' | |
curl --location --continue-at - 'https://huggingface.co/latent-consistency/lcm-lora-sdv1-5/resolve/d2a62207399b8f04998c0aa81f45aa5a46254bcc/pytorch_lora_weights.safetensors?download=true' --output './models/loras/pytorch_lora_weights.safetensors' | |
# https://github.com/comfyanonymous/ComfyUI_examples/blob/8a21245c6934fd5875a2e694b362686e7c023022/sdturbo/README.md?plain=1#L5 | |
curl --location --continue-at - 'https://huggingface.co/stabilityai/sdxl-turbo/resolve/cf0e5cbf9cb1ce0f632875ea8e1b996a9df869d8/sd_xl_turbo_1.0_fp16.safetensors?download=true' --output './models/checkpoints/sd_xl_turbo_1.0_fp16.safetensors' |
This file contains 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
python main.py --force-fp16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment