Speculative Decoding Inference Engine with Adaptive Draft and Early-Exit Verification
A hands-on guide to implementing speculative decoding in Python, featuring adaptive drafting and early-exit verification for faster LLM inference.
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.