HNSW graph illustration

Building a HNSW Vector Index from Scratch: A Hands‑On Portfolio Project

A step‑by‑step tutorial building a HNSW vector index from scratch, with incremental updates and fast ANN queries, perfect for a portfolio.

November 29, 2026 · 10 min · 2048 words · martinuke0
A laptop screen showing NumPy arrays and binary weight visualizations.

Hands-on Build Guide: Custom 4-bit Weight-only Quantization Engine with GGUF-style Block Scaling in Pure NumPy

A step‑by‑step guide to implementing a 4‑bit weight‑only quantizer with block scaling using only NumPy, plus a roadmap to production‑grade features.

November 29, 2026 · 10 min · 2019 words · martinuke0
Python code editor with a memory layout diagram

Hands-On Build Guide: Paged Attention KV Cache Manager with Block Allocation and Copy-on-Write in Pure Python

A step‑by‑step guide to implementing a paged attention KV cache manager in pure Python, complete with block allocation and copy‑on‑write, ready to run and extend.

November 29, 2026 · 8 min · 1694 words · martinuke0
A schematic of a tiled attention matrix with softmax arrows.

Build a Flash Attention Kernel from Scratch with Pure NumPy

Implement a flash‑attention kernel from scratch in NumPy, covering online softmax, tiling, and performance tricks you can run and extend.

November 29, 2026 · 7 min · 1461 words · martinuke0
Python code on a terminal showing vector index construction

From-Scratch IVF-PQ Vector Index in Pure Python: A Hands-On Portfolio Guide

A complete hands-on guide to building a pure-Python IVF-PQ vector index from k-means to ASDL, perfect for a CV side project that demonstrates real systems engineering skills.

November 27, 2026 · 8 min · 1683 words · martinuke0
Feedback