Abstract visualization of a 4-bit quantized weight matrix being dequantized into activations for a matrix multiplication.

Build a GPTQ-Style Int4 Quantization Engine From Scratch

Build a real int4 quantization engine from scratch: grouped scales, zero points, and a fast dequant matmul kernel that runs without CUDA. A substantive portfolio project that signals real systems skill.

September 7, 2026 · 12 min · 2453 words · martinuke0
Layered diagram of a quantization pipeline showing calibration, packing, and fused dequantize-matmul.

Build a GPTQ int4 Quantization Engine in Python/NumPy

Ship a runnable int4 weight-only quantization engine from scratch: GPTQ-style calibration, group-wise affine scales, and a fused dequantize-matmul kernel. Built to demonstrate real ML systems skill on a portfolio.

September 6, 2026 · 15 min · 3093 words · martinuke0
Abstract visualization of a tensor grid being mapped from float32 values into discrete quantization bins.

Why Quantization Works: The Mathematics That Makes LLMs 4x Smaller

Quantization shrinks 70B-parameter models from 140GB to 35GB without retraining. Here is the math, the failure modes, and why it works in production.

September 5, 2026 · 11 min · 2318 words · martinuke0
Diagram of a GGUF file layout with tensor metadata and quantized weight blocks.

Building a GGUF Parser and Tensor Loader From Scratch: A Portfolio Project That Actually Signals Systems Skill

Build a real GGUF parser and tensor loader from scratch in Rust — metadata parsing, q4_0/q8_0 dequantization, mmap’d weight streaming, and a minimal Llama forward pass. The kind of CV project that gets interviews at systems and ML infra teams.

September 5, 2026 · 13 min · 2735 words · martinuke0
Diagram of GGUF file structure flowing into a PyTorch model.

Building a GGUF Weight Loader From Scratch: A CV-Grade ML Systems Project

Build a runnable GGUF parser and dequantizer for Q4_K and Q6_K, map the result into a PyTorch Llama model, and end up with a project that signals real ML systems skill on your CV.

September 5, 2026 · 15 min · 2983 words · martinuke0
Feedback