Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active April 5, 2024 21:41
Show Gist options
  • Save garystafford/d51cdd211a03a9d4d9d457c02b835a1b to your computer and use it in GitHub Desktop.
Save garystafford/d51cdd211a03a9d4d9d457c02b835a1b to your computer and use it in GitHub Desktop.
# Install ComfyUI on Ubuntu
apt install python3-pip
sudo apt install python3-pip
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI/
pip install -r requirements.txt
pip install torchvision # error message in terminal
# ComfyUI-Manager
cd custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager
# ComfyUI-Crystools
git clone https://github.com/crystian/ComfyUI-Crystools.git
cd ComfyUI-Crystools
pip install -r requirements.txt
# start ComfyUI
cd ../
python main.py
# no gpu showing in crystools?
nvidia-smi
# Failed to initialize NVML: Driver/library version mismatch NVML library version: 535.161
# https://stackoverflow.com/a/74588955
sudo apt purge nvidia* libnvidia*
sudo apt install nvidia-driver-535 # <<< make sure this is the same as library version above in output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment