mirror of
https://github.com/NVIDIA/Model-Optimizer.git
synced 2026-12-06 04:57:17 +08:00
Chad's Agent ### What does this PR do? Type of change: documentation. Adds `modelopt-` to all 15 workflow skill directories and frontmatter names. Preserves all 15 old invocation names with minimal forwarding stubs and legacy supporting paths with symlinks. Updates role definitions, references, discovery, CI collection, lint exclusions, and upstream-sync destinations. `common` remains shared support, not a workflow. No eval relocation or independent-loading changes. ### Naming rationale — Chad's Agent NVIDIA/skills documents a [product-prefixed flat layout](https://github.com/NVIDIA/skills/blob/main/README.md#repository-structure): `skills/<product-prefix>-*/` (“one dir per skill, product-prefixed”). Its [component onboarding example](https://github.com/NVIDIA/skills/blob/main/components.d/README.md#example) uses `skills/your-product-install/` and states that catalog naming mirrors source naming 1:1. This PR adopts `modelopt-*` for that layout and to disambiguate generic names such as `ptq` and `evaluation`. These references document the catalog convention; they do not explicitly mandate renaming every non-catalog source skill. ### Review follow-up — Chad's Agent - Canonical `description:` routing now uses `modelopt-*` names (for example, `skills/modelopt-evaluation/SKILL.md:3` and `skills/modelopt-quant-recipe-search/SKILL.md:9–12`). - Bare names are temporary compatibility entrypoints, deprecated for removal in ModelOpt 0.50.0. - Verified that `modelopt-launching-evals/tests.json` and `references/analyze-results.md` differ from their pre-rename versions only in skill names. Preserved these edits; no content patches were added to the sync script. Future upstream resyncs still overwrite local content as documented. - CI intentionally collects canonical workflow test directories, excluding duplicate compatibility paths and shared support; added an explanatory comment. - Follow-up validation: 126 passed, 3 skipped; pre-commit passed; all description routing targets resolve. No GPU or live catalog evaluations run for this follow-up. ### Usage Use product-prefixed names, for example `modelopt-ptq`. The old `ptq` stub reads and follows the canonical sibling; this is agent-level forwarding, not a native redirect. ### Testing - Compatibility change and restacked tip: 126 passed, 3 skipped (unavailable Torch/Jinja2); pre-commit passed. Added 15 parametrized compatibility/discovery cases; tests collect canonical directories to avoid duplicate traversal through aliases. - Claude Code 2.1.228 and Codex CLI 0.162.1 discovery: all 15 canonical names and 15 old names, plus the existing `common` support entry, found from checkout and installed plugin. - Live read-only forwarding: representative `benchmark-model-kernels` / `modelopt-benchmark-model-kernels` pair passed in both clients, from checkout and plugin cache. Confirmed canonical SKILL.md and bundled script reads. Claude cache-only checks excluded marketplace source paths; Codex used a narrowly scoped read-only file tool because host shell sandbox namespaces were unavailable. - Runtime forwarding sampled one pair, not all 15 workflows. No full catalog agent evaluations, GPU workloads, deployment, or container builds were run. - Limitations: stubs need canonical siblings and cannot be installed alone. Codex's installer omits supporting symlinks, so legacy resource paths are checkout-compatible but unavailable in its installed cache; canonical forwarding targets remain real files. ### Before your PR is "Ready for review" - Compatibility: old-name stubs and canonical names are both discoverable. Prefer canonical names; generic aliases can collide with other installed skills. See installer limitations under Testing. - New PIP dependencies: none. - Changelog: N/A, onboarding preparation. - Claude review: pending. ### Stack / merge order 1. [Move skills to repository root](https://github.com/NVIDIA/Model-Optimizer/pull/3282) 2. [Prefix skill names](https://github.com/NVIDIA/Model-Optimizer/pull/3283) 3. [Move evaluation datasets to canonical paths (replaces #3285)](https://github.com/NVIDIA/Model-Optimizer/pull/3374) 4. [Add draft cards and catalog eval cases (replaces #3286)](https://github.com/NVIDIA/Model-Optimizer/pull/3375) 5. [Independent loading follow-up](https://github.com/NVIDIA/Model-Optimizer/pull/3284) Chad's Agent: Reordered at Chad's request. Catalog artifact preparation precedes independent loading. Live evaluation, signing, and release clearance remain pending. No changes were merged to main during this restack. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added a broader set of task guides for model quantization, evaluation, deployment, benchmarking, monitoring, and release workflows. * Standardized skill discovery around a single canonical catalog, while keeping older skill names as compatibility entry points. * Improved guidance for finding and reviewing evaluation runs and their artifacts. * **Documentation** * Clarified how to use canonical skills and noted compatibility considerations for existing tools and workflows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Chad Voegele <cvoegele@nvidia.com>
Symbolic link
1 line
30 B
Plaintext
Symbolic link
1 line
30 B
Plaintext
../modelopt-deployment/scripts |