A sleek Python code editor with neural network visualisation

Hands‑On MoE Router: Top‑k Gating and Load‑Balancing in Pure Python

A hands‑on guide to implementing a Mixture‑of‑Experts router from scratch in pure Python, with top‑k gating and load‑balancing, ready to run and extend.

October 1, 2026 · 9 min · 1864 words · martinuke0
A visualization of a Mixture-of-Experts architecture with sparse routing paths

Build a Sparse MoE Inference Engine from Scratch in NumPy

A hands-on guide to building a sparse MoE inference engine in pure NumPy, covering top-k gating, capacity-constrained token dispatch, and differentiable load balancing — a portfolio project that signals deep systems and ML engineering skill.

September 19, 2026 · 14 min · 2828 words · martinuke0
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
Feedback