Diagram of mmap-backed tensor parsing pipeline reading GGUF and safetensors files.

Build a GGUF Parser and Safetensors Loader: A From-Scratch Mmap-Backed Weight Inspector

Build a from-scratch GGUF parser and safetensors loader that memory-maps tensor data straight into numpy, with integrity checks you can drop on a CV.

September 5, 2026 · 13 min · 2734 words · martinuke0
Diagram of tiled attention matrix blocks flowing through online softmax accumulation.

Building a FlashAttention-2 Forward Kernel in Pure NumPy

TL;DR — FlashAttention-2 is an IO-aware attention algorithm that fuses the softmax and matrix multiply into tiled CUDA kernels. We rebuild the forward pass from scratch in pure NumPy: blocking the QKV matrices into tiles, running a streaming softmax per block, and rescaling outputs online. The result is a runnable, testable side project that demonstrates memory-hierarchy thinking, numerical stability, and GPU-style programming patterns — exactly what hiring managers look for on a CV. ...

September 5, 2026 · 13 min · 2609 words · martinuke0
Abstract diagram of a Redis client receiving invalidation pushes over RESP3.

Optimizing Redis with Client-Side Caching and the RESP3 Protocol

A practical look at how the RESP3 protocol and client-side caching let Redis clients invalidate entries locally, eliminating round trips and shaving milliseconds off tail latency.

September 5, 2026 · 11 min · 2148 words · martinuke0
Abstract diagram of a mixture-of-experts router routing tokens to multiple expert networks.

Build a Mixture-of-Experts Router From Scratch in PyTorch

A portfolio-grade project: a pure PyTorch mixture-of-experts router with top-k gating, expert load-balancing loss, and Switch-style capacity factors — with runnable code, tests, and a roadmap to senior-level extensions.

September 5, 2026 · 15 min · 3051 words · martinuke0
Diagram of a speculative decoder: a small draft model proposing tokens that a larger target model verifies in parallel.

Build a Speculative Decoder From Scratch: A Portfolio Project That Signals Real Systems Skill

A working engineer’s guide to implementing a speculative decoder from scratch: draft with n-gram proposals, verify with a target model, ship it as a portfolio piece. Real code, real benchmarks, real extensions.

September 5, 2026 · 13 min · 2630 words · martinuke0
Feedback