AI/ML Research

Prefix Caching and Prompt Reuse

Overview This post is divided into five parts; they are: • Reusing Prefill Work • Finding the Longest Cached Prefix…

1 week ago

Running 1-Bit LLMs Locally: A Practical Guide to BitNet Inference

Before running anything, it helps to know what Microsoft measured.

1 week ago

Speculative Decoding

Overview This post is divided into six parts; they are: • Draft and Verify • Sampling-Based Speculative Decoding • Assisted…

2 weeks ago

The Complete Guide to Embedding Models for Machine Learning

In this article, you will learn how embedding models differ, what they cost to run at scale, and how to…

2 weeks ago

How to Build Tool-Calling Local AI Agents in Python

In this article, you will learn how to build a local AI agent in Python that uses Ollama and Qwen3…

2 weeks ago

Decoding Policies in a Serving Engine

Overview This post is divided into six parts; they are: • Running Decoding Policies with vLLM • Sampling Filters and…

2 weeks ago

7 Ways AI Agents Fail in Production (and How to Catch Each One)

Three events that look alike need separate names.

2 weeks ago

Model Compression Beyond Quantization

Overview This post is divided into three parts; they are: • Pruning and Sparsity • Structured Pruning • Knowledge Distillation…

2 weeks ago

Visualizing Information Entropy in Language Models

In this article, you will learn how information entropy and cross-entropy loss connect classical information theory to the way large…

2 weeks ago