Tao Port Huggingface Model
NVIDIA/skills
Integrate a HuggingFace Computer Vision model into the NVIDIA TAO Toolkit ecosystem (tao-core config, tao-pytorch trainer, tao-deploy TensorRT pipeline).
Runs an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan, create reproducible artifacts, request…
$ npx skills add amd/Quark --skill quark-torch-ptq -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install amd/Quark quark-torch-ptq --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/skills/quark-torch-ptq .claude/skills/quark-torch-ptq && 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-ptq" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-torch-ptq into .claude/skills/quark-torch-ptq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-ptq", 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/skills/quark-torch-ptqType 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-ptq -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install amd/Quark quark-torch-ptq --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/skills/quark-torch-ptq .agents/skills/quark-torch-ptq && 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-ptq" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-torch-ptq into .agents/skills/quark-torch-ptq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-ptq", 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-ptq -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install amd/Quark quark-torch-ptq --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/skills/quark-torch-ptq .cursor/skills/quark-torch-ptq && 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-ptq" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-torch-ptq into .cursor/skills/quark-torch-ptq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-ptq", 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 skills/quark-torch-ptq--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-ptq -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install amd/Quark quark-torch-ptq --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/skills/quark-torch-ptq .gemini/skills/quark-torch-ptq && 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-ptq" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-torch-ptq into .gemini/skills/quark-torch-ptq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-ptq", 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-ptqInstalls 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-ptq -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/skills/quark-torch-ptq .github/skills/quark-torch-ptq && 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-ptq" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-torch-ptq into .github/skills/quark-torch-ptq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-ptq", 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-ptq -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-ptq --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/skills/quark-torch-ptq .opencode/skills/quark-torch-ptq && 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-ptq" agent skill from https://github.com/amd/Quark/tree/release%2F0.13/skills/quark-torch-ptq into .opencode/skills/quark-torch-ptq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "quark-torch-ptq", 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-ptqRuns an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan, create reproducible artifacts, request…
Quark Torch Ptq is an agent skill from amd/Quark. Runs an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan, create reproducible artifacts, request execution approval, and produce a quantized model. Applies to Llama, Qwen, Mistral, and similar transformer LLM requests involving FP8, INT4, or another Quark scheme. Does not handle .onnx model inputs or ONNX PTQ.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including reference files (for example `evals/evals.json`, `references/contracts/model_analysis.schema.json` and `references/contracts/quant_plan.schema.json`).
It sits in AI & LLM Engineering, covering LLM inference and serving, Deep learning and Model hubs and datasets. It works with PyTorch, ONNX, Hugging Face and Mistral AI. The licence is MIT.
4 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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 Ptq loads about 2.3k tokens when it runs, and up to ~9k if it reads all its reference files. Until then it costs about 106 tokens; SKILL.md has 1,074 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,074 words, ~2,337 tokens.
.claude/skills/quark-torch-ptq/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.Take a PyTorch / Hugging Face LLM from model identification through confirmed AMD Quark PTQ. Perform intake, planning, manifest generation, execution, and output verification as one self-contained workflow.
This skill stops at the quantized model. It does not accept .onnx model input,
train or fine-tune a model, or modify Quark package/source files.
amd-quark[cli], and datasets.gfx... from gcnArchName on AMD), host kernel, and driver, and verify support for the confirmed plan.HIP_VISIBLE_DEVICES, CUDA_VISIBLE_DEVICES, HSA_OVERRIDE_GFX_VERSION, PYTORCH_ROCM_ARCH, and PYTORCH_HIP_ALLOC_CONF. Include any required changes to device visibility, architecture, or memory allocation in the confirmed plan.amd-quark, and Transformers versions.Do not require pre-existing workflow artifacts. Create all artifacts in the user's working directory by following this skill's local references:
references/model-intake.mdreferences/quant-plan.mdreferences/environment.mdreferences/troubleshooting.mdProduce these three artifacts before or during execution:
model_analysis.json, validated against
references/contracts/model_analysis.schema.json.quant_plan.json, validated against
references/contracts/quant_plan.schema.json.run_manifest.yaml, validated against
references/contracts/run_manifest.schema.json.The quantized model and its configuration/tokenizer files are written under the confirmed output directory. Record actual files and the final status in the manifest.
Always complete the following four steps in order. Show concrete facts, artifacts, and commands. Stop at every checkpoint and wait for the user.
config.json exist. For a remote source, preserve the repository ID.references/model-intake.md. Read configuration only; do not load
model weights during intake.model_type, architecture/loading hints, hidden-layer facts,
multimodal or MoE signals, default exclusions, compatibility risks, and a
defensible estimate of quantizable linear layers.model_analysis.json and show its summary.Ask the user to confirm or correct the model analysis.
Do not plan quantization until the user confirms.
references/quant-plan.md and use the confirmed analysis plus the
user's priorities.quark-cli torch-llm-ptq --help when
a choice needs verification; do not rely on historical list sizes.quant_plan.json, and set
requires_confirmation: true until approved.Ask the user to confirm or adjust the complete plan.
After confirmation, update requires_confirmation to false. If the user
changes a decision, rewrite and revalidate the plan before continuing.
Use the public quark-cli torch-llm-ptq command installed by
amd-quark[cli]. Do not import its implementation module directly or locate,
copy, generate, or patch another PTQ runner.
Build an argument-array-safe command equivalent to:
quark-cli torch-llm-ptq \
--model_dir "<MODEL_OR_ABSOLUTE_LOCAL_PATH>" \
--output_dir "<ABSOLUTE_OUTPUT_PATH>" \
--quant_scheme "<SCHEME>" \
--num_calib_data "<N>" \
--seq_len "<LENGTH>" \
--device cuda \
--no_trust_remote_codeAdd only confirmed options:
--dataset <NAME> and --batch_size <N> when the plan changed them from the
CLI defaults.--kv_cache_dtype <SCHEME> for confirmed KV-cache quantization.--layer_quant_scheme <PATTERN> <SCHEME> per override.--quant_algo <comma-separated-list> when required.--exclude_layers <patterns...> only when overriding template defaults.--multi_device when its constraints are understood.--no_trust_remote_code unless the user explicitly accepts executing remote
model code. The CLI trusts remote code when this flag is omitted.--skip_evaluation when the requested scope ends strictly at model output.--evaluation_dataset <NAME> when evaluation is requested with a
non-default CLI-supported dataset.Resolve local model and output directories to absolute paths, then quote all
user-controlled paths and values. On ROCm, --device cuda is still the PyTorch
device spelling; use HIP_VISIBLE_DEVICES to pin a GPU when needed. Resolve
quark-cli from the same Python environment that provides amd-quark.
Write run_manifest.yaml with:
workflow: quark-torch-ptqmodel_analysis.json;quant_plan.json;run_manifest.yaml;Confirm the environment before showing the command, using
references/environment.md. A missing package or an accelerator-mismatched
PyTorch build should surface here, not after the execution gate.
Show the full command, destination, estimated resource needs, remote-code choice, and expected outputs.
Ask: “Shall I run this exact command?”
This is the execution gate. Do not create the output directory, download model weights, change the environment, or run PTQ without explicit approval such as “yes”, “run it”, or “execute”. A prior plan confirmation is not execution approval.
Only after Checkpoint 3 approval:
quark-cli command.references/troubleshooting.md. Never retry blindly.run_manifest.yaml with the observed status and outputs without
changing the recorded command.Present the verified result and ask the user to accept it or request a bounded follow-up.
Do not claim success from exit status alone. If expected files are absent, report a partial/failed result and preserve diagnostics.
analysis_status as partial, record a risk, and
ask for the missing fact. Do not load weights merely to fill metadata.© 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 10 other files (references) in skills/quark-torch-ptq of amd/Quark.
Open the folder on GitHubat commit 313cb0b
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in amd/Quark, which our catalogue first saw on October 7, 2026.
Quark Torch Ptq 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 Ptq this skillamd/Quark | 181 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Tao Port Huggingface ModelNVIDIA/skills | 3.5k | — | ~4.5k | Automated safety check: Notes | Apache-2.0 | |
| Model Builderqualcomm/qai-appbuilder | 247 | — | ~4.1k | Automated safety check: Pass | BSD-3-Clause | |
| Qwen Mtp GgufR6410418/Jackrong-llm-finetuning-guide | 1.7k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Add Modelguoqingbao/xinfer | 334 | — | ~4.2k | Automated safety check: Notes | MIT | |
| Resolvealexziskind1/model-shelf | 130 | — | ~792 | Automated safety check: Pass | MIT |
NVIDIA/skills
Integrate a HuggingFace Computer Vision model into the NVIDIA TAO Toolkit ecosystem (tao-core config, tao-pytorch trainer, tao-deploy TensorRT pipeline).
qualcomm/qai-appbuilder
QAI ModelBuilder. An agent skill from qualcomm/qai-appbuilder.
R6410418/Jackrong-llm-finetuning-guide
Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.
guoqingbao/xinfer
Adapt and port new LLM model architectures to this xinfer project.
alexziskind1/model-shelf
Always resolve Hugging Face models via model-shelf before any download.
guoqingbao/xinfer
Check model compatibility with xinfer before loading. An agent skill from guoqingbao/xinfer.
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
Runs an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan, create reproducible artifacts, request…. Quark Torch Ptq is an agent skill from amd/Quark. Runs an end-to-end AMD Quark post-training quantization workflow for PyTorch / Hugging Face LLMs: inspect a Hub or local model, choose a quantization plan, create reproducible artifacts, request execution approval, and produce a quantized model.
Quark Torch Ptq fits situations like: tasks that involve LLM inference and serving; tasks that involve Deep learning; tasks that involve Model hubs and datasets.
Run `npx skills add amd/Quark --skill quark-torch-ptq -a claude-code`. Or copy the skill folder (skills/quark-torch-ptq in amd/Quark) into .claude/skills/quark-torch-ptq in your project. Claude Code loads it when a task matches its description.
Run `npx skills add amd/Quark --skill quark-torch-ptq -a codex`. Or copy the skill folder (skills/quark-torch-ptq in amd/Quark) into .agents/skills/quark-torch-ptq 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-ptq -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-ptq, .gemini/skills/quark-torch-ptq, .github/skills/quark-torch-ptq and .opencode/skills/quark-torch-ptq in your project.
SKILL.md names no scripts, command-line tools or credentials: Quark Torch Ptq is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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 Ptq 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.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Quark Torch Ptq: Tao Port Huggingface Model (NVIDIA/skills, 3.5k stars), Model Builder (qualcomm/qai-appbuilder, 247 stars), Qwen Mtp Gguf (R6410418/Jackrong-llm-finetuning-guide, 1.7k stars) and Add Model (guoqingbao/xinfer, 334 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 181 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.