A visualization of a sparse Mixture-of-Experts routing architecture with multiple expert paths and a gating network.

Build a Sparse MoE Router from Scratch in NumPy

A hands-on guide to implementing a sparse MoE router from scratch in NumPy, covering noisy top-k gating, capacity-factor batching, and auxiliary load-balancing loss — a CV-worthy side project for ML systems engineers.

September 11, 2026 · 14 min · 2810 words · martinuke0
A neural network weight matrix visualized as a heatmap.

From Scratch: GPTQ‑Style Post‑Training Quantizer in NumPy

This guide walks you through implementing a GPTQ-style post-training quantizer entirely in NumPy. The resulting script compresses transformer weights and measures accuracy impact, showcasing your ability to ship low-level ML infrastructure.

September 11, 2026 · 5 min · 907 words · martinuke0
Diagram of MoE architecture

From Scratch Sparse MoE Inference Engine

Build a sparse Mixture‑of‑Experts inference engine from scratch in Python, mastering top‑k gating, capacity‑constrained dispatch, and load‑balancing loss.

September 11, 2026 · 1 min · 152 words · martinuke0
Conceptual diagram of a dynamic context buffer

Dynamic Context Buffer with Learned Relevance Predictor

This post walks you through implementing a token‑aware context buffer that learns relevance and prunes low‑value tokens to fit a target window.

September 10, 2026 · 7 min · 1312 words · martinuke0
A Python script reading a GGUF binary file, with hex dump and tensor metadata visualization.

Building a GGUF Weight Loader from Scratch in Pure Python

A hands-on guide to building a zero-dependency GGUF weight loader from scratch in Python, covering the binary container format, tensor extraction, and a roadmap to production-grade features.

September 10, 2026 · 12 min · 2499 words · martinuke0
Feedback