Skip to content

GPT-QModel v7.14.0

Latest

Choose a tag to compare

@Qubitium Qubitium released this 02 Dec 05:15
· 71 commits to main since this release
3c0a923

GPT-QModel 7.14.0

  • New quantizers: SINQ (calibration-free, or calibrated A-SINQ with SINQConfig(awq=True); NF4/NF3 codebooks and opt-in 2D tiling), TWLA ternary weights with optional low-bit activations, Tetra 2-bit Leech-lattice blocks, NVFP4 weight-only with Schur Replay, an OSTQuant W4A16 stage, JointQ, ADMM-Q, MoEQuant EBSS/AGQ calibration for MoE models, G2PTQ, LeapQuant recurrent-state quantization, and CPTC trellis coding with two-sided YAQA calibration.
  • New package() API: gptqmodel.package(PackageConfig) converts a quantized checkpoint into a single-file runtime container and is the long-term replacement for export. Its first target, GGUFPackageConfig, writes a llama.cpp .gguf byte-exactly, with no re-quantization (GGUF packaging).
  • Calibration accuracy: CalibrationConfig.exclude_attention_sinks now defaults to None, so each model decides. Llama 3 models exclude the BOS attention sink for GPTQ and QQQ by default. On Llama-3.2-1B this takes default QQQ from unusable (perplexity 135) to 10.9 (attention sinks).
  • Calibration memory: CalibrationConfig(spill_path=...) streams the layer-to-layer calibration activations to disk instead of RAM or VRAM, for every quantization method (spilling layer inputs).
  • Checkpoints: Quantization runs can resume at subset granularity, and resume validates the packed tensor schema. Interrupted and resumed GPTQ/AWQ runs produce bit-identical checkpoints. model.save(..., split_by="layer") is re-enabled and writes one directory per decoder layer; SGLang cannot load that layout yet, so save with split_by=None for SGLang (per-layer save).
  • Inference: New TurboQuant runtime KV-cache quantization for softmax attention (no checkpoint change). New Humming CUDA GEMM backend, a native BF16 epilogue for QQQ W4A8, and a retuned portable W4A8 GEMM. Whole-model cpu>/disk> placement keeps weights off the accelerator, tied embeddings stay with the output head under an explicit placement, and FNUZ FP8 checkpoints load. AWQ GEMV_FAST checkpoints dequantize much faster on ROCm.
  • JIT kernel builds: If sccache is on PATH it must be 0.18.0 or later: older sccache breaks CUDA 13.3+ kernel builds, so GPT-QModel builds without it. Failed builds are remembered across processes; RuntimeConfig(compiler_cache=...) controls the compiler cache (JIT kernel builds).
  • Tools and models: New gptqmodel command with a doctor environment check, quantization drift measurement, and Inkling 2 Mini support.
  • Breaking: Accelerate removed. Weights load through GPT-QModel's own WeightLoader. GPTQModel.load takes placement= (e.g. "accel", "cpu>accel:0", Placement.budget({...})) instead of device_map=/max_memory=, and refuses pickle-only checkpoints. HF/PEFT usage outside GPT-QModel is unchanged.
What's Changed (510 pull requests)

New Contributors

Full Changelog: v7.12.2...v7.14.0