本文へ移動
cccskills
無料GitHub で公開

aimet

Route AIMET install, PyTorch/ONNX quantization, GenAILab, model access, cluster/Pod, Qualcomm SDK, optimization, export, and repository tasks to focused operating guidance.

インストール方法を見る

含まれるファイル(31)

  • SKILL.md9.3 KB
  • references/api-overview.md6.4 KB
  • references/backend-compatibility.md3.9 KB
  • references/cluster-pod-workflows.md2.6 KB
  • references/genai-lab.md5.1 KB
  • references/install-and-build.md5.3 KB
  • references/model-access-and-credentialed-evaluation.md3.3 KB
  • references/qualcomm-sdk-workflows.md3.0 KB
  • references/repo-provenance.md2.9 KB
  • references/repo-routing-metadata.json330 B
  • references/troubleshooting.md8.3 KB
  • references/workflows.md4.3 KB
  • scripts/build_from_source.sh3.0 KB
  • scripts/cluster_pod_helper.sh9.0 KB
  • scripts/download_genai_checkpoint.sh3.6 KB
  • scripts/genai_config_preflight.py13.2 KB
  • scripts/genai_results_summary.py5.2 KB
  • scripts/inspect_export.py5.4 KB
  • scripts/qai_hub_qnn_job.py7.2 KB
  • scripts/qairt_command_builder.py7.2 KB
  • scripts/quick_smoke.py4.8 KB
  • sub-skills/cluster-pod-workflows/SKILL.md2.4 KB
  • sub-skills/genai-lab/SKILL.md3.7 KB
  • sub-skills/install-and-build/SKILL.md3.8 KB
  • sub-skills/model-access-and-credentialed-evaluation/references/troubleshooting.md1.2 KB
  • sub-skills/model-access-and-credentialed-evaluation/SKILL.md2.7 KB
  • sub-skills/onnx-quantization/SKILL.md3.6 KB
  • sub-skills/optimization-analysis-deployment/SKILL.md3.8 KB
  • sub-skills/qualcomm-sdk-deployment/references/troubleshooting.md1.2 KB
  • sub-skills/qualcomm-sdk-deployment/SKILL.md2.5 KB
  • sub-skills/torch-quantization/SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

AIMET repo skill

AIMET (AI Model Efficiency Toolkit) is a toolkit for quantizing, compressing, analyzing, and exporting trained PyTorch and ONNX models, with repository-side GenAILab scorecard tooling and Qualcomm target-deployment guidance. Use this skill when a task names AIMET, aimet-torch, aimet-onnx, aimet_torch, aimet_onnx, QuantizationSimModel, AIMET encodings, AIMET compression, GenAILab, QNN/QAIRT/AI Hub, or AIMET repository build/test workflows.

This skill is a router. Open the focused sub-skill and bundled references before changing code, adjusting build settings, or running expensive examples.

Start here

  1. Identify the surface. Decide whether the task is about installation/build, PyTorch quantization, ONNX quantization, GenAILab LLM/VLM evaluation, model/download credentials, cluster/Pod execution, or Qualcomm target deployment.
  2. Verify the environment before debugging AIMET. For installed-package tasks, run python scripts/quick_smoke.py --framework both from this skill directory or copy it into a clean working area. For GenAILab configs, run python scripts/genai_config_preflight.py <config.yaml> --framework <torch|onnx|both> --print-command before long runs.
  3. Do not assume CUDA is required. Core PyTorch and ONNX QuantSim workflows are CPU-valid; CUDA is required only for GPU provider checks, CUDA-marked tests, source CUDA builds, GenAILab runs whose model size needs GPU memory, or user workloads that cannot run on CPU.
  4. Treat examples as evidence, not mandatory runtime. AIMET examples often expect ImageNet-scale data, Hugging Face models, cluster credentials, or target SDKs. Use the distilled workflows and preflight scripts here unless the user has explicitly supplied those assets.

Route map

User taskRead firstWhy
Install aimet-torch/aimet-onnx, repair dependency conflicts, choose CPU vs CUDA, build from source, or run focused repo checksinstall-and-buildCaptures package names, build flags, dependency variants, and safe smoke checks.
Quantize a PyTorch model, prepare a model for AIMET, run calibration, use QAT, or export a Torch QuantSim modeltorch-quantizationCovers aimet_torch workflows, model preparation, BatchNorm folding, QuantSim, encodings, and Torch export.
Quantize an ONNX model, choose ONNX Runtime providers, compute/load encodings, export QDQ, or run ONNX PTQ utilities such as SeqMSE/AdaRoundonnx-quantizationCovers aimet_onnx graph/session workflows, precision controls, PTQ utilities, and provider decisions.
Diagnose accuracy loss, use QuantAnalyzer/visualization, mixed precision, compression, deployment artifacts, or on-target inference handoffoptimization-analysis-deploymentCovers cross-framework optimization, compression, debugging workflow, export artifacts, and target-runtime boundaries.
Configure or run AIMET GenAILab LLM/VLM scorecards, recipe chains, local Torch/ONNX GenAI tests, online scorecards, exports, caches, or summariesgenai-labCovers python -m GenAILab, YAML contracts, framework choice, cache/export/result directories, and safe preflight.
Use Hugging Face tokens, gated/private models, GitHub Actions dispatch/download, AWS/S3 checkpoint artifacts, SAML login, or metric-version-aware result comparisonsmodel-access-and-credentialed-evaluationCovers model downloads, credential boundaries, artifact download, cache planning, and comparability rules.
Launch or reuse Argo/Kubernetes pods, sync AIMET to /scratch, run GenAILab/source builds on remote GPU pods, list workflows, or stop podscluster-pod-workflowsCovers resource requests, launch/sync/exec/list/stop helper commands, and remote-state safety.
Send AIMET ONNX/encoding exports to Qualcomm AI Hub, QAIRT, QNN, HTP, DLC conversion, profiling, inference, or SDK command generationqualcomm-sdk-deploymentCovers export validation, AI Hub compile/profile/inference, local QAIRT/QNN command generation, and target-runtime boundaries.

Bundled references

Bundled scripts

Scope and limits

This repaired skill covers the public AIMET package surfaces under aimet_torch and aimet_onnx, common quantization/compression/analysis workflows, maintainer install/build/test orientation, GenAILab LLM/VLM scorecards, model/checkpoint access, credentialed evaluation boundaries, cluster/Pod execution patterns, and Qualcomm AI Hub / QAIRT / QNN target-deployment handoff. Heavy or credentialed actions remain gated: do not run large Hugging Face, ImageNet, S3, GitHub Actions, cluster, or SDK workflows until the user supplies assets/credentials and approves the runtime or remote-state effect.

Operating rules

  • Prefer installed-package introspection and small QuantSim smoke checks before blaming repo source code.
  • Use source-build commands only inside a dedicated environment; never mutate Conda base or a user production environment without approval.
  • Do not run ImageNet, Hugging Face, GenAILab, online scorecards, cluster/Pod, S3/AWS, or on-target SDK examples unless the user has supplied datasets/models/credentials/SDKs and approved the runtime or remote-state cost.
  • If CUDA behavior matters, verify an actual CUDA tensor allocation or ONNX Runtime CUDA provider; a CPU import is not GPU evidence.
  • Keep exported artifacts together: an .onnx model plus the matching AIMET .encodings JSON are both needed for downstream quantized deployment flows. Use QDQ exports only when the downstream runtime explicitly expects ONNX QuantizeLinear/DequantizeLinear nodes.
  • Do not import this generated skill into the live router unless a future user explicitly requests import.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

acme

無料

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する