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
Short description of the cover image subject.

Deep Dive into CUDA Graphs for Efficient Kernel Launch Overhead Reduction

CUDA graphs reduce kernel launch overhead by batching operations. They can deliver up to 40% speedups in real-world inference pipelines.

September 14, 2026 · 5 min · 990 words · martinuke0
Illustration of a CPU core with SIMD lanes processing data.

Why Your Compiler Cannot Vectorize That Loop

A deep dive into the reasons behind failed auto‑vectorization and actionable steps to write loops the compiler can turn into SIMD.

May 15, 2026 · 8 min · 1681 words · martinuke0

How Modern Compilers Eliminate Branch Mispredictions Using Predication

Explore how compilers replace hard-to‑predict branches with predicated instructions, the underlying hardware mechanisms, and real‑world performance results.

May 15, 2026 · 8 min · 1563 words · martinuke0
Feedback