From-Scratch GGUF/Safetensors Weight Loader with mmap Streaming and Tensor‑Name Remapping
A practical, runnable Python loader that maps GGUF/Safetensors weights into memory and remaps tensor names, ready for integration with llama.cpp.
From‑Scratch Radix‑Tree KV Cache with Copy‑on‑Write Blocks and LRU Eviction in Pure Python
A practical, from‑scratch implementation of a prefix‑sharing KV cache with CoW blocks and LRU, built in pure Python to showcase systems‑level engineering on your CV.
Build a Minimal Paged Attention Inference Engine with Sliding-Window KV-Cache Eviction in Python
Learn how to implement a paged attention engine with sliding-window KV-cache eviction from scratch in Python—a practical, runnable side project that signals systems engineering skill to hiring managers.
From‑Scratch MoE Transformer Block with Sinkhorn Routing in NumPy
A hands‑on guide to building a Mixture‑of‑Experts transformer block from scratch in NumPy. It features Sinkhorn‑based routing and balanced expert load, ready to showcase on a CV.
A Hands-On Build Guide: Mixture-of-Experts Router with Top-K Gating and Auxiliary Load-Balancing Loss
A complete guide to building a Mixture-of-Experts router from scratch, including top-k gating, auxiliary load-balancing loss, runnable Python/NumPy code, and production-ready extensions for your CV.