chore: 环境迁移至本机(/home/ubuntu→/home/xsl 共28文件55处)+ tools/node、tools/bin 符号链接接入 + setup.md 补 torch cu128 钉版本踩坑(cu130 轮子驱动不兼容)+ tts_smoke_test 自建输出目录 + .gitignore 补 .venv-asr/tools-chrome

This commit is contained in:
xsl
2026-09-02 18:52:17 +08:00
parent 06d86d04e9
commit 3537610130
29 changed files with 77 additions and 57 deletions
+4 -4
View File
@@ -2,12 +2,12 @@
# R6 缺口 sfx:victory(Stable Audio 3,英文 prompt 照录 docs/design/11 §5)。
# 用法: bash web/rpg/gen/gen_gap_sfx.sh (内部 flock 串行 GPU;输出 staging)
set -u
source /home/ubuntu/SoundGame/env.d/sfx.sh
cd /home/ubuntu/SoundGame/tools/stable-audio-3
OUT=/home/ubuntu/SoundGame/web/rpg/gen/staging/sfx
source /home/xsl/SoundGame/env.d/sfx.sh
cd /home/xsl/SoundGame/tools/stable-audio-3
OUT=/home/xsl/SoundGame/web/rpg/gen/staging/sfx
mkdir -p "$OUT"
flock /home/ubuntu/SoundGame/.gpu.lock bash -c '
flock /home/xsl/SoundGame/.gpu.lock bash -c '
if [ -s "'"$OUT"'/victory.wav" ]; then echo "skip victory"; else
uv run stable-audio --model small-sfx \
-p "triumphant short brass fanfare, 3 rising notes, wuxia style, under 1.5 seconds" \