MTP and RAG — verified 2026-08-26

Two capabilities the owner has not yet used: MTP (performance) and RAG (retrieval). This document explains what each is and what the local setup already offers.

MTP — Multi-Token Prediction

What it is

Most models predict one next token per forward pass. An MTP (multi-token prediction) model has an extra head that predicts K next tokens in the same pass. Speculative decoding then verifies all K draft tokens in a single forward pass, so the model reads its weights once and emits up to K tokens. Inference on CPU is memory-bandwidth-bound (reading weights dominates), so MTP multiplies tokens per second nearly linearly on CPU hosts.

Local support

Action

RAG — Retrieval-Augmented Generation

What it is

RAG answers questions from a corpus of your documents instead of the model’s training data. A pipeline embeds the corpus (each chunk → a vector), and for each query retrieves the most similar chunks by vector distance, then injects those chunks into the prompt context. The model then answers grounded in the retrieved text, with citations to the source chunks.

What the local setup already offers

Boundaries

Action