Building a Memory-Efficient Attention with Kernel Decomposition: A Hands-On Linformer Project
Implement Linformer attention from scratch in PyTorch, benchmark it, and learn how to extend it for production systems.
Implement Linformer attention from scratch in PyTorch, benchmark it, and learn how to extend it for production systems.
Learn to implement a streaming KV cache with attention sinks in Python, enabling infinite context for large language models.
Implement a sliding‑window attention block in PyTorch, test it, and extend it with distributed training, mixed precision, and monitoring to showcase systems expertise.
A step-by-step NumPy guide to implementing Flash Attention with tiled multi-head self-attention and causal masking, perfect for a portfolio CV.
A practical guide to building a minimal transformer inference engine with KV cache, tokenizer, attention, and sampler. It demonstrates systems skills that hiring managers look for.