Skip to content

Releases: ModelCloud/GPTQModel

GPTQModel v1.9.0

12 Feb 09:34
599e5c7
Compare
Choose a tag to compare

What's Changed

⚡ Offload tokenizer fixes to Toke(n)icer pkg.
⚡ Optimized lm_head quant time and vram usage.
⚡ Optimized DeekSeek v3/R1 model quant vram usage.
⚡ 3x speed-up for Torch kernel when using Pytorch >= 2.5.0 with model.compile().
⚡ New calibration_dataset_concat_size option to enable calibration data concat mode to mimic original GPTQ data packing strategy which may improve quant speed and accuracy for datasets like wikitext2.
🐛 Fixed Optimum compat and XPU/IPEX auto kernel selection regresion in v1.8.1

Full Changelog: v1.8.1...v1.9.0

GPTQModel v1.8.1

08 Feb 20:19
63499e1
Compare
Choose a tag to compare

What's Changed

DeekSeek v3/R1 model support.
⚡ New flexible weight packing: allow quantized weights to be packed to [int32, int16, int8] dtypes. Triton and Torch kernels supports full range of new QuantizeConfig.pack_dtype.
⚡ Over 50% speedup for vl model quantization (Qwen 2.5-VL + Ovis)
⚡ New auto_gc: bool control in quantize() which can reduce quantization time for small model with no chance of oom.
⚡ New GPTQModel.push_to_hub() api for easy quant model upload to HF repo.
⚡ New buffered_fwd: bool control in model.quantize().
🐛 Fixed bits=3 packing and group_size=-1 regression in v1.7.4.
🐛 Fixed Google Colab install requiring two install passes
🐛 Fixed Python 3.10 compatibility

Full Changelog: v1.7.4...v1.8.1

GPTQModel v1.8.0

07 Feb 17:07
e876a49
Compare
Choose a tag to compare
GPTQModel v1.8.0 Pre-release
Pre-release

What's Changed

DeekSeek v3/R1 model support.
⚡ New flexible weight packing: allow quantized weights to be packed to [int32, int16, int8] dtypes. Triton and Torch kernels supports full range of new QuantizeConfig.pack_dtype.
⚡ New auto_gc: bool control in quantize() which can reduce quantization time for small model with no chance of oom.
⚡ New GPTQModel.push_to_hub() api for easy quant model to HF repo.
⚡ New buffered_fwd: bool control in model.quantize().
🐛 Fixed bits=3 packing regression in v1.7.4.
🐛 Fixed Google Colab install requiring two install passes
🐛 Fixed Python 3.10 compatibility

Full Changelog: v1.7.4...v1.8.0

GPTQModel v1.7.4

26 Jan 07:02
b623b96
Compare
Choose a tag to compare

What's Changed

⚡ Faster packing for post-quantization model weight save.
Triton kernel now validated for Intel/XPU when Intel Triton package is installed.
⚡ New compile() api that allows torch to improve tps by ~4-8%. May need to disable flash_attention for some kernels.
🐛 Fix HF Transformers bug of downcasting fast tokenizer class on save.
🐛 Fix inaccurate bpw calculations.
🐛 Fix ROCm compile with setup.py

New Contributors

Full Changelog: v1.7.3...v1.7.4

GPTQModel v1.7.3

21 Jan 00:14
5c1a7e8
Compare
Choose a tag to compare

What's Changed

⚡ Telechat2 (China Telecom) model support
⚡ PhiMoE model support
🐛 Fix lm_head weights duplicated in post-quantize save() for models with tied-embedding.

New Contributors

Full Changelog: v1.7.2...v1.7.3

GPTQModel v1.7.2

19 Jan 03:52
d762379
Compare
Choose a tag to compare

What's Changed

⚡Effective BPW (bits per weight) will now be logged during load().
⚡Reduce loading time on Intel Arc A770/B580 XPU by 3.3x.
⚡Reduce memory usage in MLX conversion.
🐛 Fix Marlin kernel auto-select not checking CUDA compute version.

Full Changelog: v1.7.0...v1.7.2

GPTQModel v1.7.0

17 Jan 01:34
d247fd0
Compare
Choose a tag to compare

What's Changed

backend.MLX added for runtime-conversion and execution of GPTQ models on Apple's MLX framework on Apple Silicon (M1+). ⚡ Exports of gptq models to mlx also now possible. We have added mlx exported models to huggingface.co/ModelCloud.
⚡ lm_head quantization now fully support by GPTQModel without external pkg dependency.
🐛 Fixed setup.py not correctly detecting incompatible setuptools/wheel pkgs.

Full Changelog: v1.6.1...v1.7.0

GPTQModel v1.6.1

09 Jan 03:40
0c6452b
Compare
Choose a tag to compare

What's Changed

🎉 New OpenAI api compatible end-point via model.serve(host, port).
⚡ Auto-enable flash-attention2 for inference.
🐛 Fixed sym=False loading regression.

Full Changelog: v1.6.0...v1.6.1

GPTQModel v1.6.0

06 Jan 08:00
c5c2677
Compare
Choose a tag to compare

What's Changed

⚡ 25% faster quantization. 35% reduction in vram usage vs v1.5. 👀
🎉 AMD ROCm (6.2+) support added and validated for 7900XT+ GPU.
💫 Auto-tokenizer loader via load() api. For most models you no longer need to manually init a tokenizer for both inference and quantization.

Full Changelog: v1.5.1...v1.6.0

GPTQModel v1.5.1

01 Jan 08:39
4f18747
Compare
Choose a tag to compare

What's Changed

🎉 2025!

⚡ Added QuantizeConfig.device to clearly define which device is used for quantization: default = auto. Non-quantized models are always loaded on cpu by-default and each layer is moved to QuantizeConfig.device during quantization to minimize vram usage.
💫 Improve QuantLinear selection from optimum.
🐛 Fix attn_implementation_autoset compat in latest transformers.

Full Changelog: v1.5.0...v1.5.1