界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
部署与运维 · SKILL.md

validation

validation

【部署与运维】Evaluates exported MMDeploy models, profiles latency, runs regression matrices, and generates backend coverage tables.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: validation description: "Evaluates exported MMDeploy models, profiles latency, runs regression matrices, and generates backend coverage tables." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Validation

Use this sub-skill when a task asks to evaluate an exported MMDeploy backend model, measure inference speed, run a regression matrix, build a supported-backend table, or interpret validation/profiling reports.

Route by task

  • Metric-aware backend evaluation: read evaluation, then use scripts/test.py when the user needs dataset metrics, visualized outputs, speed-test logging during evaluation, backend model-file selection, or --cfg-options overrides.
  • Latency-only profiling: read profiling, then use scripts/profiler.py when the user asks for warmup/iteration-controlled latency or custom batch-size/shape timing without evaluator metrics.
  • Maintainer regression matrix: read regression, then use scripts/regression_test.py for codebase/backend/model filters, conversion-only versus precision modes, checkpoint caching, and merged report workbooks.
  • Supported model/backend table: read supported model tables, then use scripts/generate_md_table.py to turn regression matrix YAML into Markdown support tables.
  • Unexpected failure, skip, or slow run: read troubleshooting before classifying a problem as a model defect.

Guardrails

  • Use test.py for validation/evaluation and optional speed logs; use profiler.py for latency-only measurements. Do not treat profiler output as metric evidence.
  • Regression runs can download checkpoints, call conversion workflows, and exercise heavyweight backends. Always narrow --codebase, --backends, and --models unless the user explicitly requests a full matrix.
  • Backend installation/build problems belong to the backend workflow. In this validation sub-skill, record whether a backend is unavailable, skipped, failed, or blocked, and route installation remediation elsewhere.
  • Graph rewrite or optimizer implementation changes belong to the extensibility workflow. Use validation here only to observe downstream metric/latency/report impact.
我的收藏