Minimal transformer engine illustration

Build a Minimal Transformer Inference Engine for Your Portfolio

A practical guide to building a minimal transformer inference engine with KV cache, tokenizer, attention, and sampler. It demonstrates systems skills that hiring managers look for.

September 18, 2026 · 7 min · 1336 words · martinuke0
Sliding-window attention KV cache concept

Building a Sliding-Window Attention KV Cache with Dynamic Token Pruning

This guide walks through implementing a sliding-window attention KV cache with dynamic token pruning, providing runnable Python code and tests.

September 13, 2026 · 6 min · 1100 words · martinuke0
A diagram of a transformer attention block with sliding window

Build a Fused Causal Self-Attention Block with RoPE and Sliding-Window KV Cache in Pure Python

This guide walks through implementing a fused causal self-attention block with RoPE and a sliding-window KV cache in pure Python, giving you a concrete portfolio piece that highlights systems engineering expertise.

September 11, 2026 · 4 min · 823 words · martinuke0
Diagram of grouped-query attention with rotary position embeddings feeding into a tiled Flash-Attention forward pass.

Building Grouped-Query Attention with RoPE and Flash-Attention from Scratch

Step-by-step tutorial for implementing GQA, RoPE, and an online-softmax Flash-Attention forward pass in pure PyTorch — a portfolio project that signals real systems-level ML skill.

September 7, 2026 · 11 min · 2313 words · martinuke0
Abstract visualization of attention weights flowing through a transformer.

Language Models Can Now Control Their Own Attention

New techniques let language models decide for themselves where to attend, cutting inference cost without retraining. We break down how gating, sparse kernels, and self-reflective decoding work in production systems.

September 5, 2026 · 10 min · 2048 words · martinuke0
Feedback