Diagram of a PyTorch training loop with gradient accumulation, mixed precision and LR scheduling

Hands‑On Guide: Gradient Accumulation, Mixed Precision & Cosine Warmup for a Stand‑Out CV Project

Learn how to combine gradient accumulation, mixed precision, and cosine warmup into a reproducible PyTorch training script that showcases production‑ready ML engineering skills.

October 28, 2026 · 7 min · 1294 words · martinuke0
PyTorch attention implementation on a laptop screen

Building a Causal Self-Attention Block from Scratch in PyTorch

Implement a memory-efficient, causal attention mechanism with a custom KV cache in under 100 lines of pure PyTorch code.

October 28, 2026 · 8 min · 1533 words · martinuke0
A stylized representation of neural network training with optimization algorithms.

Fused AdamW Optimizer: A Hands-On Build Guide for Your CV

Learn to implement a fused AdamW optimizer in PyTorch, showcasing your ability to build core ML infrastructure from the ground up.

October 27, 2026 · 7 min · 1416 words · martinuke0
Mini GPT training loop on a laptop

From-Scratch Mini GPT Training Loop with Gradient Checkpointing, Mixed Precision, and a Custom CUDA‑Style Optimizer

A hands‑on guide to training a tiny GPT model end‑to‑end with gradient checkpointing, FP16 mixed precision, and a hand‑rolled optimizer, perfect for a CV‑worthy portfolio.

October 9, 2026 · 12 min · 2453 words · martinuke0
LLVM pass manager architecture diagram

Inside LLVM's New Pass Manager: A Deep Dive into Its Architecture

Exploring LLVM’s new pass manager: architecture, design patterns, and how it transforms modern compiler optimization.

October 2, 2026 · 9 min · 1901 words · martinuke0
Feedback