// TODO: I’m martinuke0

Welcome to my corner of the internet. This website is a personal blog which I use as a platform to document my learning journey and showcase it for the world to see.
A sleek Python code terminal showing a sampling engine script

A Unified Sampling Engine in Python: Temperature, Top‑k, Top‑p, Typical, and Epsilon‑Cutoff

A hands‑on guide to implementing a unified sampling engine that merges temperature, top‑k, top‑p, typical, and epsilon‑cutoff strategies, ready to run and extend for CV signals.

November 30, 2026 · 8 min · 1592 words · martinuke0
Python code with weight file icons

From-Scratch Safetensors & GGUF Weight Loader in Pure Python

A hands‑on guide to building a from‑scratch safetensors & GGUF weight loader in pure Python, using mmap zero‑copy views and on‑the‑fly Q4_K/Q5_K dequantization – a tangible project that signals low‑level ML systems competence.

November 30, 2026 · 8 min · 1644 words · martinuke0
FlashAttention kernel code on a laptop screen

Build a FlashAttention Kernel from Scratch in Pure Python

A step‑by‑step guide to implementing FlashAttention in pure Python, with runnable code and production‑ready extensions.

November 30, 2026 · 8 min · 1550 words · martinuke0
A laptop screen showing a NumPy quantizer code snippet.

From‑Scratch GPTQ int4/int8 Post‑Training Quantizer with Group‑Wise Scales and Hessian Error Compensation

A hands‑on NumPy implementation of GPTQ post‑training quantization with group‑wise scales and Hessian error compensation, ready to embed in any CV/ML portfolio.

November 30, 2026 · 9 min · 1855 words · martinuke0
Two-tier Redis cache architecture with write-behind invalidation

Designing a Two-Tier Redis Cache with Write-Behind Invalidation for Read-Heavy APIs

A deep dive into two-tier Redis caching with write‑behind invalidation, covering architecture, data flow, and production‑ready patterns.

November 29, 2026 · 7 min · 1349 words · martinuke0
Feedback