Benchmark Tune
Mesh-LLM/mesh-llm
A skill your agent uses when running, debugging, interpreting, or documenting mesh-llm benchmark tune model-serving throughput trials, including choosing…
Add a new hardware inference backend to AutoRound for deploying quantized models (e.g., CUDA/Marlin, Triton, CPU, HPU, ARK).
$ npx skills add intel/auto-round --skill add-inference-backend -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install intel/auto-round add-inference-backend --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/intel/auto-round.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-inference-backend .claude/skills/add-inference-backend && 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 "add-inference-backend" agent skill from https://github.com/intel/auto-round/tree/main/.claude/skills/add-inference-backend into .claude/skills/add-inference-backend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-inference-backend", 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/intel/auto-round/tree/main/.claude/skills/add-inference-backendType 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 intel/auto-round --skill add-inference-backend -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install intel/auto-round add-inference-backend --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/auto-round.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-inference-backend .agents/skills/add-inference-backend && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-inference-backend" agent skill from https://github.com/intel/auto-round/tree/main/.claude/skills/add-inference-backend into .agents/skills/add-inference-backend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-inference-backend", 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 intel/auto-round --skill add-inference-backend -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install intel/auto-round add-inference-backend --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/auto-round.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-inference-backend .cursor/skills/add-inference-backend && 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 "add-inference-backend" agent skill from https://github.com/intel/auto-round/tree/main/.claude/skills/add-inference-backend into .cursor/skills/add-inference-backend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-inference-backend", 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/intel/auto-round.git --path .claude/skills/add-inference-backend--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 intel/auto-round --skill add-inference-backend -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install intel/auto-round add-inference-backend --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/auto-round.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-inference-backend .gemini/skills/add-inference-backend && 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 "add-inference-backend" agent skill from https://github.com/intel/auto-round/tree/main/.claude/skills/add-inference-backend into .gemini/skills/add-inference-backend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-inference-backend", 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 intel/auto-round add-inference-backendInstalls 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 intel/auto-round --skill add-inference-backend -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/intel/auto-round.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-inference-backend .github/skills/add-inference-backend && 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 "add-inference-backend" agent skill from https://github.com/intel/auto-round/tree/main/.claude/skills/add-inference-backend into .github/skills/add-inference-backend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-inference-backend", 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 intel/auto-round --skill add-inference-backend -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install intel/auto-round add-inference-backend --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/auto-round.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-inference-backend .opencode/skills/add-inference-backend && 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 "add-inference-backend" agent skill from https://github.com/intel/auto-round/tree/main/.claude/skills/add-inference-backend into .opencode/skills/add-inference-backend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-inference-backend", 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.
add-inference-backendAdd a new hardware inference backend to AutoRound for deploying quantized models (e.g., CUDA/Marlin, Triton, CPU, HPU, ARK).
Add Inference Backend is an agent skill from intel/auto-round, published by the product's own GitHub organization. Add a new hardware inference backend to AutoRound for deploying quantized models (e.g., CUDA/Marlin, Triton, CPU, HPU, ARK). Use when implementing QuantLinear kernels, registering backend capabilities, or enabling quantized model inference on a new hardware platform.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM inference and serving. It works with CUDA. The repository describes itself as: A simple and effective post training quantization toolkit for high-accuracy low-bit LLM inference|简洁且高效的后训练量化工具包. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6afaecd. 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 python).
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.
Add Inference Backend loads about 2.3k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 418 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 intel/auto-round at commit 6afaecd, republished under its Apache-2.0 licence (© intel). 418 words, ~2,297 tokens.
.claude/skills/add-inference-backend/SKILL.md (or your agent's skills folder).This skill guides you through adding a new inference backend for running quantized models on a specific hardware platform. A backend defines how quantized weights are unpacked and computed at inference time. AutoRound automatically selects the best available backend based on hardware, quantization config, and priority.
Before starting, determine:
Edit auto_round/inference/backend.py to register your backend's capabilities:
BackendInfos["auto_round:your_backend"] = BackendInfo(
device=["cuda"], # Supported devices
sym=[True, False], # Symmetric and/or asymmetric
packing_format=["auto_round"], # Compatible packing formats
bits=[2, 4, 8], # Supported bit-widths
group_size=[32, 64, 128, -1], # Supported group sizes (-1 = per-channel)
compute_dtype=["float16", "bfloat16"], # Compute precision
data_type=["int"], # Quantization data types
act_bits=[16, 32], # Activation bit-widths (16 = WxA16)
priority=2, # Higher = preferred (0-5 typical range)
checkers=[your_feature_checker], # Validation functions (optional)
alias=["your_backend_short"], # Alternative names (optional)
requirements=["some_package>=1.0"], # Required packages (optional)
systems=["linux"], # OS restriction (optional)
)| Field | Type | Description |
|---|---|---|
device | list[str] | Hardware targets: "cpu", "cuda", "xpu", "hpu" |
sym | list[bool] | True for symmetric, False for asymmetric |
packing_format | list[str] | How weights are packed: "auto_round", "auto_gptq", etc. |
bits | list[int] | Supported weight bit-widths |
group_size | list[int] | Group sizes; -1 means per-channel |
compute_dtype | list[str] | Compute precision during inference |
data_type | list[str] | Quantization data types: "int", "nv_fp", "mx_fp" |
act_bits | list[int] | Activation bits: [16, 32] for weight-only, [8] for W8A8 |
priority | int | Selection priority (higher wins when multiple backends match) |
checkers | list[Callable] | Functions to validate layer compatibility |
alias | list[str] | Alternative names for CLI/API usage |
requirements | list[str] | pip-installable dependency specifications |
systems | list[str] | OS names: "linux", "windows", "darwin" |
Use these pre-built checkers or create your own:
# Require in_features and out_features divisible by 32
from auto_round.inference.backend import feature_multiply_checker_32
# Require in_features divisible by group_size
from auto_round.inference.backend import in_feature_checker_group_size
# Custom checker
def your_feature_checker(in_feature, out_feature, config):
"""Check if layer dimensions are compatible with your backend."""
return in_feature % 64 == 0 and out_feature % 64 == 0 and config["group_size"] in [64, 128]Create auto_round_extension/your_device/qlinear_your_backend.py:
import torch
import torch.nn as nn
QUANT_TYPE = "your_backend"
class QuantLinear(nn.Module):
"""Quantized linear layer for your backend.
Stores packed quantized weights and performs dequantize-then-matmul
(or fused quantized matmul) at inference time.
"""
QUANT_TYPE = QUANT_TYPE
def __init__(self, bits, group_size, in_features, out_features, bias=True, sym=True, **kwargs):
super().__init__()
self.bits = bits
self.group_size = group_size
self.in_features = in_features
self.out_features = out_features
self.sym = sym
# Register packed weight buffers
# Example: INT4 packed into INT32
pack_factor = 32 // bits
self.register_buffer(
"qweight",
torch.zeros(in_features // pack_factor, out_features, dtype=torch.int32),
)
self.register_buffer(
"scales",
torch.zeros(
(in_features // group_size, out_features),
dtype=torch.float16,
),
)
if not sym:
self.register_buffer(
"qzeros",
torch.zeros(
(in_features // group_size, out_features // pack_factor),
dtype=torch.int32,
),
)
if bias:
self.register_buffer("bias", torch.zeros(out_features, dtype=torch.float16))
else:
self.bias = None
def forward(self, x):
"""Dequantize weights and compute linear transformation."""
weight = self._dequantize()
out = torch.matmul(x, weight.T)
if self.bias is not None:
out += self.bias
return out
def _dequantize(self):
"""Unpack and dequantize weights."""
# Implement your dequantization kernel here
# Can use Triton, CUDA, or PyTorch operations
...
@classmethod
def pack(cls, linear, scales, zeros, bias=None):
"""Pack a standard nn.Linear into this quantized format.
Called during export to convert calibrated weights into packed format.
"""
...Register your backend in the explicit import logic in
auto_round/inference/backend.py. In this repository, backend loading is not a
generic directory scan; dynamic_import_inference_linear() maps backend keys to
specific QuantLinear implementations.
Add a new backend key in BackendInfos[...] if needed, and make sure
dynamic_import_inference_linear() returns your QuantLinear class for that
backend:
if backend == "auto_round:your_backend":
from auto_round_extension.your_device.qlinear_your_backend import QuantLinear
return QuantLinearIf your backend fits an existing branch pattern, you can also reuse that logic, but contributors should update the explicit import mapping rather than rely on implicit auto-discovery.
__init__.pyCreate auto_round_extension/your_device/__init__.py if the directory is new:
# Auto-Round extension for YourDevice backenddef test_your_backend_qlinear():
from auto_round_extension.your_device.qlinear_your_backend import QuantLinear
ql = QuantLinear(bits=4, group_size=128, in_features=256, out_features=512)
x = torch.randn(1, 256, dtype=torch.float16, device="cuda")
out = ql(x)
assert out.shape == (1, 512)def test_your_backend_e2e(tiny_opt_model_path, dataloader):
ar = AutoRound(
tiny_opt_model_path,
bits=4,
group_size=128,
dataset=dataloader,
iters=2,
nsamples=2,
)
compressed_model, _ = ar.quantize()
ar.save_quantized(output_dir="./tmp_backend_test", format="auto_round")
# Load and verify inference with your backend
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("./tmp_backend_test")
tokenizer = AutoTokenizer.from_pretrained("./tmp_backend_test")
inputs = tokenizer("Hello", return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=10)
assert outputs.shape[1] > inputs["input_ids"].shape[1]| Backend Key | Device | Extension Dir | Key Patterns |
|---|---|---|---|
auto_gptq:exllamav2 | CUDA | cuda/ | Marlin kernels via GPTQModel, priority=3 |
auto_round:triton_* | CUDA | triton/ | Triton JIT-compiled kernels |
auto_round:torch_* | CPU/CUDA | torch/ | Pure PyTorch fallback |
auto_round:ark | ARK | ark/ | ARK accelerator kernels |
| HPU backends | HPU | hpu/ | Habana Gaudi optimized |
| What | Where | Mechanism |
|---|---|---|
| Backend capabilities | auto_round/inference/backend.py | BackendInfos["name"] dict |
| QuantLinear module | auto_round_extension/<device>/qlinear_*.py | QUANT_TYPE class attr |
| QuantLinear import wiring | auto_round/inference/backend.py | dynamic_import_inference_linear() |
| Feature checkers | auto_round/inference/backend.py | functools.partial wrappers |
© intel, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/add-inference-backend of intel/auto-round.
Open the folder on GitHubat commit 6afaecd
Add Inference Backend 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 |
|---|---|---|---|---|---|---|
| Add Inference Backend this skillintel/auto-round | 1.6k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Benchmark TuneMesh-LLM/mesh-llm | 3.5k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Hugging Face Local Modelshuggingface/skills | 11k | 3 repos | ~945 | Automated safety check: Pass | Apache-2.0 | |
| Quark Onnx Quant Planamd/Quark | 181 | — | ~4.8k | Automated safety check: Pass | MIT | |
| Kernel Microbenchmarkguqiong96/Lvllm | 464 | 2 repos | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Model Serving MinefieldBlackwellboy/model-serving-minefield | 135 | — | ~2.1k | Automated safety check: Pass | MIT |
Mesh-LLM/mesh-llm
A skill your agent uses when running, debugging, interpreting, or documenting mesh-llm benchmark tune model-serving throughput trials, including choosing…
huggingface/skills
Finds llama.cpp-compatible GGUF models on the Hugging Face Hub, picks a quantization for your hardware and launches them with llama-cli or llama-server.
amd/Quark
Build a Quark ONNX PTQ quantization plan from modelanalysis.json and user intent.
guqiong96/Lvllm
Build, debug, and interpret vLLM GPU kernel microbenchmarks for CUDA, Triton, and CuteDSL, including CUPTI timing, correctness checks, generated-code inspection, multi-GPU measurements, and SOL…
Blackwellboy/model-serving-minefield
Diagnose OpenAI-compatible model-serving failures from symptoms, endpoint reports, explicit configuration files, or logs while preserving evidence status and requiring confirm/refute checks.
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.
intel/auto-round
Adapt AutoRound to support a new diffusion model architecture (DiT, UNet, hybrid AR+DiT).
intel/auto-round
Adapt AutoRound to support a new LLM architecture that doesn't work out-of-the-box.
intel/auto-round
Add a new model export format to AutoRound (e.g., autoround, autogptq, autoawq, gguf, llmcompressor).
intel/auto-round
Add a new quantization data type to AutoRound (e.g., INT, FP8, MXFP, NVFP, GGUF variants).
intel/auto-round
Add support for a new Vision-Language Model (VLM) to AutoRound, including multimodal block handler, calibration dataset template, and special model handling.
intel/auto-round
Review or prepare a pull request for the AutoRound repository — checks registration points for new data types/backends/VLMs, validates Chinese translation parity for modified markdown files…
Works with
Categories
Add a new hardware inference backend to AutoRound for deploying quantized models (e.g., CUDA/Marlin, Triton, CPU, HPU, ARK). Add Inference Backend is an agent skill from intel/auto-round, published by the product's own GitHub organization., CUDA/Marlin, Triton, CPU, HPU, ARK).
Add Inference Backend fits situations like: implementing QuantLinear kernels; registering backend capabilities; enabling quantized model inference on a new hardware platform.
Run `npx skills add intel/auto-round --skill add-inference-backend -a claude-code`. Or copy the skill folder (.claude/skills/add-inference-backend in intel/auto-round) into .claude/skills/add-inference-backend in your project. Claude Code loads it when a task matches its description.
Run `npx skills add intel/auto-round --skill add-inference-backend -a codex`. Or copy the skill folder (.claude/skills/add-inference-backend in intel/auto-round) into .agents/skills/add-inference-backend 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 intel/auto-round --skill add-inference-backend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-inference-backend, .gemini/skills/add-inference-backend, .github/skills/add-inference-backend and .opencode/skills/add-inference-backend in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Inference Backend 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.
Add Inference Backend is published under the Apache-2.0 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.2k 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 Add Inference Backend: Benchmark Tune (Mesh-LLM/mesh-llm, 3.5k stars), Hugging Face Local Models (huggingface/skills, 11k stars), Quark Onnx Quant Plan (amd/Quark, 181 stars) and Kernel Microbenchmark (guqiong96/Lvllm, 464 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
intel (a GitHub organization, an official publisher) maintains it in intel/auto-round, which has 1,628 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 5, 2026.
Source: intel/auto-round on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.