Tag

#quantization

AI

NVFP4 vs MXFP4 vs GGUF Q4_K_M: same 4 bits, three ways to share a scale

An FP4 (E2M1) weight can only be one of 15 numbers. NVFP4, MXFP4 and llama.cpp's Q4_K_M all survive that by giving each small block of weights its own scale, its own ruler. Blocks of 16 with an FP8 scale (4.5 bits), blocks of 32 with a power-of-two scale (4.25 bits), or super-blocks of 256 with 6-bit scales and mins (about 4.9 bits). A worked rounding example, independent quality numbers, which hardware runs FP4 natively, and which file to download.

AI

Bonsai 27B: a ternary 27B model in 6 GB, the memory math, and the catch

PrismML's Ternary Bonsai 2.5 27B (announced 24 November 2026) stores every weight as −1, 0 or +1: a 5.99 GB file for a model that needs 53.8 GB at 16 bits. What ternary and "1.58 bits" mean, why multiplications could become additions, what it runs on and with which app, the vendor-reported scores, and why it isn't a BitNet.

AI

MLX vs GGUF on a Mac: six myths, and which file to download

MLX is Apple's machine-learning framework with its own safetensors-based models; GGUF is llama.cpp's single-file format, running on the Mac GPU through Metal. Published tests show MLX usually writes answers faster, but reading the prompt can flip the result, '4-bit' means 4.5 bits in one and about 4.9 in the other, and GGUF has about 7.6 times more models on Hugging Face.