AGENT SKILL

pinto-model-zoo

Use PINTO_model_zoo for model catalog search, artifact acquisition, conversion planning, inference demo preparation, and edge/backend troubleshooting.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
pinto-model-zoo
license
MIT
metadata
{ "disco-role": "operating" }
description
Use PINTO_model_zoo for model catalog search, artifact acquisition, conversion planning, inference demo preparation, and edge/backend troubleshooting.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

PINTO_model_zoo

Use this repo skill when a user asks about PINTO_model_zoo models, directories, model-format availability, download scripts, inference demos, conversion/quantization recipes, or edge/backend deployment planning.

PINTO_model_zoo is a large model artifact and conversion-script zoo, not an installable Python package. Its main operating surface is the model catalog, numbered model folders, per-folder licenses, artifact/download scripts, and heterogeneous demo/conversion scripts for TensorFlow, TFLite, ONNX, OpenVINO, TFJS, TF-TRT, CoreML, EdgeTPU, and related runtimes.

Always apply these gates

  1. License gate: check the selected model folder's license before use, publication, packaging, or redistribution. The conversion scripts and upstream model artifacts may have different licenses.
  2. Acquisition gate: do not run download*.sh, curl/wget, Google Drive, large artifact downloads, or archive extraction without explicit user approval.
  3. Backend gate: do not claim TensorFlow Lite, EdgeTPU, OpenVINO, TFJS, TF-TRT, CoreML, GPU, Raspberry Pi, camera, or browser behavior is verified until that concrete runtime/hardware case has actually run.
  4. Self-containment gate: use bundled references/scripts in this skill for selection, inspection, and planning. Treat a user checkout or model folder as input data, not as documentation the skill depends on.

Route map

User intent Use
Find models by task, model id/name, directory, format flag, or remarks. sub-skills/model-catalog/SKILL.md
Understand format flags and rank candidates for a deployment target. sub-skills/model-catalog/SKILL.md plus sub-skills/model-catalog/references/catalog-selection.md
Inspect a selected model folder, review download scripts, or diagnose Google Drive/network acquisition. sub-skills/model-acquisition/SKILL.md
Plan or debug an inference/demo script, runtime imports, missing assets, camera/video replacement, or CI smoke test. sub-skills/inference-demos/SKILL.md
Plan conversion, quantization, OpenVINO/TFLite/ONNX/CoreML/TFJS/TF-TRT/EdgeTPU deployment, or calibration requirements. sub-skills/conversion-and-deployment/SKILL.md
Cross-cutting license, artifact, optional dependency, hardware, or staleness problems. references/troubleshooting.md

Bundled references and scripts

  • references/model-zoo-overview.md summarizes repository structure, format families, and operating boundaries.
  • references/model-catalog.json is the self-contained parsed catalog snapshot used by scripts/query_model_catalog.py.
  • references/repo-provenance.md records the source commit, dirty state, and evidence paths used to build this skill. Read it before deciding whether a checkout needs refresh-repo-skill.
  • references/repo-routing-metadata.json is consumed by DisCo's managed repo-skills importer when import is later approved.
  • scripts/query_model_catalog.py searches the bundled catalog by name, category, id, directory, format, or remarks.
  • scripts/check_model_folder.py inspects a user-supplied model folder for licenses, notes, artifacts, scripts, and backend hints without executing anything.

Minimal verification commands

These commands validate the bundled skill helpers; they do not prove any model backend runtime:

python scripts/query_model_catalog.py --query YOLOX --format ONNX --limit 5
python scripts/query_model_catalog.py --list-formats
python scripts/check_model_folder.py /path/to/a/selected/PINTO_model_zoo/model-folder --json

Use sub-skill helpers for script classification:

python sub-skills/model-acquisition/scripts/inspect_download_plan.py /path/to/model-folder --json
python sub-skills/inference-demos/scripts/classify_runtime_script.py /path/to/demo.py --json
python sub-skills/conversion-and-deployment/scripts/classify_conversion_script.py /path/to/convert_or_quantize.py --json

Typical operating sequence

  1. Use model-catalog to select candidate model folders and format flags.
  2. Use model-acquisition to check license status and artifact/download availability.
  3. Use inference-demos to plan a safe runtime smoke check or adapt a demo.
  4. Use conversion-and-deployment only when an existing catalog artifact is missing or the user requires a changed precision, shape, target backend, or deployment package.
  5. Report what is actually verified and what remains blocked by network, license, assets, optional dependencies, datasets, or hardware.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351