Update oli

This commit is contained in:
bmixed committed 2026-11-14 23:20:04 +00:00
1 parent 82cf2ccc3e
commit 6a1793d820
1 file changed
+23 -6
+23 -6
View File
@@ -43,12 +43,29 @@ mkdir ~/kokoro-cache
sudo docker run -d --name kokoro --restart unless-stopped -p 0.0.0.0:3080:3000 -v ~/kokoro-cache:/kokoro/cache -e KW_SECRET_API_KEY=kokoro-api-key ghcr.io/eduardolat/kokoro-web:latest
##COMFYUI
##CPU
sudo docker run -d --name comfyui --restart unless-stopped -p 0.0.0.0:8188:8188 -v ./user:/comfyui/user -v ./models:/comfyui/models -v ./output:/comfyui/output -v ./input:/comfyui/input docker.io/comfyui/base
##GPU
#sudo docker run -d --name comfyui --restart unless-stopped --gpus all -p 0.0.0.0:8188:8188 -v ./user:/comfyui/user -v ./models:/comfyui/models -v ./output:/comfyui/output -v ./input:/comfyui/input docker.io/comfyui/base
##ROCM
sudo docker run -d --name comfyui --restart unless-stopped -p 0.0.0.0:8188:8188 -v ./user:/comfyui/user -v ./models:/comfyui/models -v ./output:/comfyui/output -v ./input:/comfyui/input docker.io/rocm/comfyui
##COMFY-UI
git clone https://github.com/Comfy-Org/ComfyUI.git; cd ComfyUI
#git clone https://github.com/comfyanonymous/ComfyUI.git; cd ComfyUI
##COMFY-CLI
pip install comfy-cli --break-system-packages
#DEPS
pip install -r requirements.txt --break-system-packages
pip install -r manager_requirements.txt --break-system-packages
#TORCH AMD
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm7.2 --break-system-packages
#wget https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.1/torch-2.9.1%2Brocm7.2.1.lw.gitff65f5bc-cp312-cp312-linux_x86_64.whl
#wget https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.1/torchvision-0.24.0%2Brocm7.2.1.gitb919bd0c-cp312-cp312-linux_x86_64.whl
#wget https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.1/triton-3.5.1%2Brocm7.2.1.gita272dfa8-cp312-cp312-linux_x86_64.whl
#wget https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.1/torchaudio-2.9.0%2Brocm7.2.1.gite3c6ee2b-cp312-cp312-linux_x86_64.whl
#pip3 uninstall torch torchvision triton torchaudio --break-system-packages
#pip install torch-2.9.1+rocm7.2.1.lw.gitff65f5bc-cp312-cp312-linux_x86_64.whl torchvision-0.24.0+rocm7.2.1.gitb919bd0c-cp312-cp312-linux_x86_64.whl torchaudio-2.9.0+rocm7.2.1.gite3c6ee2b-cp312-cp312-linux_x86_64.whl triton-3.5.1+rocm7.2.1.gita272dfa8-cp312-cp312-linux_x86_64.whl --break-system-packages
#TORCH INTEL
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu --break-system-packages
#TORCH NVIDIA
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130 --break-system-packages
#RUN (CPU DEFAULT)
python main.py --lowvram --disable-pinned-memory --cpu
#python -c "import torch; print(torch.cuda.is_available(), torch.version.hip)"
##INSTALL OL TO BIN
chmod +x ol; sudo cp ol /usr/local/bin/