easycv
Routes EasyCV training, evaluation, prediction, export, and data workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- easycv
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes EasyCV training, evaluation, prediction, export, and data workflows.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档references/cli-reference.md2.0 KB
- 参考文档references/installation.md1.7 KB
- 参考文档references/model-zoo-overview.md2.6 KB
- 参考文档references/repo-provenance.md1016 B
- 参考文档references/repo-routing-metadata.json489 B
- 参考文档references/troubleshooting.md3.0 KB
- 脚本scripts/check_easycv_env.py1.3 KB
03 SKILL.md 正文
EasyCV
Use this skill for EasyCV workflows that sit on top of the repo's configuration-driven model zoo, training / evaluation entry points, predictor APIs, data-preparation helpers, and export or optimization paths.
EasyCV is a broad computer-vision toolbox. Keep this root router short and use the focused sub-skills for workflow detail.
Start here
- Read
references/installation.mdif you need the public install path, optional extras, or a minimal smoke check. - Read
references/model-zoo-overview.mdwhen you need to choose a config family or understand the main task coverage. - Read
references/cli-reference.mdwhen you need the canonical command/module front doors. - Read
references/troubleshooting.mdfor cross-cutting install, import, backend, config, and OSS issues. - Run
scripts/check_easycv_env.pyto confirm the package import surface and optional backend availability in a prepared environment.
Route map
sub-skills/data-preparation/
Use for dataset layouts, annotation conversion, file/OSS I/O, dataset download prep, and repo-maintained conversion helpers.
Typical asks:
- "How do I prepare COCO/ImageNet/VOC/nuScenes data for EasyCV?"
- "How do I convert annotations or check a data layout?"
- "How do I use EasyCV file I/O with local or OSS paths?"
sub-skills/training-and-evaluation/
Use for training, fine-tuning, evaluation, config selection, distributed launch, metric setup, and training-time logging or visualization.
Typical asks:
- "How do I train a classification or detection model?"
- "Which config template should I start from?"
- "How do I run eval or resume a checkpoint?"
sub-skills/prediction-and-inference/
Use for Python predictor APIs, batch prediction, feature extraction, OCR / pose / video / segmentation inference, and exported-model consumption.
Typical asks:
- "How do I run batch inference on images or tables?"
- "Which predictor class should I use?"
- "How do I load a JIT / Blade / ONNX / raw checkpoint for inference?"
sub-skills/export-and-optimization/
Use for model export, JIT / Blade / ONNX packaging, pruning, quantization, TorchAccelerator, and other inference-optimization paths.
Typical asks:
- "How do I export a checkpoint for inference?"
- "How do I prune or quantize a YOLOX model?"
- "What extra packages are needed for Blade or TorchAcc?"
What this skill does not do
- It does not depend on the original checkout remaining available at runtime.
- It does not expose generated-skill content outside the router and bundled references.
- It does not import optional heavyweight extras unless the selected workflow needs them.
Common entry points
The installed package exposes the public workflow modules under easycv.tools and the main APIs under easycv.apis and easycv.predictors.
Use those modules when you want to stay in the installed package rather than the source checkout.
Shared guardrails
- Match the config family to the task before editing paths or hyperparameters.
- Prefer the smallest runnable command first:
--help, import checks, or a tiny smoke input. - Treat advanced backends such as
easy_predict,modelscope,pai_nni,blade_compression,torchacc, ornvidia-dalias optional dependencies unless the selected workflow needs them. - Keep dataset conversion and optimization helpers separate from core training and inference guidance.
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).