Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: honor PORTOS_TORCH_CUDA_INDEX override in ACE-Step 1.5 install

[._.]/ Adam Eivy5c9a77ea3e4c
diff --git a/scripts/setup-image-video.sh b/scripts/setup-image-video.sh
index f902228b0e..ffb1b7b9df 100755
--- a/scripts/setup-image-video.sh
+++ b/scripts/setup-image-video.sh
@@ -741,7 +741,8 @@ if [[ "$INSTALL_ACESTEP15" == "1" ]]; then
# Pin the runtime to a vendor release. The model snapshot is installed
# separately through Music, but its custom-code loader depends on this
# package's handler contract.
- "$ACESTEP15_PY" -m pip install --upgrade --extra-index-url https://download.pytorch.org/whl/cu128 \
+ ACESTEP15_TORCH_INDEX="${PORTOS_TORCH_CUDA_INDEX:-https://download.pytorch.org/whl/cu128}"
+ "$ACESTEP15_PY" -m pip install --upgrade --extra-index-url "$ACESTEP15_TORCH_INDEX" \
"git+https://github.com/ace-step/[email protected]" \
"huggingface_hub[hf_xet]"
if ! "$ACESTEP15_PY" -c "import torch; from transformers import AutoModel; from acestep.handler import AceStepHandler" 2>/dev/null; then