Urgent.News

What's breaking now, across thousands of outlets.

AI

Why your local LLM feels dumber than it is

This post aims to demonstrate the impact of implementation-specific hazards on the performance of inference. The author will focus on the mathematical side of things, explaining that logits represent a model's scores for each possible next token. These scores are normalized into probabilities and passed through a sampler before being converted back into text.

The author cautions against getting misled by impossibly low KLD (Kullback-Leibler divergence) claims on quantized models, as they are meaningless without disclosing the reference checkpoints, runtime environment, evaluation text, calibration data, context lengths, sampled positions, KL direction, vocabulary truncation, and aggregation methods.

The post then delves into the various components of the inference flowchart, emphasizing that each step can be configured or changed based on the specific hardware, software, model, quantization, and tensor shape. The author provides an example using the Qwen3.6-27B model on an RTX PRO 6000 Blackwell GPU, with BF16 KV cache, no weight/activation or KV-cache quantization, and eager execution disabled. The workload used is a 100k-token context selected to resemble a local agent's actual work.

The post concludes by highlighting the importance of understanding the nuances of running LLMs on individual setups, as every configuration will result in some degree of divergence from the reference implementation's claims.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at forum.level1techs.com →

More in AI

Stop Blaming the LLM: Why Your AI Agents Keep Failing (And How to Fix Them)

I was staring at a broken Next.js and Express backend integration late at night, convinced my AI agent had lost its mind. It was supposed to be a straightforward n8n automation pipeline.

  • Author blames AI model intelligence, not infrastructure
  • Implements targeted retrieval, MCP servers, durable state, strict verification
  • Shift from prompt to harness engineering improves AI agent performance

How I Built Memory for a Local AI Companion Without Sending Chats to a Server

A chatbot can sound convincing for five minutes without remembering anything. Then you mention the job interview you were stressed about last week, the name of your dog, or a small detail from a…

  • Chat history and long-term memory separated for efficiency
  • SQLite database stores memories per character without merging
  • Vector embeddings enable semantic search for related memories

RAG explicado: cómo darle a un LLM tu propia información

Un modelo de lenguaje sabe mucho del mundo, pero no sabe nada de tu empresa : tus manuales, tus políticas, tus productos.

  • RAG technique allows LLMs to access and use specific company information
  • Indexes documents into numerical embeddings stored in vector databases
  • System prompt instructs model to use provided context for responses

More from Saturday 22 August →