Skip to content

Post-training 4-bit quantization for large LLMs that cuts memory roughly fourfold with small accuracy loss.

CCM score
55 of 100
skills.sh installs
1.2K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers quantizing and loading LLMs with group-wise 4-bit weights, using AutoGPTQ with calibration data from datasets such as C4
  • Includes configuration presets for 3-bit, standard 4-bit with group size 128, and high-accuracy 4-bit with group size 32
  • Provides kernel backends: ExLlamaV2 by default, Marlin on Ampere-or-newer GPUs, and Triton on Linux
  • Integrates with transformers for loading and inference and with PEFT for QLoRA fine-tuning, and suits deployment of 70B and larger models on consumer GPUs

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill gptq -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GPTQ (Generative Pre-trained Transformer Quantization)

Post-training quantization method that compresses LLMs to 4-bit with minimal accuracy loss using group-wise quantization.

When to use GPTQ

Use GPTQ when:

  • Need to fit large models (70B+) on limited GPU memory
  • Want 4× memory reduction with <2% accuracy loss
  • Deploying on consumer GPUs (RTX 4090, 3090)
  • Need faster inference (3-4× speedup vs FP16)

Use AWQ instead when:

  • Need slightly better accuracy (<1% loss)
  • Have newer GPUs (Ampere, Ada)
  • Want Marlin kernel support (2× faster on some GPUs)

Use bitsandbytes instead when:

  • Need simple integration with transformers
  • Want 8-bit quantization (less compression, better quality)
  • Don't need pre-quantized model files

Quick start

Installation

# Install AutoGPTQ
pip install auto-gptq

# With Triton (Linux only, faster)
pip install auto-gptq[triton]

# With CUDA extensions (faster)
pip install auto-gptq --no-build-isolation

# Full installation
pip install auto-gptq transformers accelerate

Load pre-quantized model

from transformers import AutoTokenizer
from auto_gptq import AutoGPTQForCausalLM

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the gptq skill do for an AI agent?

The gptq skill guides an agent through post-training 4-bit quantization of large language models with minimal accuracy loss. It covers deploying models such as 70B and 405B on consumer GPUs, cutting memory roughly fourfold, and speeding inference compared with FP16.

Who should use the gptq skill?

The gptq skill is for developers who need to fit large models on limited GPU memory, such as RTX 4090 or 3090 cards. It also suits anyone who wants faster inference or QLoRA fine-tuning through transformers and PEFT.

How do I install the gptq skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill gptq -y inside a project. Once installed, the gptq skill lets the agent quantize models to 4-bit with group-wise quantization.

Where does the gptq skill sit in its category on Claude Marketplaces?

The gptq skill is listed in the AI Agents & LLM Apps category, next to microsoft-foundry, azure-ai and several Google agents CLI skills. Within the gptq skill's own library, it focuses on quantization rather than the agent tooling those neighbors cover.

More from orchestra-research/ai-research-skills

All 92