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
@@ -1,8 +1,8 @@
# SoundGame Android 开发环境(纯用户态,无 sudo)
# 用法: source /home/ubuntu/SoundGame/env.d/android.sh
# 用法: source /home/xsl/SoundGame/env.d/android.sh
export JAVA_HOME=/home/ubuntu/SoundGame/tools/jdk17
export ANDROID_HOME=/home/ubuntu/SoundGame/tools/android-sdk
export JAVA_HOME=/home/xsl/SoundGame/tools/jdk17
export ANDROID_HOME=/home/xsl/SoundGame/tools/android-sdk
# 兼容旧工具的变量名
export ANDROID_SDK_ROOT="$ANDROID_HOME"
@@ -10,4 +10,4 @@ export PATH="$JAVA_HOME/bin:$PATH"
export PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$PATH"
export PATH="$ANDROID_HOME/platform-tools:$PATH"
# ffmpeg / ffprobe 静态构建
export PATH="/home/ubuntu/SoundGame/tools/bin:$PATH"
export PATH="/home/xsl/SoundGame/tools/bin:$PATH"
+1 -1
View File
@@ -2,7 +2,7 @@
# 用法: cp env.d/sfx.example.sh env.d/sfx.sh,填入真实 HF_TOKEN 后 source env.d/sfx.sh
# 注意: env.d/sfx.sh 含真实 token,已被 .gitignore 忽略,切勿提交
export PATH="$HOME/.local/bin:$PATH"
export HF_HOME=/home/ubuntu/SoundGame/models/hf
export HF_HOME=/home/xsl/SoundGame/models/hf
# 注意: hf-mirror 镜像会把 gated 模型 308 重定向回 huggingface.co 导致下载失败。
# Stable Audio 3 是 gated 模型, 必须直连官方端点。
# 若以后直连失效且只用公开模型, 可临时改回镜像:
+3 -3
View File
@@ -1,7 +1,7 @@
# Qwen3-TTS 环境变量(用法: source /home/ubuntu/SoundGame/env.d/tts.sh)
export HF_HOME=/home/ubuntu/SoundGame/models/hf
# Qwen3-TTS 环境变量(用法: source /home/xsl/SoundGame/env.d/tts.sh)
export HF_HOME=/home/xsl/SoundGame/models/hf
# huggingface.co 本机连不通,使用国内镜像
export HF_ENDPOINT=https://hf-mirror.com
export HF_HUB_ENABLE_HF_TRANSFER=0
# 便捷别名
alias venv-tts='source /home/ubuntu/SoundGame/.venv-tts/bin/activate'
alias venv-tts='source /home/xsl/SoundGame/.venv-tts/bin/activate'