A terminal displaying parsed GGUF tensor metadata with memory-mapped file visualization

Build a GGUF Parser and mmap-Based Tensor Loader: A Portfolio Project That Signals Real Systems Skill

Build a production-grade GGUF parser and mmap-based tensor loader with quantized dequantization and safetensors conversion. This hands-on guide shows real code, architecture decisions, and a roadmap from toy to production.

September 25, 2026 · 14 min · 2929 words · martinuke0
A stylized illustration of a memory-mapped file loading tensors.

Lazy GGUF/Safetensors Checkpoint Loader: A Hands-On Build Guide

A practical guide to building a lazy checkpoint loader that memory-maps GGUF and safetensors files, parses tensor metadata, and dequantizes on demand.

September 23, 2026 · 9 min · 1902 words · martinuke0
Python code on a laptop screen next to a model file

Hands‑On Build Guide: Pure‑Python Safetensors Parser & Weight Shard Assembler with mmap Lazy Loading

A step‑by‑step guide to creating a lightweight, mmap‑based safetensors parser you can ship, test, and extend for real‑world model serving.

September 16, 2026 · 7 min · 1452 words · martinuke0
Binary file format visualization representing GGUF and Safetensors tensor data

Build a Pure-Python GGUF and Safetensors Weight Loader

A hands-on guide to building a pure-Python gguf and safetensors weight loader from scratch. Parse binary headers, memory-map tensor data, and convert to numpy arrays for inference — with real runnable code and a roadmap to production-grade.

September 15, 2026 · 15 min · 3186 words · martinuke0
A circuit board with glowing data streams

From-Scratch GGUF Weight Loader with Blockwise Dequantization, mmap Streaming, and Safetensors Export

A practical guide to implementing a GGUF loader with blockwise dequantization and safetensors export, demonstrating low-level systems expertise.

September 12, 2026 · 9 min · 1768 words · martinuke0
Feedback