#!/usr/bin/env bash # Install ACE-Step (text → music) into vendor/acestep + venvs/acestep. # Weights (~7GB) auto-download from HF on first generation. set -euo pipefail cd "$(dirname "$0")/.." [ -d vendor/acestep ] || git clone -q https://github.com/ace-step/ACE-Step.git vendor/acestep uv venv venvs/acestep --python 3.11 2>/dev/null || true cd vendor/acestep uv pip install --python ../../venvs/acestep/bin/python -e . torchcodec # torchaudio>=2.9 saves via torchcodec echo "acestep installed"