serving-and-projects
Use when working with MLflow CLI commands, tracking servers, auth/security, database migrations, MLproject execution, local model serving/prediction, deployments, MCP or agent setup, and local development server workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- serving-and-projects
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use when working with MLflow CLI commands, tracking servers, auth/security, database migrations, MLproject execution, local model serving/prediction, deployments, MCP or agent setup, and local development server workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/cli-reference.md7.4 KB
- 参考文档references/projects-and-deployments.md7.5 KB
- 参考文档references/server-and-auth.md6.3 KB
- 参考文档references/troubleshooting.md6.9 KB
- 脚本scripts/cli_probe.py6.0 KB
03 SKILL.md 正文
Serving And Projects
Use this sub-skill when the task is about operating MLflow from the command line or hosting/serving MLflow services. It covers command discovery, mlflow server, mlflow run, mlflow deployments, mlflow models serve/predict, auth app setup, database migrations, MCP/agent CLI setup, and development-server caveats.
Route First
- Use
references/cli-reference.mdto choose CLI groups, inspect help safely, and distinguish read-only probes from side-effectful commands. - Use
references/server-and-auth.mdfor tracking server storage, artifact serving, allowed-host/CORS security, auth app setup, and auth DB migration guidance. - Use
references/projects-and-deployments.mdforMLprojectexecution, deployment target commands, local model serving/prediction, Docker/SageMaker/cloud cautions, MCP, agent setup, and repo development server workflows. - Use
references/troubleshooting.mdwhen diagnosing backend/artifact store mismatches, auth DB problems, host/origin blocks, deployment credentials, env-manager failures, CLI input-file formats, or long-running process behavior.
Safety Defaults
- Prefer help/version probes before running operational commands:
python scripts/cli_probe.py --commands mlflow "mlflow server" "mlflow models serve"; use--python-module /path/to/pythonwhen themlflowconsole script is not onPATH. - Do not start
mlflow server,mlflow models serve,mlflow mcp run,mlflow gateway start, or the repo dev server unless the user explicitly asks for a long-running process and provides ports/log handling. - Do not run deployment create/update/delete, SageMaker, Docker build/run, Kubernetes, Databricks, or cloud commands unless credentials, target, network, and cost/side effects are explicitly approved.
- Do not run auth DB migrations or tracking DB migrations against shared databases without a backup and the exact database URI from the user.
- For model flavor internals, serialization, signatures, and environment inference, route to
models-and-flavors; for experiment/run semantics and registry objects, route totracking-and-registry; for GenAI tracing/evaluation semantics, route togenai-observability.
Safe Probe Script
scripts/cli_probe.py runs only --help and --version style probes with timeouts. It is suitable for checking an installed MLflow CLI surface before choosing commands, and it intentionally refuses arbitrary command execution.
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).