[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B5V2H8MT8B8KHG2B7BGVPV":3,"skill-same:01M7B5V2H8MT8B8KHG2B7BGVPV":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7B5V2H8MT8B8KHG2B7BGVPV","modelopt-benchmark-model-kernels",null,"Inspect Hugging Face decoder layers on meta tensors and plan or run per-rank BF16, FP8, and NVFP4 GEMM or fused-MoE microbenchmarks with the bundled scripts and a local FlashInfer checkout. Use when choosing a model, GPU, TP, EP, or M\u002Ftoken-concurrency sweep; deriving common fused QKV and gate\u002Fup shapes without loading checkpoint weights; or using FlashInfer benchmark utilities. Do not use for end-to-end server throughput or request latency.","NVIDIA\u002FModel-Optimizer","NVIDIA","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1728152?v=4","01M6BXXZYTRNBXSTRXNNBB356H","NVIDIA Corporation","01M6BXY02X3PRVHNNATDHA2D0W",5604,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-benchmark-model-kernels\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: modelopt-benchmark-model-kernels\ndescription: >-\n  Inspect Hugging Face decoder layers on meta tensors and plan or run per-rank\n  BF16, FP8, and NVFP4 GEMM or fused-MoE microbenchmarks with the bundled\n  scripts and a local FlashInfer checkout. Use when choosing a model, GPU, TP,\n  EP, or M\u002Ftoken-concurrency sweep; deriving common fused QKV and gate\u002Fup\n  shapes without loading checkpoint weights; or using FlashInfer benchmark\n  utilities. Do not use for end-to-end server throughput or request latency.\n---\n\n# Benchmark Model Kernels\n\nPlan a single-GPU microbenchmark for the per-rank shapes of an intended\ndeployment. The scripts never load checkpoint weights, launch distributed\nworkers, or measure collectives, serving throughput, or request latency.\n\n## Interview, one decision per message\n\nAsk exactly one unresolved decision per message with two or three concrete\noptions, state the default, and wait for the answer. Recommend an option only\nwhen it is substantively better. Skip decisions already answered. Follow this\norder:\n\n1. **Model** — a local directory, a `config.json`, or a Hub ID (equivalent; no\n   default). The script builds the model on meta tensors from configuration\n   only. Do not enable `--trust-remote-code` without explicit approval; pin\n   `--revision \u003Ccommit>` when it is needed.\n2. **TP and EP** — accept both directly, or derive them from the intended\n   deployment's GPU model and count and confirm. Defaults: `TP=1`, `EP=1`.\n   Derive parallelism from the intended deployment, never from the GPU that\n   runs the microbenchmark. The script validates every sharding rule\n   (divisibility, GQA replication, expert partitioning) and errors loudly.\n3. **M sweep** — balanced default (recommended): `1 8 64 512`; decode-focused:\n   `1 4 16 32`; throughput-focused: `64 256 1024 4096`. M is roughly the\n   tokens scheduled per step (decode: active sequences), not endpoint\n   concurrency. With EP, an MoE row models one rank's share of the global\n   batch: a global batch of B tokens corresponds to the column M = B\u002FEP, so\n   do not compare different EP values at the same M.\n4. **Shape preview** — always run this before anything else; no FlashInfer or\n   GPU needed:\n\n   ```bash\n   python \"$SKILL_DIR\u002Fscripts\u002Fbenchmark_model.py\" \u003Cmodel> \\\n     --tp \u003Ctp> --ep \u003Cep> --ms \u003Cm1> \u003Cm2> ... --print_only\n   ```\n\n   Review the printed shapes and the MoE tuple with the user.\n   `# unsupported:` lines mean the list is partial and the script exits\n   nonzero — handle those via **Manual supplements** below.\n5. **FlashInfer checkout and GPU** — the full benchmark needs a FlashInfer\n   *source checkout* containing `benchmarks\u002Fflashinfer_benchmark.py`; the\n   installed wheel alone is not enough. Prefer a clean checkout matching the\n   installed `flashinfer` version; ask before cloning or installing anything.\n   On the benchmark machine, check `nvidia-smi` and package versions, verify\n   the target GPU is idle (concurrent work on the same GPU skews timings),\n   and verify CUPTI timing with a tiny `bench_gpu_time(..., enable_cupti=True)`\n   probe — a warning that falls back to CUDA events is a failure (the\n   `cupti-python`\u002F`nvidia-cuda-cupti` packages must match PyTorch's CUDA\n   major). Ask for a GPU index only when several are visible. Pick a fresh\n   workdir and state it.\n6. **Full benchmark**:\n\n   ```bash\n   CUDA_VISIBLE_DEVICES=\u003Cgpu-index> \\\n   python \"$SKILL_DIR\u002Fscripts\u002Fbenchmark_model.py\" \u003Cmodel> \\\n     --tp \u003Ctp> --ep \u003Cep> --ms \u003Cm1> \u003Cm2> ... \\\n     --flashinfer_repo \u003Cflashinfer-repo> --workdir \u003Cworkdir>\n   ```\n\n   Run a short plumbing check first (append\n   `--dry_run_iters 1 --num_iters 3 --no_autotune`, throwaway workdir),\n   especially after changing FlashInfer versions or shape logic; never present\n   it as a performance result. Then run with defaults. The first fused-MoE\n   build or autotune can take several minutes; its cache is reused.\n\n## Rules the scripts own\n\nDo not restate, re-derive, or override these — the code enforces them:\n\n- `benchmark_model.py` derives `--nks` (as `N,K,module-name` triples) and\n  all `--moe_*` arguments; overrides are rejected.\n- Row labels are logical shapes; the runner applies vLLM's physical padding.\n  Report both shapes whenever they differ.\n- A failed case writes FlashInfer's error message (or a pointer to\n  `driver.log`) into its `combined_results.csv` cell, and the command exits\n  nonzero after the table is written. Never present a partial table as a\n  successful benchmark; read `driver.log` before rerunning anything.\n\n## Known backend and driver limits\n\n- `mm_fp4` TensorRT-LLM needs `N % 128 == 0` (shuffled weight layout): its\n  cell reports no result row, or on stock 0.6.x drivers an empty assertion\n  that fails every `mm_fp4` backend for that shape.\n- `mm_fp8` (trtllm_low_latency) needs `K % 128 == 0`.\n- MoE rows cover FlashInfer's CUTLASS fused MoE, the trtllm-gen NVFP4 and\n  per-tensor FP8 MoE, and the CuteDSL NVFP4 MoE. The CuteDSL MoE row appears\n  only for Swiglu models (the kernel supports nothing else); the `cutedsl` and\n  `trtllm` backends require recent GPUs and report per-case errors elsewhere.\n- Gated NVFP4 CUTLASS MoE with `2F % 128 != 0` per rank fails — vLLM raises\n  instead of padding — often as a `CUDA error: misaligned address`. Prefer EP\n  over TP for the experts to keep the per-rank width legal.\n- Do not benchmark a padded shape to dodge these limits and call it\n  vLLM-equivalent; report the limit instead.\n\n## Manual supplements\n\nFor each `# unsupported:` layout from the preview: inspect that module's\nforward path and the intended runtime's TP\u002FEP sharding, derive the per-rank\nshape (never guess sharding from a weight shape alone), and benchmark only the\nmissing shape:\n\n```bash\nCUDA_VISIBLE_DEVICES=\u003Cgpu-index> \\\npython \"$SKILL_DIR\u002Fscripts\u002Fbenchmark_via_builtin.py\" \\\n  --flashinfer_repo \u003Cflashinfer-repo> --ms \u003Cm1> \u003Cm2> ... \\\n  --nks \u003Cn>,\u003Ck>,\u003Cname> --workdir \u003Cworkdir>\n```\n\nLabel these rows as manual supplements; this is not a substitute for running\n`benchmark_model.py` first. Shell-quote user-supplied paths.\n\n## Report\n\nReport the command, GPU, versions, TP\u002FEP, M values, shapes (logical and\nphysical where they differ), warnings, and the artifacts: `testlist.txt`,\n`driver.log` (full driver output), `builtin_results.csv` (milliseconds,\nsuccess-only), and `combined_results.csv` (long form, microseconds: columns `module_name,\nM, N, K, backend, with_quant, runtime` in `GEMM` and `MoE` sections; modules\nfused into one GEMM are joined with `|` in `module_name`, while distinct\nsame-shape modules appear as duplicated rows sharing one measurement; MoE\nrows keep the `H= F= E= top_k=` parameter line and leave N\u002FK empty). In quantization-recipe terms:\n`bf16` rows are the unquantized W16A16 baseline, `fp8` rows are per-tensor\nW8A8, and `nvfp4` rows are W4A4. Plain quantized rows time the kernel with\npre-quantized activations; `*_with_quant` rows add a separately measured\nactivation-quantization time in the scale-factor layout that backend\nconsumes, except the NVFP4 CUTLASS MoE row, which is a single fused\nmeasurement. MoE routing is synthetic: uniform expert\ndistribution everywhere (real skewed routing is slower), and the trtllm-gen\nrows, which route in-kernel, use a fixed `renormalize` method regardless of\nthe model's routing scheme. CUTLASS and CuteDSL MoE rows receive precomputed\nexpert indices and exclude routing-selection cost entirely. No row includes\nthe router GEMM itself. These are kernel times\nonly — never describe them as end-to-end latency or throughput; they omit\nweights, layer frequency, communication, KV cache, and scheduling.\n","# Benchmark Model Kernels\n\nPlan a single-GPU microbenchmark for the per-rank shapes of an intended\ndeployment. The scripts never load checkpoint weights, launch distributed\nworkers, or measure collectives, serving throughput, or request latency.\n\n## Interview, one decision per message\n\nAsk exactly one unresolved decision per message with two or three concrete\noptions, state the default, and wait for the answer. Recommend an option only\nwhen it is substantively better. Skip decisions already answered. Follow this\norder:\n\n1. **Model** — a local directory, a `config.json`, or a Hub ID (equivalent; no\n   default). The script builds the model on meta tensors from configuration\n   only. Do not enable `--trust-remote-code` without explicit approval; pin\n   `--revision \u003Ccommit>` when it is needed.\n2. **TP and EP** — accept both directly, or derive them from the intended\n   deployment's GPU model and count and confirm. Defaults: `TP=1`, `EP=1`.\n   Derive parallelism from the intended deployment, never from the GPU that\n   runs the microbenchmark. The script validates every sharding rule\n   (divisibility, GQA replication, expert partitioning) and errors loudly.\n3. **M sweep** — balanced default (recommended): `1 8 64 512`; decode-focused:\n   `1 4 16 32`; throughput-focused: `64 256 1024 4096`. M is roughly the\n   tokens scheduled per step (decode: active sequences), not endpoint\n   concurrency. With EP, an MoE row models one rank's share of the global\n   batch: a global batch of B tokens corresponds to the column M = B\u002FEP, so\n   do not compare different EP values at the same M.\n4. **Shape preview** — always run this before anything else; no FlashInfer or\n   GPU needed:\n\n   ```bash\n   python \"$SKILL_DIR\u002Fscripts\u002Fbenchmark_model.py\" \u003Cmodel> \\\n     --tp \u003Ctp> --ep \u003Cep> --ms \u003Cm1> \u003Cm2> ... --print_only\n   ```\n\n   Review the printed shapes and the MoE tuple with the user.\n   `# unsupported:` lines mean the list is partial and the script exits\n   nonzero — handle those via **Manual supplements** below.\n5. **FlashInfer checkout and GPU** — the full benchmark needs a FlashInfer\n   *source checkout* containing `benchmarks\u002Fflashinfer_benchmark.py`; the\n   installed wheel alone is not enough. Prefer a clean checkout matching the\n   installed `flashinfer` version; ask before cloning or installing anything.\n   On the benchmark machine, check `nvidia-smi` and package versions, verify\n   the target GPU is idle (concurrent work on the same GPU skews timings),\n   and verify CUPTI timing with a tiny `bench_gpu_time(..., enable_cupti=True)`\n   probe — a warning that falls back to CUDA events is a failure (the\n   `cupti-python`\u002F`nvidia-cuda-cupti` packages must match PyTorch's CUDA\n   major). Ask for a GPU index only when several are visible. Pick a fresh\n   workdir and state it.\n6. **Full benchmark**:\n\n   ```bash\n   CUDA_VISIBLE_DEVICES=\u003Cgpu-index> \\\n   python \"$SKILL_DIR\u002Fscripts\u002Fbenchmark_model.py\" \u003Cmodel> \\\n     --tp \u003Ctp> --ep \u003Cep> --ms \u003Cm1> \u003Cm2> ... \\\n     --flashinfer_repo \u003Cflashinfer-repo> --workdir \u003Cworkdir>\n   ```\n\n   Run a short plumbing check first (append\n   `--dry_run_iters 1 --num_iters 3 --no_autotune`, throwaway workdir),\n   especially after changing FlashInfer versions or shape logic; never present\n   it as a performance result. Then run with defaults. The first fused-MoE\n   build or autotune can take several minutes; its cache is reused.\n\n## Rules the scripts own\n\nDo not restate, re-derive, or override these — the code enforces them:\n\n- `benchmark_model.py` derives `--nks` (as `N,K,module-name` triples) and\n  all `--moe_*` arguments; overrides are rejected.\n- Row labels are logical shapes; the runner applies vLLM's physical padding.\n  Report both shapes whenever they differ.\n- A failed case writes FlashInfer's error message (or a pointer to\n  `driver.log`) into its `combined_results.csv` cell, and the command exits\n  nonzero after the table is written. Never present a partial table as a\n  successful benchmark; read `driver.log` before rerunning anything.\n\n## Known backend and driver limits\n\n- `mm_fp4` TensorRT-LLM needs `N % 128 == 0` (shuffled weight layout): its\n  cell reports no result row, or on stock 0.6.x drivers an empty assertion\n  that fails every `mm_fp4` backend for that shape.\n- `mm_fp8` (trtllm_low_latency) needs `K % 128 == 0`.\n- MoE rows cover FlashInfer's CUTLASS fused MoE, the trtllm-gen NVFP4 and\n  per-tensor FP8 MoE, and the CuteDSL NVFP4 MoE. The CuteDSL MoE row appears\n  only for Swiglu models (the kernel supports nothing else); the `cutedsl` and\n  `trtllm` backends require recent GPUs and report per-case errors elsewhere.\n- Gated NVFP4 CUTLASS MoE with `2F % 128 != 0` per rank fails — vLLM raises\n  instead of padding — often as a `CUDA error: misaligned address`. Prefer EP\n  over TP for the experts to keep the per-rank width legal.\n- Do not benchmark a padded shape to dodge these limits and call it\n  vLLM-equivalent; report the limit instead.\n\n## Manual supplements\n\nFor each `# unsupported:` layout from the preview: inspect that module's\nforward path and the intended runtime's TP\u002FEP sharding, derive the per-rank\nshape (never guess sharding from a weight shape alone), and benchmark only the\nmissing shape:\n\n```bash\nCUDA_VISIBLE_DEVICES=\u003Cgpu-index> \\\npython \"$SKILL_DIR\u002Fscripts\u002Fbenchmark_via_builtin.py\" \\\n  --flashinfer_repo \u003Cflashinfer-repo> --ms \u003Cm1> \u003Cm2> ... \\\n  --nks \u003Cn>,\u003Ck>,\u003Cname> --workdir \u003Cworkdir>\n```\n\nLabel these rows as manual supplements; this is not a substitute for running\n`benchmark_model.py` first. Shell-quote user-supplied paths.\n\n## Report\n\nReport the command, GPU, versions, TP\u002FEP, M values, shapes (logical and\nphysical where they differ), warnings, and the artifacts: `testlist.txt`,\n`driver.log` (full driver output), `builtin_results.csv` (milliseconds,\nsuccess-only), and `combined_results.csv` (long form, microseconds: columns `module_name,\nM, N, K, backend, with_quant, runtime` in `GEMM` and `MoE` sections; modules\nfused into one GEMM are joined with `|` in `module_name`, while distinct\nsame-shape modules appear as duplicated rows sharing one measurement; MoE\nrows keep the `H= F= E= top_k=` parameter line and leave N\u002FK empty). In quantization-recipe terms:\n`bf16` rows are the unquantized W16A16 baseline, `fp8` rows are per-tensor\nW8A8, and `nvfp4` rows are W4A4. Plain quantized rows time the kernel with\npre-quantized activations; `*_with_quant` rows add a separately measured\nactivation-quantization time in the scale-factor layout that backend\nconsumes, except the NVFP4 CUTLASS MoE row, which is a single fused\nmeasurement. MoE routing is synthetic: uniform expert\ndistribution everywhere (real skewed routing is slower), and the trtllm-gen\nrows, which route in-kernel, use a fixed `renormalize` method regardless of\nthe model's routing scheme. CUTLASS and CuteDSL MoE rows receive precomputed\nexpert indices and exclude routing-selection cost entirely. No row includes\nthe router GEMM itself. These are kernel times\nonly — never describe them as end-to-end latency or throughput; they omit\nweights, layer frequency, communication, KV cache, and scheduling.\n",{"name":5,"description":7},"main","e169b4c2bc62a32c45aaef793cde7599dee2c1b2","skills\u002Fmodelopt-benchmark-model-kernels",806,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer","https:\u002F\u002Fnvidia.github.io\u002FModel-Optimizer\u002F","https:\u002F\u002Fgithub.com\u002FNVIDIA","https:\u002F\u002Fnvidia.com","2026-11-15 02:45:59",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add NVIDIA\u002FModel-Optimizer --skill modelopt-benchmark-model-kernels",{"tool":39,"command":40},"bunx","bunx skills add NVIDIA\u002FModel-Optimizer --skill modelopt-benchmark-model-kernels",{"tool":42,"command":43},"pnpm","pnpm dlx skills add NVIDIA\u002FModel-Optimizer --skill modelopt-benchmark-model-kernels","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-benchmark-model-kernels\u002FSKILL.md",true,[47,53,57,61],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"scripts\u002Fbenchmark_model.py","SCRIPT","脚本",32707,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-benchmark-model-kernels\u002Fscripts\u002Fbenchmark_model.py",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"scripts\u002Fbenchmark_via_builtin.py",30965,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-benchmark-model-kernels\u002Fscripts\u002Fbenchmark_via_builtin.py",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"tests\u002Ftest_benchmark_model.py",22934,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-benchmark-model-kernels\u002Ftests\u002Ftest_benchmark_model.py",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"tests\u002Ftest_benchmark_via_builtin.py",16366,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-benchmark-model-kernels\u002Ftests\u002Ftest_benchmark_via_builtin.py",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7B5XD9M965H2TAV4ZJMPF6N","modelopt-speculative-decoding","Train, debug, and validate a speculative decoding draft model (EAGLE3, DFlash, DSpark, Domino) through the ModelOpt launcher pipeline. Use when the user wants to add a new model to a draft-training pipeline, asks why a pipeline run failed, wants experiment logs reviewed, or wants to check whether a run's acceptance rate meets threshold. Triggers on \"EAGLE3\", \"DFlash\", \"DSpark\", \"Domino\", \"draft model\", \"acceptance rate\", \"speculative decoding pipeline\". Do NOT use for quantizing a model (use modelopt-ptq) or serving a checkpoint (use modelopt-deployment).","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-speculative-decoding\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7B5X9SG5FHW174VFK979DQ9","modelopt-run-agentx","Run the AgentX agentic serving benchmark with the SemiAnalysis harness. Use for AgentX setup, dataset downloads, concurrency sweeps, or serving latency and throughput comparisons.","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-run-agentx\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7B5X4C0XGVA8N0BXF9N4HCX","modelopt-release-cherry-pick","Audit merged bug-fix PRs and release NVBugs for missing cherry-pick labels, then cherry-pick labeled PRs into a release branch and open a PR. Use when asked to \"cherry-pick PRs for release\u002FX.Y.Z\", \"pick PRs to release branch\", \"verify cherry-pick labels\", or \"cherry-pick labeled PRs\".","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-release-cherry-pick\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7B5WXMDYXCK43YA5ZEF7ECY","modelopt-quant-recipe-search","Use when the user asks to find, search for, or optimize the best quantization recipe for a model, including direct requests like \"find the best quantization recipe and generate a PTQ checkpoint.\" Guides the multi-candidate loop: choose compute-vs-memory success metrics, select ModelOpt recipe baselines, design AutoQuant\u002Fmanual recipe deltas, interpret sensitivity, and decide next candidates. Do NOT use for a single known PTQ recipe run (use modelopt-ptq), serving (use modelopt-deployment), creating\u002Frunning evals (use modelopt-evaluation or modelopt-launching-evals), monitoring jobs (use modelopt-monitor), MLflow browsing (use modelopt-accessing-mlflow), or comparing completed baseline-vs-candidate scores only (use modelopt-compare-results).","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-quant-recipe-search\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7B5WRMPZE23YXCFMZBM8KJA","modelopt-qad","Run explicitly requested ModelOpt Quantization-Aware Distillation (QAD) through Megatron Bridge (recommended) or Hugging Face Transformers to recover a measured BF16-to-PTQ accuracy gap. Use only when the user explicitly asks for QAD, including its topology, data preparation, launch, resume, checkpoint export, or recovery decisions.","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-qad\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7B5WJHB4D787EZCY4RNN44T","modelopt-ptq","Use when the user asks to \"quantize a model\", \"run PTQ\", \"post-training quantization\", \"NVFP4 quantization\", \"FP8 quantization\", \"INT8 quantization\", \"INT4 AWQ\", \"quantize LLM\", \"quantize MoE\", \"quantize VLM\", or needs to produce a quantized HuggingFace checkpoint from a pretrained model using ModelOpt. Do NOT use for multi-candidate recipe exploration or optimization (use modelopt-quant-recipe-search).","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FModel-Optimizer\u002Fblob\u002Fmain\u002Fskills\u002Fmodelopt-ptq\u002FSKILL.md",[],[]]