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
- 参考文档references/model-catalog.json147.7 KB
- 参考文档references/model-zoo-overview.md3.8 KB
- 参考文档references/repo-provenance.md2.0 KB
- 参考文档references/repo-routing-metadata.json552 B
- 参考文档references/troubleshooting.md3.7 KB
- 脚本scripts/check_model_folder.py7.3 KB
- 脚本scripts/query_model_catalog.py10.1 KB
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
- 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.
- Acquisition gate: do not run
download*.sh, curl/wget, Google Drive, large artifact downloads, or archive extraction without explicit user approval. - 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.
- 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.mdsummarizes repository structure, format families, and operating boundaries.references/model-catalog.jsonis the self-contained parsed catalog snapshot used byscripts/query_model_catalog.py.references/repo-provenance.mdrecords the source commit, dirty state, and evidence paths used to build this skill. Read it before deciding whether a checkout needsrefresh-repo-skill.references/repo-routing-metadata.jsonis consumed by DisCo's managed repo-skills importer when import is later approved.scripts/query_model_catalog.pysearches the bundled catalog by name, category, id, directory, format, or remarks.scripts/check_model_folder.pyinspects 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
- Use
model-catalogto select candidate model folders and format flags. - Use
model-acquisitionto check license status and artifact/download availability. - Use
inference-demosto plan a safe runtime smoke check or adapt a demo. - Use
conversion-and-deploymentonly when an existing catalog artifact is missing or the user requires a changed precision, shape, target backend, or deployment package. - Report what is actually verified and what remains blocked by network, license, assets, optional dependencies, datasets, or hardware.
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).