gptq

Quantize LLMs to 4-bit precision using group-wise quantization.

6|3|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/jonnabio/ace-framework --skill gptq-jonnabio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gptq
Source: https://github.com/jonnabio/ace-framework/tree/main/.ace/packs/ai-research/gptq
Command: npx skills add https://github.com/jonnabio/ace-framework --skill gptq-jonnabio

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows for post-training 4-bit quantization of LLMs, enabling large models to be deployed on consumer GPUs with minimal accuracy loss, significant memory reduction, and faster inference speeds.

Core Features & Use Cases

  • Memory Optimization: Reduce model size by 4x for 70B and 405B models with minimal accuracy degradation.
  • Faster Inference: Achieve 3-4x speedup over FP16 inference for efficient deployment on consumer GPUs.
  • Group-wise Quantization: Employ group-wise quantization for better accuracy and faster quantization time.
  • Integration: Seamlessly integrate with transformers and PEFT for QLoRA fine-tuning.
  • Use Case: Use this Skill to quantize and deploy a large LLM like Llama-2-7B on a consumer GPU like RTX 4090, enabling real-time inference with high performance.

Quick Start

Install AutoGPTQ, load a pre-quantized model from HuggingFace, and generate text.

Frequently Asked Questions about gptq

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

FAQPage Schema
How do I deploy large LLMs on consumer GPUs with limited memory?

To deploy large LLMs on consumer GPUs, you can apply post-training 4-bit quantization to reduce model size by 4x with minimal accuracy loss, enabling high-performance inference on hardware like RTX 4090.

What is group-wise quantization and how does it improve LLM inference?

Group-wise quantization is a post-training technique that compresses LLMs to 4-bit precision. It improves accuracy retention and accelerates quantization time, resulting in 3-4x faster inference speeds over FP16.

Can I use AutoGPTQ with transformers and PEFT for QLoRA fine-tuning?

AutoGPTQ quantization integrates seamlessly with transformers and PEFT. This combination allows you to load pre-quantized models and perform efficient QLoRA fine-tuning on consumer GPU hardware.

Does 4-bit model quantization cause significant accuracy degradation?

4-bit model quantization causes minimal accuracy degradation. By using group-wise quantization, it reduces memory requirements by 4x for 70B and 405B models while maintaining high accuracy for inference.

What do I need to run post-training quantization and load pre-quantized models?

To run post-training quantization and load pre-quantized models from HuggingFace, you need to install AutoGPTQ along with the transformers, optimum, and peft libraries to support the quantization and inference workflow.