joycaption-batch-webui / install_linux.sh
justineightyone's picture
Initial release: JoyCaption Beta One + JoyTag batch captioning WebUI
48ee475 verified
Raw
History Blame Contribute Delete
410 Bytes
#!/usr/bin/env bash
# One-time setup: creates a venv and installs dependencies (CUDA 12.4 wheels).
set -e
cd "$(dirname "$0")"
python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/cu124
pip install -r requirements.txt
echo
echo "Done. Run: ./start_linux.sh (add --nf4 for ~7GB VRAM mode)"