{
  "id": 609,
  "kind": "other",
  "title": "Transformers documentation: AWQ (Activation-aware Weight Quantization)",
  "summary": "Living Transformers docs for Activation-aware Weight Quantization: identify AWQ checkpoints via quantization_config.quant_method=awq (typically 4-bit, group_size 128, zero_point, gemm). from_pretrained loads autoawq/llm-awq weights with other tensors in fp16 by default; dtype and device_map control the rest. Notes AutoAWQ pins Transformers to 4.47.1. Optional AwqConfig fused modules (Llama/Mistral out of the box; fuse_max_seq_len + do_fuse) roughly double decode tok/s vs unfused on TheBloke/Mistral-7B-OpenOrca-AWQ at batch=1 (e.g. 32/32: 80.3 vs 38.5 tok/s, 4.00 vs 4.50 GB). ExLlamaV2 via version=exllama (AMD GPUs supported). Cannot combine fused modules with FlashAttention2. Method paper is Lin et al. AWQ (arXiv 2306.00978, MLSys 2024).",
  "body": "",
  "notes": "Primary: Hugging Face Transformers AWQ docs (posted link). Underlying method paper https://arxiv.org/abs/2306.00978 (Lin, Tang, Tang, Yang, Chen, Wang, Xiao, Dang, Gan, Han; MIT Han Lab; github.com/mit-han-lab/llm-awq). Libraries: autoawq, llm-awq, optimum-intel. Example checkpoints TheBloke/zephyr-7B-alpha-AWQ and TheBloke/Mistral-7B-OpenOrca-AWQ. Demo notebook linked from the page. Documentation, not a new corpus, so no datasets_local row.",
  "url": "https://huggingface.co/docs/transformers/main/en/quantization/awq",
  "links": [],
  "authors": [
    "Hugging Face"
  ],
  "tags": [
    "blog",
    "awq",
    "quantization",
    "transformers",
    "autoawq",
    "exllamav2",
    "llm-compression"
  ],
  "topics": "LLM quantization, inference",
  "venue": "Hugging Face Transformers docs",
  "publisher": "",
  "source": "huggingface",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-08-14T18:56:35.000Z",
  "verified_at": "2026-08-14T18:56:35.000Z",
  "attrs": {
    "scale": "Docs benchmark TheBloke/Mistral-7B-OpenOrca-AWQ batch=1, prefill/decode 32-2048; fused VRAM 4.00-5.57 GB vs unfused 4.50-5.73 GB.",
    "purpose": "Show how to load and run autoawq/llm-awq 4-bit models in Transformers, including fused modules and ExLlamaV2 kernels",
    "time_period": "Docs on Transformers main (requires source install at check; stable v5.14.0 listed). AWQ paper 2023-06-01 / MLSys 2024. Discord posted 2024-11-05."
  },
  "enrichment": {},
  "enriched_at": "2026-10-03T14:33:37.840Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "628",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/609",
  "markdown": "https://papers.projxon.ai/entries/609.md",
  "api": "https://papers.projxon.ai/api/entries/609",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 829,
      "kind": "paper",
      "title": "Disaggregated Quantization: Specializing LLM Prefill and Decode",
      "summary": "Disaggregated quantization (DQ): separate computation formats, weights, and storage placement specialized to prefill vs decode -- low-precision arithmetic accelerates prompt processing, compact weights reduce memory traffic during generation. Removing activation quantization on decode improves accuracy on decode-heavy tasks without added inference cost (Qwen 3, Gemma 3). Separate compute-native prefill weights accelerate prompt processing vs weight-only inference while matching/exceeding its accuracy at 2-3-bit decode. Training an NVFP4 prefiller improves 1-bit accuracy by 32.5 points on MMLU-Pro and 35.3 on MMMU-Pro without modifying the decode checkpoint (Qwen3.8-27B GGUF decoder). \"Offloaded disaggregated prefill\" (ODP) streams the extra prefill checkpoint from SSD, amortizing loading over prompt length: 1.78x time-to-first-token speedup over the weight-only baseline at 8K prompt length in llama.cpp. Accuracy evaluated under disaggregated serving in vLLM; shared-weight format disaggregation validated via PTQ on models up to 2.8T parameters.",
      "url": "https://huggingface.co/papers/2609.26333",
      "authors": [
        "Andrei Panferov",
        "Maximilian Kleinegger",
        "Sweta Priyadarshi",
        "Tijmen Blankevoort",
        "Dan Alistarh"
      ],
      "tags": [
        "quantization",
        "inference",
        "prefill",
        "decode",
        "nvfp4",
        "low-bit-inference",
        "serving"
      ],
      "venue": "IST Austria Distributed Algorithms and Systems Lab (arXiv 2026-09-21; HF #2 Paper of the Day)",
      "source": "paper_page",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/829",
      "markdown": "https://papers.projxon.ai/entries/829.md",
      "api": "https://papers.projxon.ai/api/entries/829"
    },
    {
      "id": 615,
      "kind": "paper",
      "title": "Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations",
      "summary": "Anthropic Transformer Circuits method (May 2026). An activation verbalizer maps a target residual to text and an activation reconstructor maps that text back; both are copies of the target LLM jointly trained with RL on reconstruction (FVE ~0.6-0.8) after a summarization warm-start. Explanations grow more informative over training on Haiku 3.5/4.5 and Opus 4.6. Used in Opus 4.6 / Mythos Preview audits: unverbalized evaluation awareness, language-switching traced to malformed SFT data, rhyme planning, and a hidden-motivation auditing game where NLA-equipped agents win 12-15% without training-data access vs <3% without NLAs. Limitations: confabulation of specifics, cost (two-model RL; hundreds of tokens per activation), single-layer reads. Open training code and NLAs for popular models; Neuronpedia demo.",
      "url": "https://transformer-circuits.pub/2026/nla",
      "authors": [
        "Kit Fraser-Taliente",
        "Subhash Kantamneni",
        "Euan Ong",
        "Dan Mossing",
        "Christina Lu",
        "Paul C. Bogdan",
        "Emmanuel Ameisen",
        "James Chen",
        "Dzmitry Kishylau",
        "Adam Pearce",
        "Julius Tarng",
        "Alex Wu",
        "Jeff Wu",
        "Yang Zhang",
        "Daniel M. Ziegler",
        "Evan Hubinger",
        "Joshua Batson",
        "Jack Lindsey",
        "Samuel Zimmerman",
        "Samuel Marks"
      ],
      "tags": [
        "nla",
        "interpretability",
        "anthropic",
        "transformer-circuits",
        "sae",
        "auditing",
        "evaluation-awareness",
        "blog"
      ],
      "venue": "Anthropic / Transformer Circuits",
      "source": "web",
      "license": "Apache-2.0 (github.com/kitft/natural_language_autoencoders)",
      "published_year": null,
      "added_at": "2026-08-14T19:20:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/615",
      "markdown": "https://papers.projxon.ai/entries/615.md",
      "api": "https://papers.projxon.ai/api/entries/615"
    },
    {
      "id": 556,
      "kind": "paper",
      "title": "BitNet a4.8: 4-bit Activations for 1-bit LLMs",
      "summary": "Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.",
      "url": "https://arxiv.org/abs/2411.04965",
      "authors": [
        "Hongyu Wang",
        "Shuming Ma",
        "Furu Wei"
      ],
      "tags": [
        "bitnet",
        "quantization",
        "1-bit",
        "int4",
        "sparsity",
        "microsoft",
        "activation-quantization"
      ],
      "venue": "arXiv / Microsoft Research / University of Chinese Academy of Sciences",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 22,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/556",
      "markdown": "https://papers.projxon.ai/entries/556.md",
      "api": "https://papers.projxon.ai/api/entries/556"
    },
    {
      "id": 1257,
      "kind": "paper",
      "title": "A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training",
      "summary": "Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).",
      "url": "https://arxiv.org/abs/2601.22966",
      "authors": [
        "Zihan Qiu",
        "Zeyu Huang",
        "Kaiyue Wen",
        "Peng Jin",
        "Bo Zheng",
        "Yuxin Zhou",
        "Haofeng Huang",
        "Zekun Wang",
        "Xiao Li",
        "Huaqing Zhang",
        "Yang Xu",
        "Haoran Lian",
        "Siqi Zhang",
        "Rui Men",
        "Jianwei Zhang",
        "Ivan Titov",
        "Dayiheng Liu",
        "Jingren Zhou",
        "Junyang Lin (Qwen Team)"
      ],
      "tags": [
        "attention-sinks",
        "massive-activations",
        "outliers",
        "normalization",
        "gatednorm",
        "quantization",
        "qwen"
      ],
      "venue": "arXiv 2601.22966 [cs.CL], submitted 30 Jan 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1257",
      "markdown": "https://papers.projxon.ai/entries/1257.md",
      "api": "https://papers.projxon.ai/api/entries/1257"
    },
    {
      "id": 983,
      "kind": "paper",
      "title": "FlashHead: Efficient Drop-In Replacement for the Classification Head in Language Model Inference",
      "summary": "Argues growing vocabularies make the dense LM head a major param/compute bottleneck (up to ~60% params / ~50% decode compute on small models). FlashHead reframes next-token scoring as balanced-cluster multiprobe retrieval with sampling support and selective quantization, reporting up to ~1.75× model-level speedups (e.g. Llama-3.2-1B) with near-baseline accuracy; gains compound with W4A16.",
      "url": "https://arxiv.org/abs/2603.14591",
      "authors": [
        "Wilhelm Tranheden",
        "Shahnawaz Ahmed",
        "Devdatt Dubhashi",
        "Jonna Matthiesen",
        "Hannes von Essen"
      ],
      "tags": [
        "flashhead",
        "lm-head",
        "inference",
        "retrieval",
        "quantization",
        "vllm",
        "embedl",
        "decode-speed"
      ],
      "venue": "arXiv / Embedl",
      "source": "arxiv",
      "license": "arXiv preprint (see paper); Embedl model/plugin licensing separate",
      "published_year": 2026,
      "added_at": "2026-09-16T17:18:32.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/983",
      "markdown": "https://papers.projxon.ai/entries/983.md",
      "api": "https://papers.projxon.ai/api/entries/983"
    },
    {
      "id": 570,
      "kind": "paper",
      "title": "SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration",
      "summary": "PTQ attention: subtract the token-mean of K to smooth channel outliers so QK can be INT8, and keep PV in FP16 with an FP16 accumulator (INT8 PV is too noisy on some layers). Triton kernels on RTX4090/3090; peak ~341 TOPS at headdim 64/128 vs FlashAttention2 ~165. ~2.1× FA2 and ~2.7× xformers. Plug-and-play: Llama2-7B WikiText 5.824 vs FP 5.823, MMLU 0.46=FP; CogVideoX/Unidiffuser/UltraPixel/TIMM/Llava1.6 near-parity. ICLR 2025. Code https://github.com/thu-ml/SageAttention.",
      "url": "https://arxiv.org/abs/2410.02367",
      "authors": [
        "Jintao Zhang",
        "Jia Wei",
        "Haofeng Huang",
        "Pengle Zhang",
        "Jun Zhu",
        "Jianfei Chen"
      ],
      "tags": [
        "sageattention",
        "int8",
        "flashattention",
        "quantization",
        "triton",
        "iclr",
        "tsinghua",
        "inference"
      ],
      "venue": "arXiv / Tsinghua University",
      "source": "",
      "license": "CC BY 4.0",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 185,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/570",
      "markdown": "https://papers.projxon.ai/entries/570.md",
      "api": "https://papers.projxon.ai/api/entries/570"
    }
  ]
}
