Advertisement
formulake

ComfyUI Installation

Aug 18th, 2024 (edited)
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.85 KB | Source Code | 0 0
  1. REM Clone the ComfyUI repository
  2. git clone https://github.com/comfyanonymous/ComfyUI.git
  3.  
  4. REM Navigate to the ComfyUI directory
  5. cd ComfyUI
  6.  
  7. REM Create the virtual environment
  8. python -m venv venv
  9.  
  10. REM Activate the virtual environment
  11. call venv\scripts\activate
  12.  
  13. REM Install PyTorch with CUDA support
  14. pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
  15.  
  16. REM Install other dependencies from requirements.txt
  17. pip install -r requirements.txt
  18.  
  19. REM Open a new command prompt for custom nodes installation
  20. start cmd /k "cd custom_nodes & git clone https://github.com/ltdrdata/ComfyUI-Manager.git"
  21.  
  22. REM Wait for the user to close the second command prompt before continuing
  23. pause
  24.  
  25. REM Install other dependencies from requirements.txt
  26. pip install numpy==1.26.4
  27.  
  28. REM Start the ComfyUI server
  29. python main.py
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement