Files
SoundGame/tools/stable-audio-3/.github/workflows/mlx.yml
T
SoundGame Dev f0f0a9b50e 初始提交:3 款纯音频游戏 + 共享引擎 + 完整文档与资产管线
- 共享引擎(app/src/main):GestureEngine 6 手势识别、AudioEngine 三层音频
  (ExoPlayer BGM 交叉淡入 / 对白 ducking / SoundPool 低延迟)、Game/GameEngine
  状态机接口、MainActivity 全屏封面 + TalkBack
- 《声命线》storyline:末世互动广播剧,3 幕 8 抉择点 4 结局
- 《声东击西》reflex:听声辨位反应,12 波战斗 + BGM 三档 BPM 变速
- 《暗室》escape:3x3 网格密室逃脱,钥匙→铁柜→保险丝→电箱→大门谜题链
- 文档:setup(从零搭建)/ architecture(架构)/ engine-api(引擎 API)/
  asset-pipeline(资产流水线)/ games/*(三款游戏设计文档)
- 资产管线:Qwen3-TTS 对白 + 程序合成音效/BGM + Mureka BGM 的 gen 脚本与台账,
  全部 ogg 资产入库可复现
- env.d 环境脚本:android/tts 入库;sfx/mureka 含密钥不入库,仅提交 .example.sh 模板
2026-08-29 13:00:34 +08:00

33 lines
1.2 KiB
YAML

name: MLX (Apple Silicon)
# GitHub-hosted `macos-latest` runners are Apple Silicon (arm64), which the MLX
# runtime requires. Scoped to optimized/mlx changes so it doesn't spend macOS
# runner minutes on unrelated PRs.
on:
pull_request:
paths:
- "optimized/mlx/**"
- ".github/workflows/mlx.yml"
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install MLX deps
run: |
python -m pip install --upgrade pip
pip install -r optimized/mlx/requirements.txt pytest
- name: Adapter math — all 9 LoRA/DoRA/BoRA types (weight-free)
run: pytest optimized/mlx/scripts/test_lora_merge.py -q
- name: Import + CLI smoke (no weights downloaded)
working-directory: optimized/mlx
run: |
python -c "import mlx.core; from models.defs import lora, training, demo_mlx, latent_dataset, lora_merge, sa3_pipeline; print('core imports OK')"
python scripts/lora_train_mlx.py --help > /dev/null
python scripts/pre_encode_mlx.py --help > /dev/null
echo "CLI smoke OK"