Inkling-2-Mini AI model fits in 5.4 GB memory
A new quantization compiler, LookAtMyQuant, allows the Inkling-2-Mini AI model to operate within 5.4 GB of memory.
LookAtMyQuant is a quantization compiler designed to optimize AI models for memory efficiency. It works by measuring how much each piece of a model impacts the output when compressed. The compiler then selects codes for each piece to fit the model within a specified size budget, minimizing damage to the output.
The compiler has been applied to the Inkling-2-Mini model, enabling it to fit into 5.4 GB of memory. On Gemma 4 E2B, its GGUF achieved 12 times lower KL divergence than Q4_K_M at the same file size.
LookAtMyQuant 2, an updated version, takes the Qwen3.5-4B model to 1.23 GB, using 2.3 bits per weight. This version solves 330 of 540 exact-answer math problems. Its KL divergence from the original model on held-out text is 0.45 nats. This compares to 0.59 for Bonsai, another model. The method involves post-training quantization with trellis codes, calibrated on the model's own worked math solutions. Bits are allocated per row using Fisher information.
Why it matters
Efficient quantization of AI models is crucial for deploying advanced AI on devices with limited memory, such as smartphones or edge computing hardware. Reducing memory footprint while maintaining performance allows for broader accessibility and more practical applications of complex AI systems.