Python code on a laptop screen with LLM concept art

A Hands-On Build Guide: Pure-Python From-Scratch LLM Decoding Engine

A step‑by‑step guide to building a pure‑Python LLM decoding engine from scratch, complete with runnable code, temperature, top‑k, top‑p, and typical sampling, perfect for a CV.

October 16, 2026 · 10 min · 2102 words · martinuke0
A sleek Python logo over a compressed text ribbon.

Dynamic Prompt Compression System with Learned Importance Scores

A hands‑on guide to building a from‑scratch prompt compression system that learns token importance and truncates context for fixed‑size LLM windows.

October 15, 2026 · 10 min · 1923 words · martinuke0
A sleek terminal showing a Python script scheduling LLM requests

Continuous Batching LLM Scheduler: Hands‑On Build Guide

A step‑by‑step guide to building a runnable continuous batching LLM scheduler that you can showcase on your CV, with architecture, code, testing, and extension ideas.

October 15, 2026 · 10 min · 2003 words · martinuke0
A diagram of a sampler pipeline

Building a Pure-Python Top-p/Top-k Sampler with Temperature Scaling for LLM Logits

This post walks through building a pure-Python top-p/top-k sampler with temperature scaling, providing runnable code and a roadmap for productionizing it.

October 14, 2026 · 7 min · 1299 words · martinuke0
A diagram of a lazy weight loader pipeline

Lazy Loading LLM Weights with Safetensors, Async Prefetch, and Checksum Verification

A practical guide to building a lazy weight loader for large LLMs using safetensors, async prefetch, and checksum verification.

October 12, 2026 · 7 min · 1355 words · martinuke0
Feedback