A neural network diagram showing low-rank weight matrices

From Scratch: Building a LoRA Fine-Tuning Adapter in Pure PyTorch

Implement a Low-Rank Adaptation (LoRA) module from scratch in PyTorch, then extend it with persistence, observability, and distributed training for production readiness.

October 8, 2026 · 7 min · 1399 words · martinuke0
A sleek notebook with code snippets and a transformer diagram.

Hands-On Build Guide: Minimal LoRA Fine‑Tuning Engine for a 2‑Layer Transformer

A practical, end‑to‑end guide to building a minimal LoRA fine‑tuning engine for a 2‑layer transformer, with runnable code and production‑ready extensions.

October 4, 2026 · 7 min · 1327 words · martinuke0
A diagram of paged attention memory layout

From Scratch: Building a Paged Attention KV Cache for Transformer Inference

A practical build guide for a paged attention KV cache in pure Python, with architecture, code, and extensions for senior-level skills.

October 1, 2026 · 11 min · 2209 words · martinuke0
A visual representation of compressed KV cache attention with memory tiers

Build a Memory-Compressed Attention Engine with KV Caching from Scratch

A hands-on build guide for implementing a memory-compressed attention engine with key-value caching from scratch in Python. Includes architecture diagrams, production-grade code, and a roadmap to senior-level extensions.

September 26, 2026 · 15 min · 3095 words · martinuke0
A code editor displaying a Python sampling loop with temperature and top-k parameters

Build a From-Scratch LLM Sampler: Temperature, Top-k, Top-p in Pure Python

A hands-on guide to building a pure-Python transformer model with a custom decoding loop implementing temperature, top-k, and top-p sampling — a CV-worthy project that demonstrates deep ML systems knowledge.

September 22, 2026 · 13 min · 2679 words · martinuke0
Feedback