TensorLens: Inspect HF Model Quantization Layouts Directly in Your Browser

Brilliant-Hall1387 · reddit · 2026-08-08

A developer has released TensorLens, a visualization tool designed to help researchers inspect quantization layouts and weight distributions of Hugging Face models.

Running entirely client-side without a backend server, the tool parses the safetensors header via Range requests and streams only the tensors clicked by the user. The interface displays the effective bits per weight for every tensor (e.g., showing 8.5 bits on some projections and 4.5 on others in a 4-bit MLX quant) and a histogram of a specific tensor's weight distribution. The tool is free, requires no accounts, and includes no tracking.

Original post →

More from coding & agent

coding & agent channel →