Skip to main content

Quantization feasibility analyser — is your quant NFF for coding, math, reasoning or chat?

Project description

coolingcube-q

Quantization feasibility analyser. Takes your KLD and top-1 agreement measurements and tells you whether your quant is safe to deploy for coding, math, reasoning or chat.

Install

pip install coolingcube-q

Usage

from coolingcube_q import analyse_quant

# remichu_sm's real measurement: Step3.7 5.05bpw
result = analyse_quant(
    kld=0.0056,
    top1_agreement=0.9594,
    task="coding",
    bpw=5.05,
    model_params_b=27
)

print(result["verdict"])       # Feasible — safe to deploy
print(result["recommendation"])

Get your measurements

From ExLlamaV3 eval scripts:

# KLD vs BF16 base
python eval/model_diff.py -ma ./quantized_model -mb ./bf16_model -r 5

# Perplexity across bitrates
python eval/compare_q.py --help

Tasks

  • coding — code generation, agentic coding (most demanding)
  • math — mathematical reasoning
  • reasoning — thinking models, chain of thought
  • general — mixed use
  • chat — conversation (most forgiving)

Check all tasks at once

coolingcube-q --kld 0.0056 --top1 0.9594 --bpw 5.05 --model 27 --all-tasks

coolingcube.cc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coolingcube_q-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file coolingcube_q-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: coolingcube_q-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for coolingcube_q-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05ac48796bc30728c067af14b610a3b0308ff4a7789d1ca8dbc7f0a243ae5dd8
MD5 42ed05f5585ac2766be33340ba7b55e6
BLAKE2b-256 625d9f7eb1744a9985381bfd5005eff8ab9084390f335f61f7d7ffb757cde3ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page