Building a Paged KV Cache Allocator with Continuous Batching in Pure Python
This project demonstrates memory management, concurrent request scheduling, and low-level allocator design—all core skills for backend and ML infrastructure roles.
This project demonstrates memory management, concurrent request scheduling, and low-level allocator design—all core skills for backend and ML infrastructure roles.
A hands-on guide to building a pure-Python gguf and safetensors weight loader from scratch. Parse binary headers, memory-map tensor data, and convert to numpy arrays for inference — with real runnable code and a roadmap to production-grade.
Implement a minimal mixture-of-experts inference engine from scratch in Python, demonstrating systems thinking, custom loss functions, and production-ready patterns.
A hands-on build guide for a LoRA fine-tuning and inference engine featuring low-rank adapter gradients, fused weight updates, and runtime adapter swapping in pure PyTorch.
A hands-on guide to building a from-scratch LLM decoding sampler implementing temperature, top-k, top-p, and contrastive search in pure Python. Includes architecture, complete code, and a roadmap to senior-level extensions.