Block-sparse sliding-window attention transformer architecture

Building a Block‑Sparse Sliding‑Window Attention Transformer with Reversible Layers in Pure Python

This post walks through building a block‑sparse sliding‑window attention transformer with reversible layers in pure Python, providing runnable code and architectural insights.

October 20, 2026 · 8 min · 1627 words · martinuke0
NumPy code on a laptop screen

Hands-on Build Guide: Tiled Self-Attention Kernel with Online Softmax in Pure NumPy

A step‑by‑step NumPy implementation of tiled soft‑max attention, mirroring FlashAttention’s efficiency, perfect for a CV‑boosting side project.

October 18, 2026 · 7 min · 1390 words · martinuke0
A sleek Python code editor with visual cache diagrams

Pure Python Paged Attention Engine with LRU KV‑Cache Eviction

A step‑by‑step guide to building a pure Python paged attention engine with LRU cache eviction, perfect for demonstrating systems‑level skills to ML recruiters.

October 13, 2026 · 9 min · 1914 words · martinuke0
Python code on a dark terminal, visualizing paged KV cache buckets

Build a Paged Attention KV Cache with H2O Eviction in Pure Python

Learn how to implement a paged attention KV cache with H2O eviction in pure Python, a concrete project that demonstrates low‑latency data structures, eviction policies, and production‑ready patterns for AI/ML infrastructure.

October 13, 2026 · 8 min · 1702 words · martinuke0
A diagram of attention mechanism

Build an Attention Block from Scratch: A Portfolio Project for Systems Engineers

Learn to implement a transformer attention block from scratch in Python, package it as a service, and extend it with production-grade features.

October 10, 2026 · 8 min · 1643 words · martinuke0
Feedback