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
| #!/bin/bash | |
| # Update system and install essentials | |
| sudo apt update && sudo apt install git python3-venv python3-pip wget -y || { echo "Essentials install failed"; exit 1; } | |
| # Clone ComfyUI | |
| git clone https://github.com/comfyanonymous/ComfyUI /workspace/ComfyUI || { echo "Clone failed"; exit 1; } | |
| cd /workspace/ComfyUI | |
| # Create and activate venv |
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
| #!/bin/bash | |
| apt update && apt install git python3-venv python3-pip wget -y | |
| git clone https://github.com/comfyanonymous/ComfyUI /workspace/ComfyUI | |
| cd /workspace/ComfyUI | |
| python3 -m venv venv | |
| source venv/bin/activate | |
| pip install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu131 # For your CUDA 13.1 |