Repository navigation
GPT-QModel 7.12.2
- Quantization accuracy: SmoothMSE now weights clipping errors by input importance. In a 3-bit RTN benchmark, it cut WikiText-2 perplexity by 30% on Qwen2.5-0.5B-Instruct versus the previous SmoothMSE. GPTQ, GPTAQ, FOEM, and QQQ exclude inactive inputs when fitting per-channel scales, and AWQ scores clipping candidates in FP32 to avoid half-precision rounding errors.
- Calibration and packing: AWQ ignores padding when calibrating routed experts, GPTAQ and FOEM fix their native calibration corrections and low-sample fallbacks, and Paro restores its accuracy-tuned optimizer batch size. GSQ exports no longer depend on the search memory budget, asymmetric 8-bit packing preserves the intended codes for BF16 models, and MACaQ selects codes against the same BF16 scales it saves.
- Quantization memory: GPTQ and QQQ used about 4.4 GiB less temporary GPU memory in a large output-layer update benchmark. AWQ scale search also uses less memory. Set
CalibrationConfig(batch_size="auto")to size calibration batches automatically. - EXL3: Native half-bit rates and Q4NX at 2.5, 3.0, and 3.5 bits per weight, with faster Q4NX encoding and tuned decode and prefill on NVIDIA Ada. On AMD RDNA4 (gfx1200/gfx1201), AUTO can select native HIP GEMV and WMMA GEMM; EXL3 also adds the R4NX codebook and optional INT8-activation GEMV.
- Models: Added DeepSeek V4.1 Flash checkpoint support, including packed MX inference on NVIDIA and fused routed-expert decode for EXL3 Q4NX.
- Inference: Marlin can now run asymmetric 4- and 8-bit GPTQ checkpoints without activation order. Multiple backends preserve checkpoint bias precision and accumulate before rounding to the output dtype.
model.budget()reports packed weight memory and estimates which context lengths and batch sizes fit within the memory budget and model limits.
Full list of changes
What's Changed
- fix(hf): keep the RoPE shim resolvable for GPT-QModel bridges (#5259) by @Qubitium in #5269
- fix(exl3): keep the bf16 pre-scale off the cross-device torch.ldexp fault (#5263) by @Qubitium in #5274
- fix(load): gate post_init on each kernel's checkpoint payload (#5261) by @Qubitium in #5276
- fix(rtn): skip declared names that resolve to a placeholder module (#5270) by @Qubitium in #5280
- fix(awq): subtract the sink mask, not the whole batch, from the token-row plan (#5275) by @Qubitium in #5282
- test(fp8): rebuild the load-only FP8 fixtures without quantize() (#5271) by @Qubitium in #5288
- fix(awq): keep the batch centre, not row 0, for single-row token quotas (#5265) by @Qubitium in #5289
- fix(awq): keep plan-captured rows after the routed-expert reservoir exists (#5264) by @Qubitium in #5273
- fix(compile): let compiled calls share the model-global-state lock (#5268) by @Qubitium in #5291
- perf(marlin): make the small-grid tile override K-aware (#5281) by @Qubitium in #5292
- fix(hf): reselect offload-safe kernels for third-party checkpoints (#5262) by @Qubitium in #5277
- fix(paro): make the dense crossover size-aware, not just aspect-aware (#5260) by @Qubitium in #5278
- perf(paro): replay calibration rows in larger optimizer steps (#5246) by @Qubitium in #5279
- fix(compile): check for an active trace before reading dynamo's frame counter (#5266) by @Qubitium in #5283
- fix(awq): key the sibling capture caches on live tensors, not bare ids (#5267) by @Qubitium in #5293
- fix(quantization): weight the SmoothMSE endpoint search by input saliency (#5286) by @Qubitium in #5294
- fix(fp8): read legacy gptqmodel_fp8 checkpoints (#5272) by @Qubitium in #5287
- perf(awq): memoize the capture policy and skip losing reservoir merges (#5284) by @Qubitium in #5295
- Update version.py by @Qubitium in #5296
- fix(quant): keep E8M0/MXFP4/EXL3 pow exponents in float32 (#5297) by @Qubitium in #5298
- fix(load): take the global-state writer inside the construction helper (#5301) by @Qubitium in #5303
- fix(nf12): keep tensor.is_inference() out of the compiled forward (#5299) by @Qubitium in #5309
- fix(quant): keep the Hessian diagonal for SmoothMSE fallbacks (#5300) by @Qubitium in #5313
- fix(nf12): keep input gradients on the CUDA/RDNA4 bf16 forward (#5305) by @Qubitium in #5308
- fix(awq): keep one in eight single-row quotas at the sink position (#5310) by @Qubitium in #5315
- fix(config): reject non-finite calibration options at construction (#5307) by @Qubitium in #5316
- fix(hf): run the legacy remote-code fix-ups on the transformers bridge (#5311) by @Qubitium in #5323
- Teach regression fixtures for AWQ capture, activation gradients, and checkpoint post-init by @Qubitium in #5320
- feat(kv_cache): answer context/batch plans, capped by the model's own limit by @Lumea-art in #4630
- perf(nf12): multi-row FP32 gate kernel with the B1 plane reduction tree by @Qubitium in #5312
- fix(cpu): keep gradients on a grad forward after a fused eval forward (#5314) by @Qubitium in #5321
- fix(paro): build the bf16 rotation cache outside inference mode (#5317) by @Qubitium in #5326
- perf(awq): size routed-expert reservoirs from their own captures (#5284) by @Qubitium in #5327
- fix(load): hold the global-state writer only for the default-dtype window (#5304) by @ZX-ModelCloud in #5329
- fix(config): reject a smoother the calibrated quantizer never applies (#5302) by @ZX-ModelCloud in #5330
- test(kernels): assert the GGUF capture declaration without packing (#5014) by @ZX-ModelCloud in #5336
- fix(awq): load dynamic AWQ checkpoints on transformers 5.23 (#5322) by @ZX-ModelCloud in #5335
- Update requirements.txt by @Qubitium in #5339
- perf(nf12): keep the multi-row FP32 gate row count runtime by @ZX-ModelCloud in #5341
- perf(fp8): read block-scaled payloads once per forward (#5318) by @ZX-ModelCloud in #5340
- fix(exl3): keep BF16 GEMM output in FP32 to avoid FP16 overflow (#5331) by @ZX-ModelCloud in #5342
- fix(quant): flatten 4-D MLA captures in gptaq/foem/qqq (#5338) by @Qubitium in #5343
- test: restore the FP8 kernel, packing and doc guards left red by #5242/#5294 (#5325) by @Qubitium in #5344
- fix(awq): drop calibration padding rows from routed-expert captures (#5337) by @Qubitium in #5346
- fix(awq): never shrink a routed-expert reservoir on a stale merge by @ZX-ModelCloud in #5347
- test(awq): match the capture-perf nodes to #5327's drop-set merge by @Qubitium in #5349
- fix(awq): keep the Transformers 5.23 packed-shape check for native loads by @ZX-ModelCloud in #5353
- fix(awq): treat per-channel group_size as in_features in the shape guard by @ZX-ModelCloud in #5364
- fix(paro): trace the biased CPU int4pack path after an eager warmup (#5332) by @Qubitium in #5350
- fix(paro): restore the accuracy-tuned optimizer batch default (#5306) by @Qubitium in #5356
- fix(quant): make MLA kv_b_proj obey the calibration keep mask (#5389) by @Qubitium in #5415
- fix(hf): use the normalized format for the LLM-AWQ pack dtype by @ZX-ModelCloud in #5407
- fix(awq): drop routed padding even when the row count matches the keep count (#5360) by @Qubitium in #5434
- fix(calib): filter flattened MoE grids with the calibration mask (#5385) by @Qubitium in #5436
- fix(adapter): resolve rank/alpha patterns in PEFT's case order (#5422) by @Qubitium in #5435
- fix(adapter): fold a LoRA scale only when it survives the adapter dtype (#5426) by @Qubitium in #5431
- fix(awq): fall back to AwqTorchLinear when per-channel GEMM cannot pack (#5391) by @Qubitium in #5438
- perf(quant): avoid per-linear named_modules scans during quantization (#5348) by @ZX-ModelCloud in #5378
- fix(awq): seed routed-expert reservoir priorities by batch id (#5432) by @Qubitium in #5439
- feat(calibration): batch_size="auto" picks the largest batch that fits by @Lumea-art in #5441
- test(paro): make the prewarm gating test independent of session state (#5430) by @Qubitium in #5442
- fix(awq): gate the model-wide GEMM pack kernel on the global width (#5408) by @Qubitium in #5443
- fix(cpu): eval-mode grad forwards must not latch the fused kernels to dense (#5392) by @Qubitium in #5447
- fix(dequant): resolve the GPTQ checkpoint format through every metadata alias (#5413) by @Qubitium in #5449
- fix(falcon): select the two-norm parallel decoder tree from the config (#5414) by @Qubitium in #5450
- fix(config): reject NaN/inf in every numeric quantize option (#5437) by @Qubitium in #5444
- fix(threadx): honour future cancellation in the device pool by @ZX-ModelCloud in #5445
- fix(eora): keep generated adapter tensors for repeated saves by @ZX-ModelCloud in #5446
- fix(ci): hand off the unit-test plan as a file and shard large matrices by @ZX-ModelCloud in #5448
- fix(adapter): reject non-LoRA PEFT types instead of attaching nothing (#5425) by @Qubitium in #5451
- fix(adapter): accept legacy lowercase EoRA targets when the tensor pair matches (#5418) by @Qubitium in #5452
- fix(dequant): reject an output directory that overlaps the source checkpoint (#5424) by @Qubitium in #5453
- test(bitblas): skip without a usable runtime, and fix the symmetric fixture by @ZX-ModelCloud in #5440
- fix(config): report the dedicated missing quantization config error (#5388) by @Qubitium in #5454
- fix(dequant): import bitsandbytes only for a packed decode (#5417) by @Qubitium in #5457
- test(bitblas): gate availability tests on BITBLAS_AVAILABLE, not a bare import by @ZX-ModelCloud in #5455
- fix(paro): keep identity rotation gradients when the parameters are trainable (#5419) by @Qubitium in #5456
- fix(adapter): accept layers_to_transform=0 in the PEFT config (#5406) by @Qubitium in #5459
- fix(calibration): pad every concat window and drop a trailing separator by @ZX-ModelCloud in #5460
- fix(load): resolve the wrapper checkpoint directory from subfolder by @ZX-ModelCloud in #5461
- fix(awq): run the legacy remote-code fixups when no module needs repair (#5433) by @Qubitium in #5462
- fix(adapter): key the local adapter cache by artifact generation (#5423) by @Qubitium in #5463
- fix(reshard): keep the referenced local adapter payload (#5416) by @Qubitium in #5464
- fix(ci): stop resolving cp313 wheels for the 3.14t unit jobs (#5420) by @Qubitium in #5467
- fix(packing): never route an embedding to the block/GPU packers (#5381) by @Qubitium in #5465
- fix(rotation): use the declared head_dim for the per-head Hadamard (#5397) by @Qubitium in #5469
- fix(save): serialize the live generation config for module replacements (#5387) by @Qubitium in #5473
- fix(dequant): read sharded GPTQ/AWQ buffers through the index (#5398) by @Qubitium in #5470
- fix(eval): keep the question when a GSM8K prompt is truncated (#5403) by @Qubitium in #5471
- fix(config): reject smoothers a weight-only recipe never applies (#5401) by @Qubitium in #5474
- fix(dequant): write nested shards and keep them dense on resume (#5412) by @Qubitium in #5475
- test(load): pin packed-embedding loading through subfolder (#5386) by @Qubitium in #5478
- fix(fp8): keep single-pass block decode finite for finite inputs (#5405) by @Qubitium in #5479
- fix(dequant): bind a resumed export to its source, layout and dtype (#5396) by @Qubitium in #5481
- fix(nf12): keep the portable path importable without fcntl (#5382) by @Qubitium in #5466
- fix(embedding): follow whole-model dtype casts with the output dtype (#5394) by @Qubitium in #5468
- fix(smooth): fail closed when a direct packer cannot apply the smoother (#5383) by @Qubitium in #5472
- fix(loader): resolve tt-blockfloat checkpoints under subfolder by @ZX-ModelCloud in #5476
- fix(quant): prefer the live Hessian diagonal in SmoothMSE fallback by @ZX-ModelCloud in #5477
- fix(writer): dispatch save_pretrained by model state (#5359) by @ZX-ModelCloud in #5480
- fix(diffusion_gemma): never alias untied encoder/decoder parameters (#5411) by @Qubitium in #5483
- fix(scripts): document the calibration source the TT block-float CLI requires (#5404) by @Qubitium in #5484
- fix(calibration): keep a columnar 0/1 mask convention across the row split (#5368) by @Qubitium in #5486
- fix(kv_cache): do not assume room on a device with no memory measurement (#5410) by @Qubitium in #5487
- fix(checkpoint): keep a shared config's offload root out of checkpoint attempts by @ZX-ModelCloud in #5482
- fix(tied): materialize a tie stored under either member (#5399) by @Qubitium in #5490
- fix(gptaq): honor the low-sample fallback threshold in GPTAQ and FOEM (#5377) by @Qubitium in #5491
- fix(kv_cache): count the DeepSeek-V4 CSA indexer and overlap state (#5409) by @Qubitium in #5493
- fix(load): resolve the legacy sidecar through the checkpoint selection (#5379) by @Qubitium in #5494
- test(nf12): skip the gate-rows kernel test without native NVIDIA-CUDA support (#5428) by @Qubitium in #5489
- fix(quantization): honour SmoothMSE group_size_threshold (#5366) by @ZX-ModelCloud in #5492
- fix(fp8): keep the bias gradient in the fused block GEMV (#5402) by @Qubitium in #5497
- test(load): pin the nested-checkpoint resave round trip (#5380) by @Qubitium in #5498
- test: skip flash-attention test when the optional package is unavailable by @ZX-ModelCloud in #5496
- fix(quant): chunk GPTQ error propagation to avoid lm_head OOM by @yujiongzhang in #5488
- fix(cpu): keep activation gradients in compiled fused forwards (#5369) by @ZX-ModelCloud in #5499
- fix(ci): only monitor GPU leases granted to the job by @ZX-ModelCloud in #5500
- fix(awq): decode CPU dense fallbacks in a range-safe dtype by @ZX-ModelCloud in #5495
- ci(setuptools): pin the isolated build environment to the matrix version by @Qubitium in #5516
- fix(quant): exclude the TF32/BF16x3/num_threads switches from concurrent dynamo traces by @Qubitium in #5513
- fix(paro): honor Fallback.threshold for starved modules (#5510) by @Qubitium in #5519
- fix(compile): make "am I being traced" per-thread, not process-global by @Qubitium in #5522
- fix(calibration): pin an HF Dataset's float 0/1 attention mask before the row split (#5506) by @Qubitium in #5523
- fix(awq): run the native post-init once on the no-context bridge path by @Qubitium in #5525
- fix(paro): apply the batch-size stage LR scaling in the default module scope (#5517) by @Qubitium in #5528
- fix(calibration): resolve batch_size="auto" at every entry point by @Qubitium in #5529
- fix(awq): compensate the LFM3 sigmoid gate and stop folding o_proj (#5371) by @ZX-ModelCloud in #5527
- fix(config): validate per-module dynamic numeric overrides (#5503) by @Qubitium in #5531
- fix(loader): honor an explicit device on the dense load (#5373) by @Qubitium in #5526
- fix(adapter): decide the LoRA scale fold in the compute dtype (#5501) by @Qubitium in #5524
- test(rocm): gate the Marlin device-profile CUDA assertions by @ZX-ModelCloud in #5532
- perf(nf12): keep the FP32 decode and BF16 short-K row counts runtime by @ZX-ModelCloud in #5536
- fix(hf): reselect AWQ offload kernels when the bridge is imported mid-load (#5395) by @ZX-ModelCloud in #5543
- fix(adapter): fail closed on PEFT embedding LoRA (#5508) by @Qubitium in #5542
- fix(smooth): keep the default SmoothMSE search at every group size (#5530) by @Qubitium in #5541
- fix(cpu): rebuild int4pack affine offsets when scales change (#5372) by @Qubitium in #5544
- fix(dequant): remove the previous layout's files on a resume rebuild (#5502) by @Qubitium in #5540
- test(checkpoint): guard empty buffers against save-time dedup by @ZX-ModelCloud in #5539
- test(jamba): x_proj is a declared quantizable mixer projection by @ZX-ModelCloud in #5538
- test(module_tree): pin the Torch Mamba reference for CPU forwards by @ZX-ModelCloud in #5537
- test(vlm): realign pretokenized expectations with #4889 pad stripping by @ZX-ModelCloud in #5535
- fix(qwen3_omni): resolve the pre-LM-head norm under the nested thinker layout by @ZX-ModelCloud in #5534
- fix(ci): apply the GPU allocation deadline to every allocator response (#5375) by @Qubitium in #5545
- fix(fused-train-state): rebuild a meta snapshot without running the inverse by @ZX-ModelCloud in #5533
- fix(cpu): install the int4pack inference layout before optimize()/torch.compile traces (#5515) by @Qubitium in #5546
- fix(calibration): size batch_size="auto" from the normalized rows (#5441) by @Qubitium in #5547
- Update README.md by @Qubitium in #5548
- fix(cpu): keep the int4pack runtime layout during eval-mode grad forwards (#5509) by @Qubitium in #5549
- fix(fp8): measure the native cast contract instead of gating every ROCm device (#5429) by @Qubitium in #5550
- fix(moe): stop the bypass forward context from pinning MoE replicas by @Qubitium in #5552
- fix(awq): keep the final sample's rows when the expert reservoir budget grows (#5384) by @Qubitium in #5553
- fix(diffusion_gemma): reload quantized checkpoints with tied decoder by @Qubitium in #5554
- fix(kv_cache): count the persistent indexer keys of indexed attention (#5362) by @Qubitium in #5555
- fix(packaging): only advertise engine extras that resolve (#5376) by @ZX-ModelCloud in #5556
- fix(exl3): key owner Hessian partials by capture source (#5518) by @Qubitium in #5557
- fix(fp8): gate the block Triton paths on the device FP8 operand (#5400) by @ZX-ModelCloud in #5558
- test(awq): guard expert reservoir order independence after #5553 (#5507) by @Qubitium in #5559
- fix(exl3): accumulate the FP16-output GEMM in FP32 by @Qubitium in #5561
- fix(load): make transformers construction and post-load tying exclusive (#5421) by @ZX-ModelCloud in #5560
- docs(kernels): record the supported trainable set and pin it with a test (#5551) by @Qubitium in #5562
- docs(kernels): correct the trainable-kernel device column and pin it (#5551) by @Qubitium in #5563
- test: realign the stale #5325 guards with the module-global probes and compiled dequant by @Qubitium in #5564
- test(triage): finish the #5325 sweep on current main by @Qubitium in #5565
- Require a current external security screen for issue claims by @Qubitium in #5576
- fix(cpu): refresh int4pack offsets before the grad decode (#5571) by @Qubitium in #5587
- Teach regression fixtures for checkpoint selection, resumed exports, masks and LoRA scales by @Qubitium in #5588
- fix(config): give SmoothMSE the same zero threshold default in every form (#5572) by @Qubitium in #5589
- fix(config): validate Fallback.threshold at construction (#5578) by @Qubitium in #5590
- fix(calibration): materialise one-shot inputs before auto sizing (#5567) by @Qubitium in #5594
- fix(calibration): size auto batches from the real decoder dims and chat rows (#5568) by @Qubitium in #5595
- fix(cpu): decode int4pack fallbacks in a range-safe dtype (#5577) by @Qubitium in #5596
- fix(kv-cache): resolve remote per-layer layouts in the cache estimate (#5580) by @Qubitium in #5597
- fix(config): validate nested and integer dynamic overrides at construction (#5574) by @Qubitium in #5598
- fix(cpu-int4): restore meta -> to_empty -> load_state_dict round trip (#5585) by @Qubitium in #5599
- fix(config): reject options the method quantizer never applies (#5583) by @Qubitium in #5607
- test(smoother): build RTN fixtures with the top-level smoother by @Qubitium in #5614
- fix(ci): derive the wheel ABI from the requested lane by @Qubitium in #5620
- fix(cpu): keep the AVX512 AWQ compiled grad forward differentiable (#5569) by @Qubitium in #5621
- docs(agents): guard kernel changes against linear bias regressions by @Qubitium in #5622
- fix(kv_cache): count per-sequence recurrent state in the planner (#5575) by @Qubitium in #5623
- fix(qqq): keep the source bias dtype across pack and reload (#5603) by @Qubitium in #5624
- test(vlm): compare normalized columns when unpacking a columnar mapping (#5616) by @Qubitium in #5625
- test(nf12): import the _jit submodule in the source-build probe by @Qubitium in #5626
- test(awq): expect no eval-mode latch on the AVX512 FP16 path (#5617) by @Qubitium in #5633
- docs(concurrency): document the raw-torch.compile TF32 caveat by @Qubitium in #5637
- fix(dynamic): apply every per-module override in Paro, RTN and GPTQ (#5573) by @Qubitium in #5638
- fix(mse): keep ternary levels in the MSE grid search (#5601) by @Qubitium in #5640
- fix(fallback): zero-center the selected bounds under sym (#5602) by @Qubitium in #5641
- fix(fp8): load block-FP8 checkpoints without a key-remap copy (#5584) by @Qubitium in #5639
- Port ExLlamaV3 native half-bit EXL3 (2.5/3.5, etc) by @Qubitium in #5619
- fix(gguf): keep a representable FP16 base for K-quant blocks (#5628) by @Qubitium in #5642
- fix(paro): install the CPU runtime layout before compiling (#5581) by @Qubitium in #5643
- fix(gguf): widen Q8_K FP16 decode for tiny FP32-scaled blocks (#5630) by @Qubitium in #5644
- fix(paro): bypass the identity shortcut for trainable rotations (#5636) by @Qubitium in #5645
- fix(fp8): ignore NaN payload bits in the native cast probe (#5570) by @Qubitium in #5649
- fix(hf): rebuild CUDA-only kernels for a CPU-only resolved map (#5579) by @Qubitium in #5657
- fix(macaq): keep the wide bias through pack and load (#5632) by @Qubitium in #5656
- Add DeepSeek V4.1 Flash support by @Qubitium in #5610
- fix(tt_blockfloat): keep the checkpoint bias dtype on reload (#5650) by @Qubitium in #5662
- fix(fp8): keep the CPU inverse-scale reciprocal finite (#5654) by @Qubitium in #5661
- fix(tt_blockfloat): keep the dense fallback out of ambient autocast (#5653) by @Qubitium in #5660
- fix(gptq/qqq): fit the per-channel grid after dead-column masking (#5611) by @Qubitium in #5664
- fix(awq): keep the GEMV reduction exact under ambient autocast (#5613) by @Qubitium in #5665
- fix(macaq): stop the amplitude floor flushing representable values (#5627) by @Qubitium in #5666
- fix(vptq): sum the codebooks in the wide dtype (#5609) by @Qubitium in #5668
- Port Q4NX codebook to EXL3 and extend to add 3.5bit support by @Qubitium in #5655
- perf(fp8): reuse the compiled block GEMV launcher on the decode path (#5582) by @Qubitium in #5674
- fix(macaq): keep finite MXFP4 weights wide before the dot (#5631) by @Qubitium in #5667
- fix(paro): accumulate the fp16 rotation in an fp32 workspace (#5634) by @Qubitium in #5676
- fix(paro): carry per-module krot, kernel and fallback into the packed layer by @Qubitium in #5675
- fix(qqq): pack Conv1D projections in their original orientation (#5604) by @Qubitium in #5669
- fix(torch): route eval decode through the range-safe decoder (#5606) by @Qubitium in #5670
- fix(awq): keep exact zero weights zero through the GEMV pack (#5605) by @Qubitium in #5671
- fix(kv_cache): count recurrent state on shards that hold no growing layer by @Qubitium in #5672
- fix(qqq): avoid the scale-product overflow in the torch forward (#5608) by @Qubitium in #5673
- test(triage): restore the GGUF packer and build a load-only FP8 fixture (#5325) by @Qubitium in #5678
- fix(smooth): keep the SmoothLog inverse exact for a small mu (#5629) by @Qubitium in #5677
- fix(nvfp4): keep an underflowing global scale positive (#5652) by @Qubitium in #5679
- fix(quant): report the exact relative reconstruction error (#5635) by @Qubitium in #5680
- fix(gptaq): calibrate Conv2d with the effective padding (#5646) by @Qubitium in #5681
- fix(tt-blockfloat): recover each block's exponent independently by @Qubitium in #5682
- fix(gptaq,foem): use the pre-update weight for deferred native-delta corrections (#5647) by @Qubitium in #5683
- fix(fp8): publish the block-decode plan atomically and key the range facts on the scale payload (#5592) by @Qubitium in #5684
- fix(nvfp4): resolve headroom percentiles in the histogram tails (#5651) by @Qubitium in #5685
- fix(fp8): keep the compact ceil-block scale grid (#5593) by @Qubitium in #5686
- fix(fp8): keep the plan-cache short-cut trace-safe (#5687) by @Qubitium in #5688
- test(paro): make the fused fp16 overflow test actually fused (#5690) by @Qubitium in #5691
- fix(config): validate None-valued dynamic keys, restore gsq disable, let kernel rules win (#5689) by @Qubitium in #5699
- fix(gsq): gate scale trials per row so the candidate budget cannot change weights (#5692) by @Qubitium in #5702
- Speed up Q4NX encoding at W2.5, W3.0, and W3.5 by @Qubitium in #5700
- Fix EXL3 numerical range and speed up Q4NX inference and Flash routing by @Qubitium in #5701
- fix(gsq): make the reported baseline error independent of candidate chunking (#5693) by @Qubitium in #5703
- fix(kv): report unknown plans instead of guessing, and count unsized state (#5698) by @Qubitium in #5704
- fix(gsq): recover export codes in FP32 so an exact initializer is preserved (#5697) by @Qubitium in #5705
- fix(bnb): keep the packed INT8 bias in the source precision (#5695) by @Qubitium in #5706
- fix(nvfp4): make the CPU decode path invariant to an all-zero block's scale (#5696) by @Qubitium in #5707
- fix(bnb): keep the INT8 FP32 epilogue finite for extreme scale ratios (#5694) by @Qubitium in #5708
- fix(gguf): declare the Triton kernel's own CUDA-graph capture set by @Qubitium in #5711
- fix(loader): keep mixed cpu/mps device maps on their requested devices (#5713) by @Qubitium in #5741
- perf(exl3): enable the Q4NX small-batch GEMV on Ada (sm_89) by @Qubitium in #5744
- fix(writer): apply after_make_quant in the export shell (#5716) by @Qubitium in #5745
- fix(awq): decide clip-search skips by projection role (#5722) by @Qubitium in #5746
- fix(gptq): stop capturing a forward output GPTQ/GPTAQ/FOEM never read by @Qubitium in #5747
- fix(eora): filter calibration rows for flattened captures and MoE padding (#5719) by @Qubitium in #5750
- fix(gptq): damp dead-column Hessians with the live diagonal mean by @Qubitium in #5742
- fix(awq): demote ExLlamaV2 in AUTO for non-FP16 activations by @Qubitium in #5743
- fix(gptaq/foem): fit the per-channel grid after dead-column masking (#5714) by @Qubitium in #5766
- perf(gptq): accumulate block loss in a block-sized scratch (#5734) by @Qubitium in #5774
- fix(awq): apply the configured fallback strategy (#5726) by @Qubitium in #5775
- fix(exl3): declare the bf16 header the ROCm build needs by @Qubitium in #5779
- perf(exl3): tune the Q4NX GEMM dispatch on Ada by @Qubitium in #5781
- perf(exl3): trim Q4NX encode time at W2.5, W3.0, and W3.5 by @Qubitium in #5782
- fix(torch_int8): drop the duplicate qweight copy after post_init (#5718) by @Qubitium in #5784
- fix(dynamic): run native capture when a dynamic rule enables GPTAQ/FOEM (#5762) by @Qubitium in #5785
- fix(foem): ignore calibration batches with no routed tokens (#5768) by @Qubitium in #5783
- fix(awq): accept strided CPU int4pack activations (#5770) by @Qubitium in #5780
- perf(exl3): measure the Q4NX GEMV on Blackwell (sm_120) by @Qubitium in #5786
- feat(exl3): native HIP GEMV for RDNA4 by @Qubitium in #5795
- fix(gptq): keep code 0 in ungrouped symmetric mock quantization (#5756) by @Qubitium in #5799
- fix(gptaq/foem): apply the desc_act sink-row cap in native capture (#5769) by @Qubitium in #5803
- Require measured impact and CI follow-through for claimed issues by @Qubitium in #5802
- fix(packing): pack 8-bit asymmetric BF16 from the exact reconstruction (#5721) by @Qubitium in #5794
- fix(gptq): pass calibration token count to GPTAQ/FOEM fallbacks (#5755) by @Qubitium in #5807
- Guide correctness audits and reviews across GPT-QModel by @Qubitium in #5813
- fix(packing): keep narrow GPTQ words on the original packer (#5806) by @Qubitium in #5815
- fix(gptq): read the static-group permutation once per module (#5720) by @Qubitium in #5767
- Send validated fixes and new features to the owning upstream repository by @Qubitium in #5817
- fix(awq): size clip search from the module MSE budget (#5791) by @Qubitium in #5818
- fix(gptaq/foem): calibrate Conv1d and grouped Conv2d with shared im2col (#5763) by @Qubitium in #5816
- fix(packing): keep packed checkpoint buffers mutable (#5814) by @Qubitium in #5833
- fix(gptq_p): emit logical zero markers for markerless loads by @Qubitium in #5834
- perf(gptq): probe the next damping candidate before building the grid (#5790) by @Qubitium in #5825
- fix(load): keep assign-loaded qzero payloads immutable (#5805) by @Qubitium in #5859
- test(exl3): ROCm RDNA4 parity and benchmark harness by @Qubitium in #5773
- feat(exl3): add the R4NX codebook for RDNA4 by @Qubitium in #5801
- fix(torch-int8): crop padded qzero lanes for partial output widths by @Qubitium in #5860
- perf(exl3): tune the Q4NX launch table on Ada from a measured grid by @Qubitium in #5862
- fix(bnb): keep finite subnormal INT8 rows on the FP32 code path (#5841) by @Qubitium in #5865
- fix(exl3): stop the FP16 GEMV from returning wrong results on Blackwell by @Qubitium in #5870
- fix(macaq): quantize against the stored BF16 D1 pre-scale (#5840) by @Qubitium in #5871
- fix(gguf): keep sign-only tail block scale over synthetic padding by @Qubitium in #5876
- fix(exl3): keep the portable forward in FP32 under autocast by @Qubitium in #5880
- perf(torch-int8): verify checkpoint release in bounded column tiles (#5835) by @Qubitium in #5887
- perf(gptq): release the fallback Hessian before the weight clone (#5778) by @Qubitium in #5891
- fix(calibration): bind derived mask flags in parallel workers (#5777) by @Qubitium in #5893
- fix(macaq): keep the wide decode out of ambient autocast (#5771) by @Qubitium in #5895
- contracts: add kernel forward activation dtype contract by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5896
- feat(exl3): native RDNA4 WMMA GEMM for ROCm (#5710) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5864
- fix(gptq): pad GPTAQ/FOEM Hessian capture for tensor-parallel padding (#5823) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5866
- fix(gptq): key shared-input Hessian reuse by effective sink cap by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5867
- perf(gptq): fit the whole-projection grid only for per-channel solves (#5830) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5868
- fix(exl3): let the measured Ada Q4NX table pick the GEMM shape by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5869
- fix(gptaq,foem): pack BF16 asymmetric codes from exact reconstruction (#5819) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5872
- perf(gptq): cast Hessian chunks directly into the leased workspaces (#5852) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5874
- fix(qqq): route mock quantization to the data-independent RTN grid (#5839) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5875
- fix(awq): keep FP32 checkpoint scales through a wide bias epilogue (#5764) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5877
- fix(offload): keep wf shift tables off meta during post-quantization move by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5878
- fix(rtn): avoid affine span overflow before fitting a finite scale by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5879
- perf(offload): skip the forced-offload size preflight by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5881
- fix(paro): present Conv1D weights to the optimizer in [out, in] (#5856) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5882
- fix(torch-int8): refresh compiled projection after checkpoint edits by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5883
- fix(awq): compute fallback clip bounds in FP32 for finite FP16 weights (#5821) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5884
- fix(load): keep checkpoint-owned AWQ bias dtype in the HF bridge (#5828) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5885
- fix(looper): apply forward device filter once per dispatch by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5889
- fix(awq): honor per-module fallback thresholds before selection by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5888
- perf(looper): reuse the native first-layer capture for GPTAQ/FOEM (#5831) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5890
- perf(looper): release the discarded capture on checkpoint resume (#5829) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5892
- fix(fusion): retire packed executors only after in-flight forwards (#5849) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5894
- fix(vptq): widen FP16 decode when the codebook sum overflows by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5899
- perf(embedding): use CPU row decode for quantized lookups (#5772) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5901
- perf(qqq): release the packed cache when an export materializes checkpoint buffers (#5804) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5900
- feat(exl3): INT8-activation HIP GEMV for RDNA4 (#5710) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5886
- perf(tt-blockfloat): gather embedding rows instead of unpacking the table (#5751) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5903
- fix(macaq): keep E2M1 codebook device-independent for meta discovery by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5905
- fix(packing): honour an explicit CPU target in AUTO packer selection (#5761) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5904
- fix(budget): count backend runtime packed weights (#5810) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5908
- fix(awq): round the GEMM bias once under ambient autocast (#5753) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5910
- test(cpu): separate BF16 output rounding from kernel error (#5798) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5909
- perf(awq): build the scale-search magnitude per chunk by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5907
- fix(exl3): select native HIP GEMV from AUTO on RDNA4 (#5836) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5912
- perf(awq): thread known projection names into clip and scale search by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5906
- perf(looper): read disk-backed replay batches once per dispatch by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5902
- perf(hessian): bound idle staging storage per device (#5758) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5913
- fix(machete): subtract asymmetric zero points before scaling (#5800) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5914
- fix(cpu): decode the AVX512 GPTQ live layout in the dense fallback by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5915
- fix(awq): score clip candidates in FP32 for half-precision weights (#5752) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5916
- fix(ttnn): release only the mesh leases a model holds by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5917
- fix(awq): keep :nosrc on Nemotron-H Puzzle expert up_proj by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5918
- perf(packing): pack_original quantizes in input-axis blocks (#5728) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5919
- fix(tritonv2): keep the range-safe decode in eval (#5738) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5920
- fix(gguf): release the GGUF CPP CUDA scratch arena on the last unload by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5923
- fix(weight_only): log measured direct-pack time and gate weight-error MAE by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5922
- feat(marlin): select native asymmetric GPTQ zero-point kernels by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5924
- fix(gptq): fuse BF16 GPTQ decode with FP16 scales by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5921
- fix(torch-int8): pack ragged groups at their own width (#5824) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5911
- fix(ttnn): classify the BF8 backend as native for device selection by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5926
- fix(ttnn): use HiFi4 with FP32 accumulation for BF8 matmul by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5927
- fix(ttnn): key the BF8 device weight by source and mesh by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5929
- fix(ttnn): repack qzero words per mesh shard by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5930
- fix(looper): release replayed calibration batches at their last use by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5928
- perf(hessian): accumulate X^T X in place during capture (#5731) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5933
- perf(checkpoint): stream continuation capture and verify it once by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5925
- fix(kernels): enforce the forward dtype contract; fix staged-GSQ and Paro dtype bugs by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5897
- fix(qqq): honour damp_auto_increment in Hessian recovery by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5932
- fix(awq): keep bypass-mode candidate replays on native routing by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5934
- fix(ttnn): resolve an explicit chip ordinal without checkpoint placement by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5935
- fix(kernels): follow-up to #5897 — restore MACaQ autocast guard, lock FP4, fix int8 test by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5938
- fix(looper): stage layer offload through a bounded pinned buffer (#5729) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5937
- perf(packing): vectorize pack_gpu 3-bit and planar blocks by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5936
- fix(hf): publish the model rotation in the save_pretrained config by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5931
- fix(ttnn): report native device weight storage in the budget by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5940
- fix(exllamav3): run FP16 GEMV Hadamard epilogue as separate kernel on Blackwell by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5939
- fix(exl3): protect native input Hadamard from overflow by @huihoudantuiren in https://github.com/ModelCloud/GPTQModel/pull/5898
- fix(loader/writer): stop a stale legacy checkpoint shadowing a fresh save by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5941
- fix(load): regenerate derived wf shift tables in post_init by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5943
- perf(ttnn): keep group indices row-major on the device (#5854) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5944
- fix(gptq): release the fp32 Hessian before the block pass by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5945
- fix(tt-blockfloat): keep the tied head's wide dot out of autocast (#5796) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5948
- fix(awq): add the bias to the FP32 GEMV reduction and keep split-K partials wide (#5736) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5947
- perf(exllamav2): FP16-input/FP32-output GEMM for biased prefill (#5715) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5949
- test(docs): resolve stale contract line references (#5325) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5950
- fix(ttnn): add a wider checkpoint bias to the FP32 accumulator (#5808) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5946
- Prepare GPT-QModel 7.12.2 by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5951
- fix(ttnn): keep non-BF16 checkpoint scales in FP32 (#5822) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5953
- fix(weight-only): keep CPU-backed encoder sources on the host (#5757) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5956
- ci: recreate the fixed-path uv venv instead of failing when one is left over by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5957
- fix(torch): compile the packed decode with explicit operands (#5797) by @Qubitium in https://github.com/ModelCloud/GPTQModel/pull/5955
New Contributors
- @huihoudantuiren made their first contribution in https://github.com/ModelCloud/GPTQModel/pull/5898
Full Changelog: v7.11.4...v7.12.2-v2