sliding window attention cache

Hands-On Build Guide: Sliding-Window Attention KV Cache with LRU Eviction

A hands‑on guide to implementing a sliding‑window attention KV cache with LRU eviction, complete with runnable Python code, benchmarks, and extension ideas for production use.

October 14, 2026 · 10 min · 1954 words · martinuke0
Short description of the cover image subject.

Pure-Python INT8 Weight Quantizer for Transformer Inference: A Hands-On Build Guide

Learn to implement a production‑ready INT8 quantizer with per‑channel scaling, test it on transformer weights, and extend it for real‑world deployment.

October 14, 2026 · 8 min · 1687 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 sleek neural network diagram overlaid on a laptop screen

Build Your Own Fused Low‑Rank LoRA Fine‑Tuning Engine From Scratch

A hands‑on guide to building a fused low‑rank LoRA fine‑tuning engine from scratch, with runnable PyTorch code, architecture diagrams, and production‑ready extensions.

October 8, 2026 · 7 min · 1413 words · martinuke0
Feedback