Mixture of experts routing layer illustration

From‑Scratch Mixture‑of‑Experts Routing Layer in Pure Python

A step‑by‑step tutorial creating a from‑scratch MoE routing layer in pure Python, complete with code, tests, and extension ideas for your CV.

September 30, 2026 · 8 min · 1644 words · martinuke0
A diagram of a mixture-of-experts router with multiple expert networks and a gating mechanism

Build a Mixture-of-Experts Router from Scratch: A Portfolio Project That Signals Real Systems Skill

A hands-on guide to building a mixture-of-experts router from scratch in Python, covering top-k gating, capacity factor scheduling, and load balancing loss — a CV-worthy project that signals real systems and ML engineering skill.

September 23, 2026 · 12 min · 2465 words · martinuke0
A sleek Python script running on a laptop, illustrating a router directing traffic to expert modules.

Hands‑On Build: Mixture‑of‑Experts Top‑K Gating Router in Pure Python

A step‑by‑step guide to implementing a mixture‑of‑experts router from scratch in Python, complete with top‑k gating, auxiliary loss, and production‑ready extensions.

September 17, 2026 · 9 min · 1907 words · martinuke0
A schematic of a mixture-of-experts model routing tokens to experts.

Build a Minimal Mixture-of-Experts Inference Engine in Pure Python

Implement a minimal mixture-of-experts inference engine from scratch in Python, demonstrating systems thinking, custom loss functions, and production-ready patterns.

September 14, 2026 · 8 min · 1616 words · martinuke0
A diagram showing tokens being routed to multiple expert networks through a gating mechanism.

Build a Switch-Style MoE Router from Scratch in Pure Python

A hands-on guide to building a Switch-style MoE inference router in pure Python — covering top-k gating, capacity-constrained dispatch, and differentiable load balancing — as a portfolio project that signals real systems ML engineering skill.

September 12, 2026 · 13 min · 2624 words · martinuke0
Feedback