Model Builder
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
L3 recipe that runs a Torch LLM PTQ end-to-end for AMD Quark — for PyTorch / HuggingFace transformers models (safetensors input): quantize → validate → evaluate.
$ npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/Quark quark-torch-llm-ptq-eval --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval .claude/skills/quark-torch-llm-ptq-eval && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "quark-torch-llm-ptq-eval" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval into .claude/skills/quark-torch-llm-ptq-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-llm-ptq-eval", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-evalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/Quark quark-torch-llm-ptq-eval --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval .agents/skills/quark-torch-llm-ptq-eval && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "quark-torch-llm-ptq-eval" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval into .agents/skills/quark-torch-llm-ptq-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-llm-ptq-eval", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/Quark quark-torch-llm-ptq-eval --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval .cursor/skills/quark-torch-llm-ptq-eval && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "quark-torch-llm-ptq-eval" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval into .cursor/skills/quark-torch-llm-ptq-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-llm-ptq-eval", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/amd/Quark.git --path .claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/Quark quark-torch-llm-ptq-eval --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval .gemini/skills/quark-torch-llm-ptq-eval && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "quark-torch-llm-ptq-eval" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval into .gemini/skills/quark-torch-llm-ptq-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-llm-ptq-eval", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install amd/Quark quark-torch-llm-ptq-evalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval .github/skills/quark-torch-llm-ptq-eval && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "quark-torch-llm-ptq-eval" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval into .github/skills/quark-torch-llm-ptq-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-llm-ptq-eval", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install amd/Quark quark-torch-llm-ptq-eval --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/amd/Quark.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval .opencode/skills/quark-torch-llm-ptq-eval && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "quark-torch-llm-ptq-eval" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval into .opencode/skills/quark-torch-llm-ptq-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-llm-ptq-eval", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
quark-torch-llm-ptq-evalL3 recipe that runs a Torch LLM PTQ end-to-end for AMD Quark — for PyTorch / HuggingFace transformers models (safetensors input): quantize → validate → evaluate.
Quark Torch LLM Ptq Eval is an agent skill from amd/Quark. L3 recipe that runs a Torch LLM PTQ end-to-end for AMD Quark — for PyTorch / HuggingFace transformers models (safetensors input): quantize → validate → evaluate. Phase 1 delegates the full PTQ path (model intake → quantization planning → manifest generation → confirmed execution) to the quark-torch-ptq workflow; Phase 2 runs mandatory structural validation via quark-torch-result-validator; Phase 3 runs opt-in accuracy evaluation via quark-torch-llm-eval. Use when the user wants to "quantize and validate"…
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `example-fp8-qwen3-8b.md`).
It sits in AI & LLM Engineering, covering LLM inference and serving, Deep learning and End-to-end testing. It works with ONNX, PyTorch, Mistral AI and Qwen. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 313cb0b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dockerFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Quark Torch LLM Ptq Eval loads about 2.6k tokens when it runs. Until then it costs about 224 tokens; SKILL.md has 1,209 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from amd/Quark at commit 313cb0b, republished under its MIT licence (© amd). 1,209 words, ~2,619 tokens.
.claude/skills/quark-torch-llm-ptq-eval/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Run the complete PTQ lifecycle for a Torch LLM in one recipe: quantize → validate → evaluate.
This recipe composes existing skills rather than re-implementing them — Phase 1 hands off to the
quark-torch-ptq workflow (L2) for the PTQ steps, then Phases 2 and 3 chain the atomic validation
and evaluation skills (L1). The end result is identical to running the PTQ workflow and then the
validator and eval skills by hand; this recipe just drives the whole chain so the user does not have
to invoke them separately.
Use this recipe when the user wants quantization plus a correctness and/or accuracy check in a
single flow. If they only want the quantized model (no validation, no eval), route to quark-torch-ptq
instead — do not run this recipe and then skip its later phases.
session_context.json for user goal and constraintsenv_context.json for hardware factsworkspace_context.json for validated pathspytorch_install_result.json and quark_install_result.json to confirm runtime is readyrun_manifest.yaml — executed PTQ command and config (from Phase 1)validation_report.md — structural validation result (from Phase 2, mandatory)eval_report.md — accuracy evaluation result (from Phase 3, optional)quark-torch-ptq workflow run verbatim, with all
its checkpoints. Do not inline or re-derive the intake/plan/manifest/execute steps here.quark/, examples/, tools/,
docs/, tests/) is read-only. See the same rule in the quark-torch-ptq workflow.Phase 1 (PTQ via quark-torch-ptq)
Step 1 (Intake) ──► model_analysis.json
Step 2 (Plan) ──► quant_plan.json
Step 3 (Manifest) ──► run_manifest.yaml (contains the exact command)
Step 4 (Execute) ──► quantized model output (only after user says yes)
Phase 2 (Validate) ──► validation_report.md (auto, mandatory)
Phase 3 (Eval) ──► eval_report.md (optional, requires user opt-in + ROCm for Tier 3)quark-torch-ptq)Goal: Produce the quantized model plus model_analysis.json, quant_plan.json, and run_manifest.yaml.
Run the quark-torch-ptq workflow end-to-end (its Steps 1–4, including CHECKPOINT 1/2/3 and the
Step 3 "shall I run this?" confirmation). Carry forward, for the later phases:
<MODEL_PATH> — source model, from intake<OUTPUT_DIR> — quantized model directory, from the manifestquant_plan.json — exclude rules and model paths, for the validatorDo not proceed to Phase 2 until Phase 1 has produced a quantized model in <OUTPUT_DIR>. If the PTQ
workflow stops at a checkpoint or fails, stop here too — there is nothing to validate or evaluate.
Goal: Verify the quantized model is structurally sound. Runs automatically after Phase 1.
Call quark-torch-result-validator with:
source_model_dir: from intake (<MODEL_PATH>)quantized_model_dir: from manifest (<OUTPUT_DIR>)quant_config: from quant_plan.json (exclude rules for the MD5 check)The validator runs four checks (fuzzy header → aux files → config.json → MD5) and emits validation_report.md.
quark-torch-debug. Do not proceed.quark-torch-debug.No checkpoint — validation is mandatory and automatic.
Goal: Measure post-quantization accuracy and judge whether quantization hurt the model. Opt-in only.
Ask the user which evaluation tier to run (or skip):
| Tier | Method | Speed | Notes |
|---|---|---|---|
| 1. Quick — PPL | perplexity (e.g. wikitext) | fast, ~minutes | sanity check; runs on the quant device, no serving |
| 2. Medium — lm_eval | Python lm-eval library, direct generation | slow — warn the user it can take a very long time (no high-throughput serving) | task benchmark, e.g. gsm8k |
| 3. Full — accelerated | hand off to quark-torch-llm-eval: vLLM in docker + lm_eval over the OpenAI endpoint | fast + comprehensive | ROCm only |
| Skip | "no" | — | finalize the recipe |
Estimate the runtime before launching, based on tier, model size, benchmark size, and hardware. Confirm before a long run. Rough guide:
Tier 3 requires ROCm. If the host is not ROCm, only tiers 1-2 are available — note this and offer the deferred command:
Full accelerated eval requires AMD ROCm. To run later on a ROCm host:
/quark-torch-llm-eval model_path=<OUTPUT_DIR> benchmark=gsm8kRun the chosen tier:
Tier 1 → run a PPL check on <OUTPUT_DIR>.
Tier 2 → run host lm-eval directly on the model (warn: slow).
Tier 3 → first check whether the current environment is already inside a suitable docker container (ROCm + vLLM available):
Then hand off to quark-torch-llm-eval with model_path=<OUTPUT_DIR>, benchmark=<choice>, backend=vLLM. It runs its own flow and produces eval_report.md.
Known eval gotchas (apply while driving the eval skill / lm_eval):
vllm/vllm-openai-rocm image ENTRYPOINT is vllm → start a holder container with --entrypoint sleep, then docker exec the vllm serve.lm_eval needs the [api] extra for OpenAI endpoints (a missing tenacity errors out immediately).<think>) need a large max_gen_toks on gsm8k; read the flexible-extract score.Report scores, then assess impact (impact assessment is opt-in).
smoothquant / awq, exclude more sensitive layers, or raise num_calib_data)eval_report.md. If no reference exists and the user declines the baseline, report scores only and state the delta is unknown.If skip → finalize, report all artifacts, recipe complete.
For an end-to-end walkthrough (FP8 quantization of Qwen3-8B, then validate + eval), see
example-fp8-qwen3-8b.md alongside this file.
quark-torch-ptq) stops or fails, do not start Phase 2/3 — there is nothing to validate or evaluate.© amd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval of amd/Quark.
Open the folder on GitHubat commit 313cb0b
Quark Torch LLM Ptq Eval next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Quark Torch LLM Ptq Eval this skillamd/Quark | 182 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Model Builderqualcomm/qai-appbuilder | 247 | — | ~4.1k | Automated safety check: Pass | BSD-3-Clause | |
| Atc Model Converterascend-ai-coding/awesome-ascend-skills | 174 | — | ~4.6k | Automated safety check: Pass | None | |
| Tao Port Huggingface ModelNVIDIA/skills | 3.6k | — | ~4.5k | Automated safety check: Notes | Apache-2.0 | |
| Model Inference Optimizemajiayu000/spellbook | 287 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Liger Kernel Devlinkedin/Liger-Kernel | 6.7k | — | ~799 | Automated safety check: Pass | BSD-2-Clause |
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
ascend-ai-coding/awesome-ascend-skills
Complete toolkit for Huawei Ascend NPU model conversion and end-to-end inference adaptation.
NVIDIA/skills
Integrate a HuggingFace Computer Vision model into the NVIDIA TAO Toolkit ecosystem (tao-core config, tao-pytorch trainer, tao-deploy TensorRT pipeline).
majiayu000/spellbook
优化实际模型推理链路,将正确性对齐、分段 profiling、显存与数据搬运、TensorRT/ONNX/PyTorch 后端、attention/kernel、FP8/compile、缓存与少步采样、质量回归、GPU 成本和服务验收串成同一实验闭环。当用户要求推理提速、降低显存或 GPU 成本、复现模型效果、定位 GPU 利用率低、优化图像/视频/扩散模型或自托管 LLM 时使用,提供…
linkedin/Liger-Kernel
Develops production-ready Triton kernels for Liger Kernel. An agent skill from linkedin/Liger-Kernel.
graphsignal/graphsignal
Profile AI inference workloads (vLLM, SGLang, TensorRT-LLM, PyTorch, any GPU application) with the Graphsignal profiler and read the results from its local /signals JSON endpoint.
amd/Quark
Author or restructure a Quark Agent Skill so it conforms to this project's template, contracts, and layer rules.
amd/Quark
Run, resume, monitor, diagnose, and report Quark Quant-Perf workflows for PyTorch and HuggingFace transformers models.
amd/Quark
Author a new ShapeShifter graph-transformation pass for AMD Quark (ONNX or PyTorch) so it conforms to the pass framework's conventions and auto-registers.
amd/Quark
Collect and normalize environment facts (OS, Python, GPU, CUDA/ROCm, container state) before Quark installation or PTQ planning.
amd/Quark
Install or verify the AMD Quark package and its dependencies.
amd/Quark
L3 recipe that runs quark.onnx.AutoSearchPro end-to-end on a user .onnx model: intake → preset selection (or custom search space) → calibration / eval data reader → standalone autosearch script…
Works with
Categories
L3 recipe that runs a Torch LLM PTQ end-to-end for AMD Quark — for PyTorch / HuggingFace transformers models (safetensors input): quantize → validate → evaluate. Quark Torch LLM Ptq Eval is an agent skill from amd/Quark. L3 recipe that runs a Torch LLM PTQ end-to-end for AMD Quark — for PyTorch / HuggingFace transformers models (safetensors input): quantize → validate → evaluate.
Quark Torch LLM Ptq Eval fits situations like: the user wants to quantize and validate; quantize and evaluate; run PTQ end to end with accuracy check; full PTQ pipeline including validation and eval.
Run `npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a claude-code`. Or copy the skill folder (.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval in amd/Quark) into .claude/skills/quark-torch-llm-ptq-eval in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a codex`. Or copy the skill folder (.claude/skills-impl/l3-recipes/torch/quark-torch-llm-ptq-eval in amd/Quark) into .agents/skills/quark-torch-llm-ptq-eval in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add amd/Quark --skill quark-torch-llm-ptq-eval -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quark-torch-llm-ptq-eval, .gemini/skills/quark-torch-llm-ptq-eval, .github/skills/quark-torch-llm-ptq-eval and .opencode/skills/quark-torch-llm-ptq-eval in your project.
Going by SKILL.md and its folder, Quark Torch LLM Ptq Eval needs the command-line tools its instructions call (docker). Our summary lists: Python 3; Docker.
SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Quark Torch LLM Ptq Eval is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Quark Torch LLM Ptq Eval: Model Builder (qualcomm/qai-appbuilder, 247 stars), Atc Model Converter (ascend-ai-coding/awesome-ascend-skills, 174 stars), Tao Port Huggingface Model (NVIDIA/skills, 3.6k stars) and Model Inference Optimize (majiayu000/spellbook, 287 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
amd (a GitHub organization) maintains it in amd/Quark, which has 182 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on September 28, 2026.
Source: amd/Quark on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.