|
|
|
@ -8,13 +8,10 @@ python -m pip install -r requirements.txt
|
|
|
|
|
python -m pip install -r custom_nodes/ComfyUI-Manager/requirements.txt |
|
|
|
|
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118 xformers |
|
|
|
|
cd .. |
|
|
|
|
echo "cd ComfyUI" >> run_gpu.sh |
|
|
|
|
echo "call venv/Scripts/activate" >> run_gpu.sh |
|
|
|
|
echo "python main.py" >> run_gpu.sh |
|
|
|
|
chmod +x run_gpu.sh |
|
|
|
|
echo "cd ComfyUI" >> run_gpu.bat |
|
|
|
|
echo "call venv/Scripts/activate" >> run_gpu.bat |
|
|
|
|
echo "python main.py" >> run_gpu.bat |
|
|
|
|
|
|
|
|
|
echo "#!/bin/bash" > run_cpu.sh |
|
|
|
|
echo "cd ComfyUI" >> run_cpu.sh |
|
|
|
|
echo "call venv/Scripts/activate" >> run_cpu.sh |
|
|
|
|
echo "python main.py --cpu" >> run_cpu.sh |
|
|
|
|
chmod +x run_cpu.sh |
|
|
|
|
echo "cd ComfyUI" >> run_cpu.bat |
|
|
|
|
echo "call venv/Scripts/activate" >> run_cpu.bat |
|
|
|
|
echo "python main.py --cpu" >> run_cpu.bat |
|
|
|
|