ShinMegamiBoson Releases 'LookAtMyQuant', an MIT-Licensed Quantization Compiler Using Trellis Codes and Fisher Information
Developer ShinMegamiBoson has introduced LookAtMyQuant, an MIT-licensed quantization compiler for large language models that leverages trellis codes and Fisher
On November 21, 2026, developer ShinMegamiBoson released 'LookAtMyQuant', an open-source quantization compiler designed to compress large language model weights with high precision. Distributed under an MIT license, the project offers a novel compression methodology that minimizes reasoning and coding performance degradation while fitting strict memory budgets.

Image source: https://news.lavx.hu/article/shinmegamiboson-releases-lookatmyquant-a-quantization-compiler-for-large-language-models
Large language models require tens of gigabytes of memory, making quantization—storing weights in fewer bits—essential for running models on local hardware or edge devices. However, careless compression often damages core reasoning and coding capabilities. LookAtMyQuant addresses this challenge by quantifying the output damage of each stored weight component and allocating optimal code structures within a given size budget.
Core Compression Principles: Trellis Codes and Fisher Information
The LookAtMyQuant compiler evaluates how much each stored piece hurts output when compressed, assigning codes so the entire model fits a size budget with minimal damage.
- Fisher Information-Based Bit Allocation: Row importance is measured using Fisher information, a statistical sensitivity metric, allowing bits to be allocated per row accordingly.
- Trellis Code Integration: It employs lattice-based block-vector trellis codes used in error correction and data compression, drastically improving the compression-to-loss ratio.
- Distillation and Re-quantization: Calibration using the model's worked mathematical solutions and 4,000 steps of distillation optimize latent weights, with every layer re-quantized once from original weights.
According to repository benchmarks, test models achieved significantly lower Kullback-Leibler (KL) divergence compared to standard formats at identical file sizes, preserving the output distribution of the original models.
Key Model Compression Results and Benchmarks
The released recipes demonstrate remarkable improvements over existing open-source quantization approaches:
- Inkling-2-Mini Compression: The 26.4 billion parameter mixture-of-experts model was compressed from 18.89 GB to 5.38 GB (1.63 bpw) and 8.87 GB (2.69 bpw). The 5.38 GB version outscored comparative 9.14 GB models on both GSM8K math reasoning and HumanEval coding benchmarks.
- Qwen Model Recipes: Compression recipes are provided to shrink Qwen3.5-4B down to 1.23 GB and Qwen3.8-27B down to 7.2 GB, achieving benchmark scores close to or matching their uncompressed originals.
Additionally, the project provides a dedicated Apple Silicon runtime and custom Metal kernels, enabling fast execution of packed models on M-series hardware.
Practical Usage and Getting Started
Installing the runtime package and running a packed model on Apple Silicon requires a straightforward Python workflow:
# Install the runtime package directly
pip install git+https://github.com/ShinMegamiBoson/lookatmyquant.git
Within Python, users can load the model and tokenizer using the runtime_mlx utility:
from mlx_lm import generate
from runtime_mlx import load
model, tok = load("shinmegamiboson/Qwen3.8-27B-LookAtMyQuant-7.2GB")
prompt = tok.apply_chat_template(
[{"role": "user", "content": "What is 17 times 23? Show the steps."}],
add_generation_prompt=True,
enable_thinking=False,
)
print(generate(model, tok, prompt, max_tokens=200))
Note that the repository provides the compiler toolchain and runtime, while official dense model weights must be downloaded separately from external repositories such as Hugging Face.