Urgent.News

What's breaking now, across thousands of outlets.

AI

Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware

When attempting to run a large language model locally, two key issues often arise: ensuring the hardware can accommodate the model and its context, and accurately measuring the model's speed. These are distinct concerns requiring separate evaluation methods. To assess memory fit, one must calculate the storage requirements for the quantized model weights, the key-value cache for the desired context, and additional resources for the runtime, driver, and operating system.

For instance, a 70-billion parameter model in quantized format may consume around 40 GB of storage, leaving minimal headroom for other processes. Conversely, speed is a measured quantity, contingent upon specific factors such as hardware configuration, checkpoint version, quantization technique, runtime environment, context length, prompt parameters, concurrency settings, and the methodology used to generate the measurement.

A single stream's decode time does not represent the throughput of multiple concurrent requests. Consequently, vendor-provided numbers should be regarded as unverified unless all pertinent conditions are disclosed. Moreover, the choice of runtime significantly influences the model's feasibility and performance. CUDA, ROCm, Metal, Vulkan, CPU, and NPUs constitute distinct computational domains, each with unique capabilities and limitations.

For example, on Apple silicon devices, Metal eXtensions (MLX) serve as the primary framework, while NVIDIA servers may utilize vLLM or SGLang for optimal throughput. In heterogeneous systems combining CPU and GPU components, specialized offloading runtimes for mixture-of-experts architectures become necessary. When deploying models on Apple silicon, it is essential to consider the OpenAI-compatible endpoint provided by mlx-lm.

This server facilitates integration with existing OpenAI clients via HTTP requests but lacks robust security measures, making it unsuitable for production environments. Therefore, it should only be accessible locally, with appropriate authentication and network controls implemented to secure remote access. To facilitate informed decision-making, maintaining a comprehensive record of measurement conditions is crucial.

Documenting memory fit, practical context, actual speed, vendor specifications, and any unknown variables, along with clear citations to the original sources, enables accurate comparisons and avoids misleading interpretations. LocalForge serves as a reference framework for organizing this information, providing decision-makers with a structured approach to evaluating local model deployments without producing original benchmarks.

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

This story

This is one outlet's version. Read the fullest account.

Read the original at llmspeed.dev →

More in AI

Zetrix AI faces default risk over RM2b sukuk as deadline looms

ZETRIX AI Bhd faces the risk of payment default and potential liquidation if it fails to resolve breaches of its Sukuk Wakalah terms by Oct 22, with RM2.16 billion in outstanding coupon payments and…

  • Zetrix AI faces default risk over RM2b sukuk by October 22 deadline
  • RM164.5 million in coupon payments outstanding, RM2 billion in unpaid principal
  • Company seeks sukuk holders' consent to waive breaches or faces liquidation

More from Saturday 17 October →