Schematic of a Mixture‑of‑Experts routing layer with expert towers and top‑k gates.

From-Scratch Mixture-of-Experts Routing Layer with Noisy Top‑k Gating and Load‑Balancing Auxiliary Loss

A complete guide and runnable PyTorch implementation of a Mixture‑of‑Experts layer with noisy top‑k routing, auxiliary load‑balancing, and token dispatch, perfect for a portfolio CV.

November 21, 2026 · 12 min · 2527 words · martinuke0
A sleek Python code editor with a diagram of expert networks

Hands‑On Build Guide: Minimal Mixture‑of‑Experts Inference Engine in Python

A step‑by‑step guide to coding a lightweight MoE inference engine in pure Python, complete with runnable code and extension ideas.

November 21, 2026 · 8 min · 1559 words · martinuke0
ClickHouse MergeTree compaction pipeline visualization

Optimizing ClickHouse MergeTree Compaction: Streaming Ingestion at High Throughput

Optimizing MergeTree compaction is critical for maintaining query performance under heavy streaming loads. This post covers part merging strategies, background pool tuning, and disk I/O management for production ClickHouse deployments.

November 21, 2026 · 7 min · 1385 words · martinuke0
Python code on a laptop screen illustrating a router diagram

From‑Scratch Mixture‑of‑Experts Router with Top‑K Gating in Python

A practical, runnable Python implementation of a Mixture‑of‑Experts router with top‑k gating, perfect for a CV‑standing side project.

November 21, 2026 · 9 min · 1733 words · martinuke0
Short description of the cover image subject.

Speculative Decoding Inference Engine in Pure Python

A hands‑on guide to building a speculative decoding engine in pure Python, demonstrating token verification, KV caching, and production‑ready patterns.

November 20, 2026 · 7 min · 1450 words · martinuke0
Feedback