Diagram of block‑tiled FlashAttention kernel

Build a From‑Scratch FlashAttention in Pure NumPy

Implement block‑tiled Q/K/V matmuls with online softmax in pure NumPy, matching naive attention while using O(N) memory; benchmark speed and memory.

November 17, 2026 · 7 min · 1471 words · martinuke0
Switch transformer router project cover

Build a Switch Transformer Router with Top‑k Gating and Auxiliary Load‑Balancing in Pure Python

Learn how to implement a switch transformer router with top‑k gating, expert capacity, and auxiliary load‑balancing loss in pure Python, and why this project signals real systems skill to hiring managers.

November 17, 2026 · 9 min · 1809 words · martinuke0
A conceptual diagram showing vector quantization and inverted file indexing.

Build a SIMD-Accelerated IVF-PQ Vector Index in Python

A comprehensive guide to building a production-style vector index from scratch, focusing on memory efficiency and computational speed.

November 16, 2026 · 7 min · 1468 words · martinuke0
Visualization of an HNSW graph with nodes and edges

Building a Pure-Python HNSW Index from Scratch

This tutorial walks you through building a pure-Python HNSW graph index for approximate nearest neighbor search. You’ll get runnable code, test strategies, and a roadmap to turn it into a production service.

November 16, 2026 · 8 min · 1568 words · martinuke0
Custom Python weight loader project cover

Hands-On Build Guide: Custom GGUF & safetensors Weight Loader with Lazy Memory Mapping and Quantization in Pure Python

Learn how to implement a lightweight, lazy‑loading weight loader from scratch, complete with quantization support and memory‑efficient design.

November 15, 2026 · 10 min · 1985 words · martinuke0
Feedback