gptq

Quantize large language models to 4-bit with auto-gptq for faster inference.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/Ced3-han/Harness-Settings --skill gptq-ced3-han
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gptq
Source: https://github.com/Ced3-han/Harness-Settings/tree/main/skills/gptq
Command: npx skills add https://github.com/Ced3-han/Harness-Settings --skill gptq-ced3-han

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires auto-gptq, transformers, optimum, peft, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables post-training quantization for large language models, providing significant memory reduction and inference speedup while maintaining accuracy.

Core Features & Use Cases

  • Model Compression: Post-training 4-bit quantization to reduce model size by a factor of 4 with minimal accuracy loss.
  • Speedup Inference: Achieve up to 3-4× faster inference than FP16 for large models on consumer GPUs.
  • Use Case: Deploying large language models on GPUs with limited memory or when faster inference is needed.

Quick Start

Run 'auto_gptq install' to install the required packages for GPTQ quantization.

Frequently Asked Questions about gptq

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I quantize a large language model for faster inference on consumer GPUs?

Post-training 4-bit quantization reduces large language model size by a factor of 4 with minimal accuracy loss, enabling deployment on consumer GPUs with limited memory.

How much memory can I save with GPTQ model quantization?

GPTQ model quantization achieves a 4x reduction in model size through 4-bit post-training quantization, significantly lowering memory requirements while maintaining minimal accuracy loss.

How fast is GPTQ inference compared to FP16 models?

GPTQ inference achieves 3-4x faster execution compared to FP16 models on consumer GPUs, making it ideal for applications requiring rapid response generation.

Does GPTQ quantization work with the transformers library?

Yes, GPTQ quantization integrates with the transformers library, requiring auto-gptq, optimum, and peft packages installed to execute the post-training quantization workflow.

Do I need auto-gptq to perform post-training quantization on large language models?

Yes, you need the auto-gptq library along with transformers, optimum, and peft to perform post-training quantization of large language models for inference speedup.

What is GPTQ and when do I need post-training quantization for my model?

GPTQ is a post-training quantization technique needed when you must reduce large language model memory usage and increase inference speed without significant accuracy loss.