music-agent-workflows
Configure and operate Muzic MusicAgent safely: install prerequisites, manage model and cache layout, validate config, launch CLI or Gradio, and troubleshoot tool selection and secrets.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- music-agent-workflows
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Configure and operate Muzic MusicAgent safely: install prerequisites, manage model and cache layout, validate config, launch CLI or Gradio, and troubleshoot tool selection and secrets.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/setup-and-configuration.md6.6 KB
- 参考文档references/tool-and-runtime-map.md5.0 KB
- 参考文档references/troubleshooting.md3.6 KB
- 脚本scripts/validate_musicagent_config.py8.6 KB
03 SKILL.md 正文
Music Agent Workflows
Use this sub-skill when the request is about MusicAgent itself: setup, configuration, model and download layout, startup, tool enablement, or runtime troubleshooting.
Start here
What it covers
- Docker vs Conda/pip installation trade-offs.
- Linux system packages needed for audio, notation, and model download support.
config.yamlfields,local_fold,src_fold,log_file, and secret handling.- CLI vs Gradio launch paths and their credential differences.
- Task planning, tool selection, and model/tool enablement boundaries.
- Safe config validation without importing the source repo.
What it does not cover
- ROC, DiffSinger, DDSP, and other tool internals.
- Generic provider or gateway policies outside MusicAgent.
- Training or algorithm-level guidance for the wrapped models.
Operating notes
- Keep API keys, tokens, and
.envcontents out of version control. - Run MusicAgent from the project directory that contains
config.yamlso relative paths resolve as expected. - Not every planner task has a loaded pipe. Some task names are aspirational and will fall through to an "unloaded models" error until the plugin layer is extended.
- If a task fails, check
disabled_tools, then thelocal_foldcache, then the required system package or credential. - Use the bundled validator before trying to launch the agent.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).