AI/ML Techniques

Identifying Token Costs Hiding in Your Agentic Loop

But cutting your runtime token burn is just the first problem.

2 months ago

Designing AI Agents That Can Self-Correct

With the vocabulary and the failure modes in place, here's the build.

2 months ago

7 Chunking Strategies That Decide Whether Your RAG Works

Day 100 in production isn't really about chunking strategies anymore.

2 months ago

Measuring Performance of Transformer Inference

This chapter is divided into eight parts; they are: • Metrics for LLM Inference • Measuring a Single Request •…

2 months ago

Static vs. Dynamic vs. Continuous Batching in LLM Inference

In this article, you will learn how static, dynamic, and continuous batching work in LLM inference, and why the differences…

2 months ago

Using a Transformer Model: From Training to Inference

This chapter is divided into four parts; they are: • Autoregressive Generation • Prefill and Decode • A Simple KV…

2 months ago

Decoding Strategies and Output Control

This chapter is divided into nine parts; they are: • Reading Logits from a Model • Greedy Decoding • Temperature…

2 months ago

The End-to-End Agentic AI Pipeline

In this article, you will learn the seven architectural components that separate a production-grade agentic AI system from a demo…

2 months ago

Ollama vs. LM Studio vs. llama.cpp: Which Local AI Runtime Should You Use in 2026?

In this article, you will learn how Ollama, LM Studio, and llama.cpp differ across the dimensions that matter most to…

3 months ago

From CUDA to MLX: How K-Search Brings Decades of Kernel Expertise to Apple Silicon

Figure 1: CUDA-to-MLX optimization translation map. CUDA optimization knowledge can be translated into architecture-native MLX strategies rather than copied instruction-for-instruction.…

3 months ago