Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

40+ results for “quantization”

Newest and most relevant first

Node graph engine that runs big diffusion models on 4GB VRAM

ComfyUI's asynchronous weight streaming lets large diffusion models run on 4GB VRAM, meaning practitioners with modest GPUs no longer need expensive hardware for local image, video and audio generation.

ComfyUI is a free, open-source program where you build AI image and video generation by connecting boxes on a diagram instead of writing code. Its standout trick is a memory-saving technique that lets it run the largest open-source models on a GPU with as little as 4GB of VRAM (graphics card memory) plus 8GB of system RAM. It supports many models, from Stable Diffusion 1.5 to Flux.2 and Wan 2.2, and runs on Windows, Linux and macOS.

ComfyUI lowers the hardware cost of local generative AI: its inference engine claims to run large models like Flux.2 and HunyuanVideo 1.5 on 4GB VRAM cards without giving up GPU speed, by streaming model weights and offloading memory. Teams gain reusable, shareable workflows, a simple app UI for non-technical users, and API endpoints for production pipelines. Competitors relying on large-VRAM setups or cloud inference face cheaper local alternatives.

ComfyUI is a node-graph inference engine using asynchronous weight streaming to run models exceeding local VRAM, claiming full GPU compute saturation at 4GB VRAM plus 8GB RAM. It adds asynchronous queueing, partial graph re-execution of changed nodes, VRAM/RAM management with model offloading, and quantized model support. Native support spans SDXL, SD3.5, Flux.1/2, Qwen Image, Wan 2.1/2.2, LTX-Video, CogVideoX, plus audio, 3D and text generation. No independent benchmarks are provided; claims come from the README.

GitHub Opensource Projects →

Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon

AMD developers running llama.cpp locally on Ryzen/Radeon GPUs can now compare prompt-processing and token-generation speeds across builds, models and quantizations on a public dashboard.

Hugging Face and AMD have launched a public dashboard showing how fast AI models run on AMD's Ryzen and Radeon chips using llama.cpp, a popular tool for running models on your own computer. It tracks two tests, reading a 512-token prompt (PP512) and generating 128 tokens (TG128), measured in tokens per second. You can pick hardware, model and software version to compare speed across file sizes and over time. It matters to anyone running AI locally on AMD hardware.

AMD and Hugging Face published a llama.cpp benchmark dashboard for Radeon 8060S and AI Pro R9700S hardware, showing local inference speed across builds, models and quantizations. It gives enterprises evaluating on-device AI on AMD GPUs a public, reproducible performance history instead of marketing numbers. Weekly automated workflows refresh the data; models include Qwen, Gemma, gpt-oss and LFM at quantizations from Q4_K_M to BF16.

The dashboard reads directly from the public ggml-org/install.sh-benches-data bucket on Hugging Face. Weekly GitHub Actions workflows on gfx1151 and gfx1201 run llama-bench on prebuilt binaries from llama-install.sh, with Flash Attention on and off and 10 repetitions per configuration. Metrics are mean throughput (avg_ts) for PP512 and TG128, both at n_depth=0, plus a Context scaling tab tracking TG throughput as context grows. Workload sweeps use <quant>-tg.jsonl filenames; results follow <build>/<hardware>/<model>/<quant>.jsonl paths.

Huggingface Blog →

How to Optimize NVFP4 Attention on NVIDIA RTX Blackwell Through Register Recycling

Engineers serving video or world models on RTX Blackwell GPUs can get up to 1.64x faster attention and 15.34% lower end-to-end latency by pulling a merged FlashInfer kernel.

NVIDIA published a tutorial on making the attention step of AI video generation faster on its RTX Blackwell gaming and workstation GPUs. The trick is 'register recycling': reusing the GPU's scratch memory for the next calculation while the current one finishes, so the chip never sits idle. This made the attention kernel up to 1.64x faster, and the company Reactor cut real video-model response times by up to 15.34% using it in production.

Companies serving video-generation and world models on NVIDIA RTX PRO 6000 Blackwell hardware can cut inference latency meaningfully at no hardware cost. Reactor reports up to 15.34% end-to-end latency reduction across LongLive, Helios, OmniDreams, and Cosmos 3 Nano workloads, with the core kernel up to 1.64x faster. The optimization is already merged into the open-source FlashInfer library, so adoption requires an upgrade rather than a purchase decision. Teams on data-center Blackwell GPUs gain less, since the technique targets SM120 specifically.

SageAttention3's original SM120 CTA (4 producer, 8 consumer warps) runs QK, softmax/quantization, and PV serially per N128 tile, leaving Tensor Cores idle and consuming 62,464 registers (95.3% of capacity), leaving no room for a second score buffer. The optimization splits each N128 score tile into two N64 slots and reuses score registers after NVFP4 quantization to compute the next tile's QK, overlapping MMA with remaining softmax and PV work. Kernel latency improved up to 1.64x (Synthetic 8,192 causal); Reactor saw up to 15.34% end-to-end reduction. The kernel is merged into FlashInfer main; timings exclude Q/K/V quantization.

NVIDIA Developer Blog →

Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

Anyone self-hosting Inkling 2 Mini on an RTX PRO 6000 can copy the published vLLM config to get 40% faster single-user decoding for free.

Hugging Face ran a coding agent that automatically tuned how a new open-source AI model, Inkling 2 Mini, is served on one NVIDIA RTX PRO 6000 graphics card. By switching to the vLLM serving engine with speculative decoding (a technique where a small helper model predicts tokens that a larger model checks), single-user speed rose from 136 to 190.6 tokens per second, 40% faster. The agent changed one setting at a time, kept only proven wins, and published every script and log. This matters to people running AI models on their own hardware, and the whole recipe is free to copy.

Hugging Face shows that an autonomous agent, given a benchmark script and access to Hugging Face Jobs ($2.75/hour for the matching GPU), can outperform hand-tuned inference configs: it raised single-user decode 40% to 190.6 tok/s and 8-user throughput 26% to 716 tok/s for Inkling 2 Mini on an RTX PRO 6000, beating a community benchmark of 167.7 tok/s. The winning setup now serves as a paid Inference Endpoint, and all artifacts are public. Teams running self-hosted models can adopt the recipe or adopt the agent-driven tuning process itself.

Inkling 2 Mini is a looped MoE (~26B parameters, 3B active) whose middle 12 of 24 layers run three times, so each token makes 48 layer visits, limiting decode bandwidth to ~256 tok/s on the RTX PRO 6000 (1,469 GB/s measured). Switching SGLang to vLLM nightly gave +15%; adding the bundled DSpark drafter with num_speculative_tokens 7 and probabilistic draft sampling gave +21%, with ~2.3 tokens accepted per step. At 190.6 tok/s the setup hits ~95% of the speculative-decoding bandwidth ceiling (~201 tok/s) because verifying 8 positions activates ~40% of each layer's experts. Required --max-model-len 262144 and --gpu-memory-utilization 0.85 to avoid KV-cache and drafter OOM; greedy outputs are byte-identical and needle retrieval passed at 250K tokens.

Huggingface Blog →

Welcome Inkling 2 Mini, Cutting-edge Performance for your Local Setup

Thinking Machines Lab shipped a small multimodal MoE model that loops layers three times, giving local users near-Qwen3.8-27B quality with 3B active parameters.

Thinking Machines Lab released Inkling 2 Mini, an AI model you can run on your own computer. It handles both text and images, and reads up to a million tokens at once. Its trick: a set of internal layers is 'looped' through three times, so a smaller model behaves like a bigger one. In the company's own informal tests it performs at least as well as a popular competitor, Qwen3.8-27B.

Thinking Machines Lab launched Inkling 2 Mini, a local-run multimodal model with about 26B total and 3B active parameters per token. In its benchmarks it leads Qwen3.8-27B and Gemma 4 31B on 32 of 48 tests, though the company admits more validation is needed. Day-one support spans transformers, llama.cpp, MLX and SGLang. It pressures the local-model market and any vendor selling small on-device assistants.

Inkling 2 Mini is a 24-layer MoE whose middle 12 layers execute three times with shared weights, acting like 48 logical layers; cross-pass messages with learned gates refine each pass. It routes to 8 of 128 SwiGLU experts, uses 5 sliding-window (1,024-token) plus 1 full-attention layer per block, and ships NVFP4/MXFP4/MXFP8 weights plus a DSpark drafting model. A research checkpoint supports variable loop counts (1-2 passes) for faster, lower-quality inference.

Huggingface Blog →

A 125B model on a 12 GB GPU, running locally

Linger's PolyStrata engine runs a 125B model on a 12 GB GPU by offloading experts to RAM/SSD, making local 'Claude-class' agents practical without datacenter hardware.

Linger is a free, open-source AI agent you run on your own computer, built around a large 125-billion-parameter model called Qwen3.8-Flash-Next. Normally such a big model needs a graphics card far more powerful than the RTX 5090, but Linger's engine, PolyStrata, keeps only the most-used parts of the model on the GPU and parks the rest in regular memory or disk. The result: it runs on an ordinary 12 GB RTX 3060 at 45.5 tokens per second. Anyone with a 12 GB GPU and 64 GB of RAM can use it with no per-token fees and no data leaving their machine.

Linger (open source, from SimplexAI Labs) lets teams run a 125B model, Qwen3.8-Flash-Next, on a 12 GB RTX 3060 with 64 GB RAM, eliminating per-token API costs and keeping sensitive data on-device. For businesses building agents that make many model calls, the economics shift from cloud billing to a one-time hardware requirement. Cloud inference providers lose some differentiation; privacy-conscious users gain a workable local option. Docs live at docs.heylinger.com; the repo is on GitHub.

Linger runs Qwen3.8-Flash-Next (125B, 39 GB at 2-bit quantization) via PolyStrata, a mixture-of-experts engine that tier-places experts across GPU, RAM, and SSD; a per-token router activates a few experts, with hot experts migrating to GPU. Benchmark: 45.5 tokens/s on a 12 GB RTX 3060 with 64 GB RAM. It ships as a full agent with shared memory across mail/chats/meetings, agent-team assembly, and approval-gated actions (e.g. email send). Install commands are not in the truncated README; docs.heylinger.com and docs/local-inference.md cover setup.

GitHub Opensource Projects →

180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers

A Hugging Face PR lets huge mixture-of-experts models stream experts from disk, so a 180B-parameter model can run on a 32GB Mac within 6% of the fastest engine.

A Hugging Face engineer figured out how to run a very large AI model (Qwen3.8-Flash-Next, 180 billion parameters) on an ordinary laptop with only 32GB of memory. Large 'mixture-of-experts' models are mostly made of pieces called experts, and only a few are needed per word generated. Instead of keeping everything in memory, his code fetches just the needed experts from the laptop's disk as required. It reaches about 14 tokens per second, only 6% slower than the best specialized tool, and the work is being added to the popular Transformers library.

Running large open models locally usually means buying expensive hardware or accepting slow speeds. This engineer's work, submitted as a Transformers pull request (huggingface/transformers#50717), streams a 180B model's experts from a 32GB Mac's disk at ~14 tok/s, within 6% of the Strata inference engine. It needed model-specific 3-bit expert quantization (~5 hours conversion) and Metal kernels, so it is not turnkey yet. Teams wanting local AI on consumer hardware should watch the API discussion, but Strata and MLX remain faster or simpler options today.

The author benchmarked MoE offloading in llama.cpp (mmap, CPU compute, page-cache thrash when experts exceed RAM), vLLM (--cpu-offload-gb, 2x faster when offloading experts only), and Transformers' per-module Accelerate hooks, then built expert streaming: a preallocated slot-pool tensor keyed by a per-layer expert-id-to-slot table so grouped_mm runs unmodified, plus 8 I/O threads, next-layer router prefetch, 3-bit quantized experts (49GB on disk, 12GiB cached), 8-bit dense weights, and Metal kernels for Gated DeltaNet and hyper-connections. Result on M5: ~14 tok/s decode, 228 tok/s prefill, ~6% behind Strata; bottleneck is ~10ms/token host round trips PyTorch MPS cannot hide.

Huggingface Blog →

When One GPU Isn’t Enough: Serving GLM-5.3 Across Two NVIDIA DGX Stations with vLLM

Frontier-scale models like GLM-5.3 can now be served locally on two workstation-class machines, removing dependence on datacenter clusters for large-model inference.

NVIDIA published a guide for running a very large AI model, GLM-5.3, which needs 464 GB of memory, too much for one computer's graphics card, which holds only 252 GB. The guide shows how to split the model across two connected desktop-size AI computers so each holds half. Users get a standard API endpoint, meaning ordinary software can talk to it. Throughput peaked at about 608 tokens per second under moderate load.

This tutorial demonstrates that a 753-billion-parameter model can now be self-hosted on two NVIDIA DGX Stations rather than a datacenter server rack, cutting the hardware footprint for on-premises AI. The tradeoff: benchmark performance dropped from 608 to 385 tokens per second as concurrent users doubled, with request latency averaging 453 seconds at high load. Organizations wanting local AI deployment gain a working recipe; those with modest workloads avoid this cost entirely.

The recipe serves GLM-5.3 NVFP4 (753B MoE, 40B active) with vLLM using tensor parallelism TP=2 across two GB300 DGX Stations linked via ConnectX-8 RDMA (RoCE, two rails, jumbo frames). Enablers include FP8 KV-cache, prefix caching, and MTP speculative decoding drafting four tokens per step. AIPerf on SPEED-Bench Coding peaked at 607.8 tokens/s at concurrency 16, degrading to 385.0 tokens/s with 453.5 s mean latency at concurrency 32. Constraints: 464 GB checkpoint per Station, NCCL 2.30.7 required to avoid cross-node CUDA graph deadlocks.

NVIDIA Developer Blog →

Token Pooling-Aware Training for Multi-Vector Embedding Models

Reduces storage needs for search systems by 75% without major accuracy drop, offering cost savings and efficiency gains for AI-driven search platforms.

This research shows how to make search engines faster by reducing the number of data points stored while keeping results accurate, using a method that adjusts how data is grouped.

Reduces storage needs for search systems by 75% without major accuracy drop, offering cost savings and efficiency gains for AI-driven search platforms.

Uses hierarchical clustering to compress vectors, achieving 97.8% nDCG retention with 4x fewer vectors, leveraging MaxSim scoring and pooling-aware training.

Huggingface Blog →

Speed Up Image Generation with FLUX 3 Image Klein on NVIDIA Blackwell GPUs

Developers serving high-resolution image generation can cut FLUX 3 Image Klein latency up to 4.45x on NVIDIA Blackwell GPUs today using documented TensorRT LLM VisualGen configurations, quality trade-offs included.

Black Forest Labs' FLUX 3 Image Klein is an AI model that generates or edits images, like turning a text description into a picture. NVIDIA shows how to run it much faster on its latest Blackwell chips using compression and shortcuts that keep output quality mostly intact, one image that took 22 seconds now takes about 6.5. This matters to teams building image tools, since faster generation means lower serving costs and snappier products. All the speed tricks require NVIDIA hardware.

NVIDIA published a deployment guide showing FLUX 3 Image Klein (Base and distilled) running up to 3.46x faster for text-to-image and 4.45x for image editing at 2048x2048 on a single B200, versus uncompiled BF16. Teams serving image generation on Blackwell hardware can cut latency and cost immediately; the optimizations are hardware-specific, so non-NVIDIA deployments gain nothing. A container and YAML configs are available via TensorRT LLM's GitHub.

TensorRT LLM VisualGen runs FLUX 3 Image Klein (Qwen3-VL-4B text conditioning + DiT + autoencoder) with NVFP4 quantization, FlashInfer PrimsTS GEMMs, VC-Attention FP8 (1.18x, LPIPS 0.086), Sol-Attention sparse attention (1.30x), and Cache-DiT caching (1.94x). Combined: 3.46x T2I and 4.45x I2I speedups on one B200 at 2048x2048. Eight-GPU CFG/Ulysses parallelism cuts Base median latency from 14.90s to 3.00s; denoising speedups of 6.01x are diluted by non-denoising overhead.

NVIDIA Developer Blog →

Build World Models for Interactive Simulation with NVIDIA Cosmos

Physical AI developers can now run NVIDIA's Cosmos world models today on released checkpoints, generating synchronized camera and LiDAR simulation data for AV, robotics, and surgical applications.

NVIDIA has released Cosmos, a set of AI models that simulate what a camera or laser sensor would see in imaginary scenarios. Developers can generate fake driving footage and sensor readings to test self-driving cars and robots without real-world trials. The article gives hands-on commands and released checkpoints that developers can download and run now.

NVIDIA is positioning Cosmos as the development platform for physical AI, autonomous vehicles, robots, and surgical systems. Released Cosmos 3 Nano checkpoints run today on Hopper and Blackwell GPUs, and NIM microservices deliver 2-3x inference speedups on H200s, cutting simulation costs. Competing simulation vendors face pressure from NVIDIA's open framework, which supports LoRA fine-tuning and RL pipelines.

Cosmos Framework provides training recipes (LoRA, SFT), RL pipelines (DPO, GRPO, PPO, OPD, DiffusionNFT), and agent skills, extending to Alpamayo, GR00T, Qwen, and pi0.5. Cosmos3-Nano-Transfer-Auto generates seven 720p RGB videos plus 99 LiDAR sweeps from World Scenario Maps on 4 GPUs; Sim-Auto is the few-step-distilled causal variant for closed-loop rollouts. Cosmos3-Nano generation needs 58 GiB BF16 or 44 GiB FP8 with offloading. NIM adds quantization and speculative decoding (~2-3x on H200).

NVIDIA Developer Blog →

Kimi K3 Architecture Explained: How a 2.8T Model Runs Efficiently

Moonshot's 2.8T-parameter Kimi K3 shows how open-weight MoE models can undercut closed providers on cost per token, so engineers building inference systems gain a concrete hybrid-attention blueprint.

Moonshot's Kimi K3 is a very large AI model with 2.8 trillion parameters, but only about 104 billion are used for each word it generates. The article explains how it stays cheap: instead of checking every previous word (which gets expensive fast), it keeps a small fixed-size memory that forgets unimportant details row by row. It also stores the model compressed to 4-bit precision across many linked GPUs. This matters because it lets a free, openly available model compete with expensive ones like Claude.

Kimi K3, a 2.8-trillion-parameter open model from Moonshot, costs over 3x less per token than Claude Fable 5 at list prices while scoring just three points behind Claude Opus 5.5 on the Artificial Analysis index. The article explains the cost mechanisms: only 104B parameters activate per token, KV cache shrinks up to 75%, and 4-bit MXFP4 quantization fits the model in one 8-GPU DGX B300 node. Buyers of frontier AI may gain a cheaper open alternative; closed providers face pricing pressure.

Kimi K3 (2.8T params, 896 routed experts, 104B active) interleaves Kimi Delta Attention layers with Gated MLA full-attention layers in a 3:1 ratio, eliminating KV cache for 3 of 4 layers and cutting time per output token from 11.48ms to 1.84ms at 1M context. KDA extends Gated DeltaNet with per-channel decay gates (Diag(α)), fixing uniform forgetting. Weights at MXFP4 take ~1.4TB, requiring an NVL72-scale system. The Kimi Linear 48B ablation beat MLA on MMLU-Pro (51.0 vs 47.2).

Analytics Vidhya Gen AI Blog →

3 Ways to Boost MoE Inference on NVIDIA DGX Spark

Engineers running MoE models on DGX Spark can cut decode latency by ~24.5% using documented, deployable kernel, quantization and speculative-decoding configs, with a silent-fallback trap to avoid.

NVIDIA tested ways to make a large open AI model, Ling-3.0-flash, answer faster on its small desktop AI computer, DGX Spark. The model is a 'mixture-of-experts' type, meaning only 5.1 billion of its 124 billion parameters are used per token. Three tweaks, faster kernels, shrinking one weight layer, and drafting several words at once, sped up real question-answering by 42.5% without hurting accuracy.

Anyone deploying Ling-3.0-flash on DGX Spark can raise decode throughput 42.5% and cut mean latency 24.5% at no accuracy cost, using freely documented configs. The headline 185% gain came only from an artificial workload and does not generalize. A critical deployment risk: combining optimizations silently degrades performance below baseline unless the draft model shares the full LM-head module, so teams must validate configs at startup.

Profiling Ling-3.0-flash (124B params, 5.1B active, MoE) on DGX Spark showed memory-bound decoding dominated by MoE and LM-head reads. Swapping FlashInfer's MXFP4 MoE backend for Humming's NVRTC-compiled kernels gives +9.3% TPOT; online FP8 quantization of the BF16 LM head yields +21.7% cumulative; NEXTN MTP speculative decoding (3 draft steps, 2.26 verification-cost ratio) hit 3.90 accept length and +185.1% on synthetic data. On full GSM8K (1,319 questions), combined gains were +42.5% throughput, −24.5% latency; FP8 LM-head + MTP breaks NEXTN draft weight sharing unless the full module is shared, silently dropping accept length to 1.00.

NVIDIA Developer Blog →

LLM Inference Explained: How Models Generate Responses Faster

Explains why token generation slows down and how tools like vLLM, PagedAttention and quantization fix it, letting developers cut serving costs and latency.

This is a tutorial explaining how language models like ChatGPT produce answers word by word, and why that process can be slow. It breaks the work into two phases: first processing your question in parallel, then generating each output token one at a time using a memory store called a KV cache. It then shows how tricks like splitting work across GPUs and smarter memory management speed things up. Readers can follow a step-by-step benchmarking exercise using free software called Ollama on their own computer.

Inference cost and speed, not model quality, often decide whether an AI product is viable at scale. This piece explains the two bottlenecks, compute-heavy prompt processing and memory-bandwidth-bound token generation, and the fixes that matter commercially: quantization to fit models on cheaper hardware, continuous batching and PagedAttention (from vLLM) to serve more users per GPU. No pricing, vendor comparisons or benchmark figures are given, so treat it as background for capacity planning rather than a buying guide.

The article separates prefill (parallel, compute-bound, measured as TTFT) from decode (sequential, memory-bandwidth-bound, measured as TPOT), with the KV cache trading recomputation for growing VRAM use. Optimizations covered include quantization (an 8B model drops from roughly 16GB at FP16 to 4GB at INT4), FlashAttention's tiled IO-aware attention, continuous batching, PagedAttention, tensor parallelism and speculative decoding. A hands-on lab benchmarks Ollama via its local API using prompt_eval_count and eval_duration fields. No actual benchmark results are reported.

Analytics Vidhya Gen AI Blog →

TTS, STT, and music generation on Apple Silicon with MLX

Apple Silicon developers now run audio models locally without CUDA workarounds.

A new tool lets Mac users run speech and music AI models directly on their computers without needing special software.

Apple Silicon users gain local audio AI tools, reducing reliance on cloud or NVIDIA GPUs.

MLX-Audio runs TTS, STT, and music models natively on Apple Silicon with quantization support and a Python API.

GitHub Opensource Projects →

The Number Your Quantization Gate Doesn't Have

Quantization methods lack a standard metric, creating confusion for model optimization practitioners.

A blog post points out that quantization techniques don't use a common measurement, making it hard to compare their effectiveness.

Lack of standard metrics in quantization hinders efficient model optimization and creates inefficiencies in AI development.

Quantization methods lack a threshold-dependent metric, complicating evaluation and comparison of model compression techniques.

Towards Data Science Blog →

Faster Scientific Image Analysis with NVIDIA cuPhoton

GPU-native image pipelines let high-throughput scientific facilities like the Rubin Observatory meet alert deadlines that CPU-based processing cannot, collapsing months of analysis into minutes.

NVIDIA released cuPhoton, an open-source toolkit that runs scientific image analysis entirely on graphics cards instead of regular computer processors. It loads, aligns, and analyzes telescope images directly on the GPU, avoiding slow transfers between devices. On test workloads it sped up image loading by up to 14,900x over an x86 CPU baseline. This matters for observatories like the Vera C. Rubin Observatory, which generates 20 terabytes of nightly images.

NVIDIA's open-source cuPhoton toolkit addresses a cost and capability problem for data-intensive science facilities: CPU pipelines can take months to process what instruments produce in seconds. It achieves up to 14,900x faster image loading on GB200 NVL72 hardware, letting Rubin Observatory classify 10 million nightly candidates within a 60-120 second window. Organizations running CPU-bound imaging pipelines lose time-to-insight; those adopting GPU infrastructure gain the ability to process petabyte-scale datasets interactively.

cuPhoton v0.1.3 (Python 3.12-3.14, CUDA 13, Linux) provides GPU-resident modules: xDataReader (FITS loading via KvikIO, GPUDirect Storage, nvCOMP GZIP decompression), xRep (Lanczos-3 reprojection), xPois (PSF matching/subtraction), xFit (dipole fitting), xScan, and xRay. On GB200 NVL72 vs x86 CPU: loading up to 14,900x, signal processing up to 14,550x, per-operation, not end-to-end. Scales multi-GPU/multi-node on Grace Blackwell and Vera Rubin. No Rice compression or dithered float quantization support.

NVIDIA Developer Blog →

Build Local AI Apps with C++ and NVIDIA TensorRT RTX Samples

Developers building native C++ apps with local AI inference get a working open-source codebase and benchmarks showing GPU acceleration up to 206x real time on RTX hardware.

NVIDIA has released an open-source collection of C++ code samples called DIN Deploy that helps programmers run AI models directly inside their own desktop applications on Windows and Linux, rather than relying on cloud services. The samples cover tasks like speech transcription (Whisper and Parakeet TDT), image cutting-out (Meta's SAM 2.1) and image generation (FLUX.2-klein-4B). On NVIDIA's DGX Spark machine, the Parakeet speech model ran 206 times faster than real time on the GPU versus 14x on CPU. It matters mainly to developers shipping apps with built-in AI.

NVIDIA's DIN Deploy open-source samples lower the engineering cost of shipping AI features inside native Windows and Linux applications, using a portable model format (ONNX) plus NVIDIA's TensorRT RTX acceleration. Benchmarks on DGX Spark show meaningful gains: the Parakeet ASR model ran 206x real time on GPU versus 14x on CPU, and SAM 2.1 segmentation hit 38.3 FPS on GPU versus 0.5 FPS on CPU. Vendors of local AI applications gain a head start; teams tied to cloud inference or non-NVIDIA accelerators see less benefit. Quantized models drop in without code changes.

DIN Deploy separates model export (Python scripts converting Hugging Face checkpoints to ONNX) from a C++ CLI built on ONNX Runtime session and tensor APIs, with the TensorRT RTX execution provider providing GPU acceleration; vendor-specific CUDA code appears only in optional paths. Samples cover Whisper, Parakeet TDT, Nemotron ASR Streaming, SAM 2.1 and FLUX.2-klein-4B, with CMake presets for Windows/Linux x86-64 and Arm64 (DirectX Windows-only). DGX Spark results: Nemotron ASR 39.01x vs 3.24x CPU real time; Parakeet TDT 206.41x vs 14.44x; SAM 2.1 38.3 vs 0.5 FPS. FLUX.2 uses ORT 1.25 Vulkan/DirectX graphics interop and Model Optimizer PTQ yields a drop-in quantized ONNX model.

NVIDIA Developer Blog →

MobiAgent: a systematic framework for customizable mobile agents

Developers building mobile AI agents can now get the model, runtime, benchmark and on-device inference stack from one open-source project instead of assembling pieces themselves.

MobiAgent is a free, open-source toolkit from the IPADS-SAI team for building AI helpers that operate a phone by tapping its screen, like a person would. Unlike most projects that only give you a model, it bundles three parts: the MobiMind model family, an acceleration framework called AgentRR, and a benchmark called MobiFlow. Its latest update lets everything run directly on the phone itself, on both Android and HarmonyOS devices, so no data is sent to the cloud.

For teams building mobile agent products, MobiAgent is a credible open-source alternative to stitching together separate model, evaluation and deployment pieces. Its December 2025 push to pure on-device inference on Android and HarmonyOS removes cloud round-trip latency and data exposure from every screen interaction. The cost is a large surface area to learn; a developer wanting a simple drop-in agent may find the framework oversized.

MobiAgent (IPADS-SAI, open-sourced August 2025) ships MobiMind model variants including MobiMind-Reasoning-4B and quantized MobiMind-1.5-2B-W8A8 for constrained hardware, plus AgentRR acceleration and the MobiFlow benchmark. A unified runner configures MobiAgent, UI-TARS, AutoGLM, Qwen-VL or Gemini with one click. Memory spans experience memory, user profiles via Mem0/GraphRAG, and a MobiMem paper; MobiInfer targets on-device Android/HarmonyOS inference. No benchmark numbers are provided in the article.

GitHub Opensource Projects →

Transformers now runs llama.cpp quants

Developers can now run llama.cpp-quantized GGUF checkpoints directly through transformers' Python API at near-llama.cpp speeds on Apple Silicon, removing the need to switch runtimes for local inference or fine-tuning.

Hugging Face's transformers software can now load GGUF files, the compressed model format used by tools like Ollama to run AI models on laptops. These files shrink models to fit a machine's memory by storing weights at lower precision, such as 4-bit. Previously you needed a separate program to run them; now the familiar Python tools handle it directly. Performance on a MacBook Pro M2 Max is close to llama.cpp's dedicated engine.

Hugging Face has closed a practical gap: GGUF checkpoints, the quantized format behind Ollama and LM Studio, now run in transformers with performance measured near llama.cpp on a MacBook Pro M2 Max (32 GB). Teams get one checkpoint usable for local serving via an OpenAI-compatible API, evaluation, and fine-tuning in PyTorch. Risk: the packed path is Metal-only and currently supports Qwen3.5 architectures, so cross-platform coverage is limited.

transformers now loads GGUF checkpoints by reusing ggml's Metal kernels via the kernels library: quantized matmul, fused zero-centered RMSNorm, flash attention, gated delta network acceleration, and a custom top-k MoE routing kernel. Generation-loop optimizations (#48814 mask removal, #47976 async stopping check) help all models. Benchmarks on an M2 Max show throughput close to llama-bench's tg128, though transformers includes prefill. Limitations: packed inference is MPS-only, currently covers Qwen3.5 dense and MoE, and padded batching is unsupported.

Huggingface Blog →

Pruning LLMs Like a Physicist: Block Removal as an Ising Optimization Problem

Pruning whole transformer blocks is reframed as a physics-style optimization problem, yielding ~23-point MMLU gains on Llama-3.3-70B at 50% depth versus the best existing method, with open-source code.

Researchers at Multiverse found a better way to shrink large language models by deleting entire layers. Instead of judging each layer separately, they treat the choice like a physics puzzle where layers affect each other. On Llama-3.3-70B, cut in half, their approach scores almost 23 points higher on a knowledge test than the best rival method. Faster, cheaper AI with less quality loss benefits anyone running these models.

Multiverse's method cuts transformer blocks from models like Llama-3.3-70B while preserving quality far better than existing techniques: at 50% depth it holds MMLU near 77 versus the mid-50s for the strongest baseline. Block removal stacks with quantization and other compression, giving predictable speed and memory savings. The code is open source, so teams compressing deployed models can adopt it now; deep-compression use cases gain most.

Block selection is cast as constrained binary optimization via a second-order Taylor expansion whose Hessian supplies pairwise couplings, mapping onto an Ising glass with fixed magnetization. The Hessian is computed once on a small calibration set; configurations are evaluated by cheap energy calculations, solved by brute force or a tabu solver. At 40/80 blocks removed from Llama-3.3-70B-Instruct, CBO beats block influence by ~23 MMLU points; low-energy excited states sometimes outperform the ground state after retraining.

Huggingface Blog →

Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint

Prism's ternary-compressed 27B model runs locally on a Mac from a ~6 GB file, but only on Prism's llama.cpp fork, not mainline llama.cpp.

A company called Prism ML has released Bonsai 2 27B, a 27-billion-parameter language model compressed using ternary methods into a roughly 5.95 GB file. Willison ran it on his MacBook at around 20-44 tokens per second, meaning a large capable model now fits on ordinary consumer hardware. Anyone can download the model files from Hugging Face today. The catch: you must use Prism's custom version of llama.cpp, not the standard one.

Prism ML's Bonsai 2 27B claims near-lossless quality at one-ninth the expected footprint via ternary compression, and it is downloadable now from Hugging Face as GGUF files. This strengthens the case for running capable local models on consumer Macs instead of paying cloud inference costs. The practical risk is ecosystem lock-in: it requires Prism's llama.cpp fork, and Willison saw a Metal tensor-API warning suggesting the software is still rough. Watch whether mainline llama.cpp adopts support.

Willison documents running Ternary-Bonsai-2-27B-PTQ1_0.gguf (~5.95 GB) with Prism's llama.cpp fork (release prism-b10685-7dffb15), serving via llama-server on port 8331 with -ngl 99, -fa on, 32K context. Throughput was ~20 tokens/second on an M5 Pro, briefly 44 after restart. Startup logged 'ggml_metal_device_init: the tensor API is not supported in this environment', indicating the Metal path isn't working correctly. No accuracy benchmarks are given beyond the headline 'near-lossless' claim.

Simon Willison’s Weblog →

Vector similarity search inside Postgres, with ACID and JOINs

Teams with embeddings next to relational data can drop a separate vector database and its sync pipeline entirely, querying similarity with JOINs in plain SQL.

pgvector is a free add-on, version 0.8.6, that lets the popular database Postgres store and search 'embeddings', number lists that represent the meaning of text or images so similar things sit close together. Normally companies must run a separate vector database and keep copies of data synchronized between systems. With pgvector, the embeddings live beside the ordinary data, so one query can both find similar items and filter by user or date. It suits most teams; very large deployments with billions of vectors may still need specialized systems.

pgvector trades some raw search speed for eliminating an entire vector-database service, its sync pipeline and its operational overhead. Because it runs inside Postgres, vectors inherit ACID compliance and point-in-time recovery, and similarity searches can JOIN against existing tables, removing glue code. Teams already on Postgres gain the most; shops running billions of vectors with nothing else should examine scaling and quantization before committing.

pgvector v0.8.6 is a Postgres extension (Postgres 13+) supporting exact and approximate nearest-neighbor search over vector, halfvec, binary and sparse vector types, with L2, inner product, cosine, L1, Hamming and Jaccard distance operators (<->, <#>, <=>, <+>). Inner product returns negated values because Postgres only supports ascending index scans. Quantization is the documented scaling path, and the article admits pgvector is not the fastest dedicated vector database. No benchmark numbers are given.

GitHub Opensource Projects →

TensorRT Edge-LLM Completes the MLPerf Edge Agentic Benchmark 6.4x Faster on Jetson AGX Thor

NVIDIA's TensorRT Edge-LLM stack makes running a 27B agentic model on a single Jetson device 6.4x faster, putting real agent workloads at the edge within reach.

NVIDIA showed how a single Jetson AGX Thor developer computer can run a large AI model called Qwen3.6-27B as an agent that calls tools in a long conversation. In an industry test called MLPerf Edge Agentic, it finished 1,007 turns in 24 minutes and 36 seconds, 6.4x faster than the standard llama.cpp software, which took 2 hours and 37 minutes. This matters for putting AI agents in cars, robots and other devices instead of cloud data centers.

NVIDIA demonstrated Qwen3.6-27B running agentic tool-calling on one Jetson AGX Thor, completing the MLPerf v6.1 Edge Agentic workload in 24 minutes 36 seconds versus 2 hours 37 minutes for the llama.cpp reference, a 6.4x gain. The stack is publicly reproducible: the code branch and calibrated NVFP4 checkpoint are downloadable. Teams building on-device agents for vehicles or robots gain a practical edge-inference option and a benchmark to compare against.

TensorRT Edge-LLM ran Qwen3.6-27B on one Jetson AGX Thor (128 GB unified memory, MAXN mode) at 52.33 tokens/second on MLPerf Inference v6.1 Edge Agentic. It uses NVFP4 weights and activations, FP8 KV cache, and served ~96% of 13.6M prompt tokens from hot KV cache and recurrent-state reuse. Tree-based multi-token prediction (8 draft steps, top-2, 16-node tree) gave ~40% decoding gain over 3-step linear MTP for function calling. Accuracy phase uses BFCL v4.

NVIDIA Developer Blog →

Dense vs. MoE Models: Active Parameters, Throughput, and When to Choose Each

Architectural choice, not raw parameter count, now determines LLM serving cost and speed - Nemotron 3.5 Lightning runs 5-14x faster per dollar than same-size dense models.

NVIDIA explains the difference between two ways of building large AI models. Dense models, like Gemma 4 31B, use every parameter for every request. Mixture-of-Experts models, like NVIDIA's Nemotron 3.5 Lightning, keep all 30 billion parameters in memory but use only 3 billion per token, making them much faster to run. Developers choosing models should weigh speed against simplicity and fine-tuning ease.

At equal size (~30B parameters), Nemotron 3.5 Lightning serves 235-494 tokens/sec versus Gemma 4 31B's 37-222, at $0.22/M output tokens versus $0.40. The catch: it scores 24 on the Artificial Analysis Intelligence Index versus Gemma's 30, and VRAM costs track total, not active, parameters (~60 GB either way). Choose MoE for high-volume agentic workloads; choose dense when one hard reasoning pass or heavy fine-tuning decides the outcome.

MoE replaces each dense FFN with multiple expert FFNs; a learned router picks the top k per token per layer, while attention and embeddings stay active, hence Lightning's 3B active of 30B. VRAM holds all experts (~60 GB BF16, ~20 GB at 4-bit), decoupling memory from per-token FLOPs. Lightning's Mamba-2 hybrid and speculative decoding also boost throughput. Limitations: routing costs narrow the advantage at high concurrency, full fine-tunes can unbalance the router (freeze it or use LoRA), and quantizing the router or hybrid recurrent projections flips routing decisions.

NVIDIA Developer Blog →

Accelerating Dropless MoE Training in JAX with NVIDIA Transformer Engine

Teams training large MoE models in JAX on NVIDIA GPUs can now get 10.4x throughput gains and 97% scaling efficiency at 1,024 GPUs using a public container.

NVIDIA reports that its Transformer Engine library makes training 'mixture of experts' models, a design where different small networks handle different inputs, in the JAX programming framework dramatically faster. By processing every token without dropping or padding and fusing communication steps, training the DeepSeek-V3 model went from 103 to 1,068 TFLOPS per GPU, a 10.4x improvement. The system also sustains 97% efficiency across 1,024 GPUs. This affects engineers running large-scale AI training on NVIDIA hardware.

NVIDIA claims its Transformer Engine plus JAX stack cuts MoE training costs dramatically: DeepSeek-V3 671B training on GB300 NVL72 hardware hit 1,068 TFLOPS/GPU, 10.4x an unoptimized baseline that spent 84% of kernel time on communication. Dropless MoE avoids the quality tradeoff of token dropping. Teams training MoE models on NVIDIA hardware gain access via the NGC MaxText container; those on other stacks gain nothing. Vendor benchmark figures warrant independent verification.

NVIDIA's JAX Transformer Engine MoE path achieves 10.4x throughput on DeepSeek-V3 671B (103 to 1,068 TFLOPS/GPU on GB300 NVL72), sustaining 97% scaling efficiency at 1,024 GPUs. Key mechanisms: cuBLAS-backed grouped GEMM handling ragged expert token counts in one call, NCCL EP fusing dispatch/combine with token deduplication, JAX host offloading of Q/V projections, and XLA multistreaming collectives overlapping InfiniBand and NVLink. Future work: NVFP4 and A2A overlap.

NVIDIA Developer Blog →

When to Use Encode-Prefill-Decode Disaggregation to Accelerate Multimodal Model Serving

Engineers serving image-heavy multimodal models on NVIDIA hardware can cut time-to-first-token and goodput costs using Dynamo's EPD disaggregation, but gains vanish for large dense or long-output workloads.

NVIDIA shows how to run multimodal AI faster by splitting the work into separate parts. In most setups, one computer handles everything: understanding the images, reading the prompt, and writing the answer. Their approach gives the image-analysis job its own workers, sometimes on cheaper chips. Tests on Qwen3.5 122B showed up to 7x faster responses for image-heavy prompts, though the benefit disappears for long answers or big models.

For teams serving image-heavy multimodal models on NVIDIA hardware, splitting vision encoding onto separate workers can raise same-latency traffic capacity by 70% without buying more GB200 GPUs, since encoders ran on cheaper RTX 6000D units. Gains depend on workload: long outputs erode end-to-end improvements to 5.2%, and colocated setups actually regress 2.5% at high output lengths. Teams running large dense models see little benefit.

NVIDIA Dynamo's EPD disaggregation separates vision encoder execution from prefill-decode workers, transferring embeddings via NIXL over UCX (peak 20 Gbps). Benchmarks on Qwen3.5 122B A10B NVFP4 with four GB200s showed colocated TTFT drops of 58% and goodput gains of 2.64x with NVFP4-quantized LLM weights versus 1.78x at BF16. Gains track the ViT compute share: colocated goodput fell from 2.62x at 4B to 0.65x at 27B, below break-even.

NVIDIA Developer Blog →

Frontier Reasoning Reaches the Edge: How to Deploy and Optimize Models on NVIDIA Jetson

Compact 2026 open models now run reasoning agents fully offline on Jetson edge hardware, with NVFP4 plus speculative decoding delivering up to 6.28x decode speedup over BF16.

NVIDIA explains how to run small AI models that can reason and act as agents directly on Jetson, a small computer for edge devices, instead of relying on data centers. It compares two models: Nemotron 3.5 Lightning, which activates only 3 billion of its 30 billion parameters per token, and dense Qwen3.8-27B. Two tricks, smaller number formats and a draft-model shortcut, together give up to 6.28x faster responses. This matters for robots, in-cab assistants, and remote systems with no internet connection.

Running capable reasoning models at the edge is now practical, cutting network dependency, latency, and the data-exposure risk of routing inference through a data center. NVIDIA provides public quantized checkpoints, vLLM recipes, and tutorials for Jetson AGX Orin and AGX Thor. Up to 6.28x decode throughput speedup over BF16 lowers hardware cost per token. Developers must validate configurations against their own workloads, since throughput varies by task category.

NVIDIA documents deploying Nemotron 3.5 Lightning (30B MoE, 3B active) and Qwen3.8-27B (dense) on Jetson via vLLM v0.28.0 containers. NVFP4 quantization plus speculative decoding, DSpark for Nemotron, DFlash2 for Qwen, yields up to 6.28x decode speedup over BF16. Measured throughput: Nemotron 123.01-138.02 tokens/s, Qwen 27.69-34.44 tokens/s across SpeedBench categories (RAG and writing benefited most). Acceptance rates and workload choice determine whether custom draft checkpoints via Speculators are needed.

NVIDIA Developer Blog →

NeoMME: an efficient Multimodal-native and Multilingual Encoder

Teams doing visual document retrieval can now use a compact 260M/800M open-source encoder that matches much larger models on ViDoRe v3 while cutting index storage up to 255× and doubling encoding throughput.

Hugging Face's H Company released NeoMME, a family of small AI models (260M and 800M parameters) that read both images and text using a single neural network rather than separate image and text components. It is built for searching document collections by treating whole pages as pictures, skipping OCR. It processes pages roughly twice as fast as a rival and needs far less storage. It is open-source under Apache 2.0 and available now.

For teams building document search, NeoMME offers a cost lever: its 260M version scores 0.523 on the ViDoRe v3 benchmark, within 0.002 of ColQwen2.5 with about 14× fewer parameters, and encodes 51 pages per second on an NVIDIA L40S, roughly double ColModernVBERT. Storage compression cuts late-interaction indexes from 1.5MB to as little as 6kB per page with over 95% of quality retained. Checkpoints ship under Apache 2.0, so adoption carries no licensing cost; incumbents selling larger retrieval models face margin pressure.

NeoMME is a from-scratch 260M/800M bidirectional encoder processing text tokens and raw image patches in one Transformer with sliding-window plus periodic global attention, 16,384-token context, 2D rotary embeddings, and a masked discrete-diffusion objective over ~524B tokens using NorMuon. NeoMME-Retriever adds dual dense and late-interaction heads; on ViDoRe v3 the 800M model hits 0.556 nDCG@10. Hierarchical pooling plus asymmetric int8/binary quantization achieves 255× storage reduction at >95% quality. Only the retrieval fine-tuning and ViDoRe results are shown; no generative-task evaluations are reported.

Huggingface Blog →

How to Size GPUs for AI Inference and TCO Without Overspending

Teams sizing GPUs for AI inference can replace guesswork with a concrete framework and cut costs using free NVIDIA tooling, but the article is a vendor guide, not news of a change.

NVIDIA published a guide explaining how companies should choose how many and which GPUs to rent or buy for running AI features, without overspending. It sorts apps into four types, like chatbots (long questions, short answers) versus content generation (short questions, long answers), because each demands different amounts of computer memory. It recommends mixing a fixed base of owned or reserved hardware with rented cloud capacity for traffic spikes. As a worked example, compressing a model's numbers from 16-bit to 8-bit precision cut the Llama-3.1-8B model's memory by 43.5% without retraining.

The framework maps each use case to concrete sizing inputs, daily active users, concurrency, input/output token lengths, cache hit rate, and latency targets, then pairs a baseline of on-prem or reserved GPUs with elastic cloud capacity for bursts. Four worked scenarios span copilots for credit unions to enterprise translation platforms. Memory reduction is the biggest cost lever: NVIDIA's FP8 post-training quantization cut Llama-3.1-8B weights by 43.5%, potentially dropping an entire GPU tier. The article omits actual pricing and dollar figures for hardware or cloud contracts.

The guide classifies workloads by token patterns: chatbots/copilots (1,000–5,000 cached, 2,000–8,000 input, 200–800 output tokens), agents with >128K context, content generation, and translation. Core-and-flex sizing reserves steady-state capacity and uses spot/on-demand for bursts. Right-sizing prevents underutilization (higher cost per token) and undersizing (constrained throughput). Three compression levers are given: FP8/INT8 quantization (25–50% memory reduction, no retraining), pruning, and distillation; pruning Qwen3-8B to a ~6B student via distillation is cited. It stops short of publishing benchmark accuracy numbers or GPU pricing.

NVIDIA Developer Blog →

Pairing Google Antigravity with Gemini 3.7 Flash solves notable multi-agent math and engineering problems.

Autonomous multi-agent AI teams running on Gemini 3.7 Flash solved seven peer-review-track open math problems and shipped real upstream code, suggesting agentic systems can now contribute genuine research and engineering work, not just demos.

Google updated Antigravity, a tool where teams of AI agents work together over hours or days on hard problems. Paired with its Gemini 3.7 Flash AI model, these agent teams solved seven previously open math and computer science problems, including one verified with 40+ pages of formal proof. They also built a detailed computer-chip simulator and improved widely used open-source software. This matters because it shows AI agents tackling work that takes human specialists much longer.

Google reports its Antigravity multi-agent framework, running on Gemini 3.7 Flash, delivered seven open-problem solutions accepted-track at venues like FOCS and JMLR, plus upstream optimizations to Eigen and ParlayHash. For decision-makers, this signals agentic AI moving from demos to verifiable contributions in research and systems engineering. No pricing, availability or cost details are given, and the results are self-reported by Google's own blog.

Antigravity's Teamwork framework orchestrates autonomous agent teams that collaborate and critique over long horizons. Paired with Gemini 3.7 Flash, it solved seven open problems (71% on TCSBench), including Knuth's Cycles Conjecture verified in Lean with 40+ page proofs, sparse convex optimization, and provable LLM quantization. Systems work included a cycle-accurate out-of-order RISC-V simulator booting xv6 with 0.71% cycle alignment error, plus Eigen SIMD fast-paths and a 2x ParlayHash insert throughput gain. All results are self-reported.

Google AI Blog →

A 29M-parameter LLM runs on an ESP32-S3 at 9.88 tok/s with no server.

Demonstrates that per-layer embeddings can keep a 29M-parameter LLM almost entirely in flash on a $5 microcontroller, widening what embedded devs can run locally.

A hobbyist project called esp32-ai runs a very small AI language model, one trained to write simple children's stories, on a tiny computer chip called an ESP32-S3, the kind used in gadgets, not laptops. The chip has far less memory than a phone, so the trick is keeping most of the model stored in slow flash memory and reading only tiny pieces as needed. It writes stories at about 10 words' worth of output per second, entirely offline. The project is a proof of concept for enthusiasts, not a useful assistant, it can't answer questions or follow instructions.

This is a weekend open-source project, not a product, and it changes nothing for businesses today. Its significance is architectural: Google's per-layer embeddings idea from Gemma 3n lets a 28.9M-parameter model run on hardware with 512KB of SRAM, suggesting edge-AI deployments could eventually skip servers entirely. Companies building on-device AI features should watch this technique, but no cost, competitive or timing decision follows from this release.

esp32-ai runs a 28.9M-parameter TinyStories model (plus a 'Barista' espresso-QA model) at 9.88 tok/s on an ESP32-S3 with 512KB SRAM, 8MB PSRAM and 16MB flash, at 4-bit quantization (14.9MB). Borrowing Gemma 3n's per-layer embeddings, the 25M-parameter embedding table stays resident in flash and is sampled lazily (~450 bytes/token); activations live in SRAM, dense weights in PSRAM. Limitations: no instruction-following, one model on-device at a time, no benchmark beyond tokens/second.

GitHub Opensource Projects →

Qwen3.8-Flash-Next

Open-weights models that preview Qwen4's architecture let local-inference practitioners run a capable multimodal MoE on consumer-adjacent hardware today.

Chinese AI company Qwen has released Qwen3.8-Flash-Next, a freely downloadable AI model whose weights (the learned files you can run yourself) are public. It is a large multimodal model, meaning it handles images as well as text, with 125 billion total parameters but only 6 billion active at a time, which makes it cheaper and faster to run. Blogger Simon Willison tested it on an Nvidia DGX Spark desktop machine, having it draw pictures of a pelican riding a bicycle. It also previews the architecture Qwen plans to use in its upcoming Qwen4.

Qwen has shipped an open-weights multimodal model, Qwen3.8-Flash-Next, that doubles as an early preview of the Qwen4 architecture. Its sparse design, 125B total parameters with only 6B active, delivers performance without matching inference costs, which matters for anyone running models locally. Willison ran quantized GGUF versions (72.5GB and 78.9GB) on an Nvidia DGX Spark. Teams evaluating local or on-premises multimodal deployment gain a new option; vendors selling closed multimodal APIs face more open competition.

Qwen3.8-Flash-Next is an open-weights multimodal mixture-of-experts (MoE) model with 125B total parameters and 6B active per token, explicitly framed as an architecture preview for Qwen4. Willison tested Unsloth-quantized GGUF builds on a DGX Spark: a 72.5GB UD-IQ1_S and a 78.9GB UD-Q2_K_XL, the latter at 'xhigh' reasoning effort. He benchmarked it informally via SVG-rendering pelican tests rather than published evaluations; no benchmark scores, licensing terms, or API pricing are given in the article.

Simon Willison’s Weblog →

When Smaller Models Win

Developers can replace expensive frontier model calls with cheap small fine-tuned models for narrow tasks, cutting cost and gaining control over inference pipelines.

This article argues that small, specialized AI models often beat huge general-purpose ones at narrow jobs, just as the chess computer Deep Blue beat world champion Garry Kasparov in 1997. Big chatbots sometimes fail badly at chess because they were not trained for it, while the dedicated chess engine Stockfish wins easily. Small models, under about 10 billion parameters, can be tuned cheaply for one task. This affects developers choosing which AI to buy or build.

Running a frontier model for every task is often wasteful: the article cites LiteResearcher, a 4-billion-parameter model, beating Claude Sonnet 4.5 on some search benchmarks, and Docling models starting at 258 million parameters extracting PDFs cheaply. Fine-tuning via LoRA is cheap and portable across hosting platforms, avoiding vendor lock-in. Companies early in a project may still benefit from large general models, but narrowed workloads favor small self-hosted models.

NVIDIA's 2025 position paper defines small models as under 10 billion parameters and favors them for agentic AI on cost, adaptability, and deployment flexibility. LoRA fine-tuning attaches small trainable adapters without touching base weights, reducing catastrophic forgetting and enabling consumer-GPU training via Hugging Face Transformers or Unsloth, plus RL environments via Tinker. Self-hosted models like Qwen 3.8 27B and GPT-OSS 20B fit quantized on one consumer GPU, allowing constrained outputs, token probability access, and caching beyond chat completion APIs.

Oreilly AI ML Blog →

Your entire LLM stack now fits in a single executable file.

Reduces setup friction for local LLM deployment, enabling faster experimentation and distribution.

A single file runs an AI language model on any computer without installation, making it easier to use and share.

Simplifies LLM deployment, reducing costs and complexity for developers and users, but may limit access to newer features.

Llamafile combines llama.cpp and Cosmopolitan Libc into a single executable, supporting cross-platform LLM and speech-to-text without dependencies.

GitHub Opensource Projects →

Quantization-Aware Healing: a compressed, 4-bit model that outperforms its full-precision original

A 4-bit model outperforms its full-precision version, challenging assumptions about quantization trade-offs.

A smaller, cheaper AI model can be more accurate than a larger one, making it better for real-world use.

This 4-bit model beats its full-precision version, offering cost savings and better performance for deployment.

QAH distills from a full-precision teacher, enabling a 4-bit model to outperform its 16-bit version on 7/9 benchmarks.

Huggingface Blog →

LFM2.5 Q4\_0 Checkpoints from Quantization-Aware Distillation

Developers running Liquid AI's LFM2.5 models on phones or Raspberry Pis can now get near full-precision quality at 4-bit speed and memory without quality loss.

Liquid AI released improved 4-bit versions of four of its small AI models, including LFM2.5-230M and LFM2.5-2.6B, on Hugging Face. Shrinking AI models to 4 bits usually hurts their accuracy, but a training technique called quantization-aware distillation recovers about 97% of the accuracy lost. The models run on devices like the Raspberry Pi 5 and Samsung Galaxy S26 Ultra with 3-14% faster text generation than before. This matters to developers building AI apps that run offline on phones or small computers.

Liquid AI's quantization-aware distillation checkpoints let teams run its LFM2.5 models at 4-bit memory cost while retaining roughly 97% of full-precision accuracy. Small variants (230M, 350M) match Q5_K_M quality with 4-33% higher decode throughput; larger ones match Q4_K_M with 3-14% higher throughput. For edge deployments where hardware cost and power dominate, this removes the usual quality-versus-speed tradeoff, at no price change since the GGUF files are freely downloadable.

Liquid AI releases QAD-trained Q4_0 GGUF checkpoints for LFM2.5-230M, 350M, 1.2B-Instruct, and 2.6B, distilled from a high-precision BF16 teacher. Across GPQA Diamond, MMLU-Pro, IFEval, IFBench, Multi-IF, BFCLv4, plus GSM8K (small models) or AIME25 (large), QAD retains 97.1%, 96.5%, 97.4%, and 96.6% of BF16 performance. Small checkpoints match Q5_K_M at 4-33% higher decode throughput; larger match Q4_K_M at 3-14% higher, also matching Unsloth UD-Q4_K_XL. Usable with llama.cpp or any Q4_0-compatible GGUF runtime.

Huggingface Blog →

Developing Nemotron 3.5 Lightning NVFP4 with QAD Using NVIDIA Model Optimizer

NVIDIA published the full recipe, code and checkpoints, so engineers can now compress their own models to NVFP4 and recover most lost accuracy with quantization-aware distillation.

NVIDIA shrank a 66 GB AI model, Nemotron 3.5 Lightning, down to 22 GB by storing most numbers in a smaller 4-bit format, making it run up to 4x faster. Shrinking usually hurts quality, so they taught the compressed copy to mimic the original full-size model during training. The compressed version kept nearly all of the original's accuracy on their tests. Developers using NVIDIA tools can download it or apply the same technique to their own models.

NVIDIA released a 22 GB NVFP4 checkpoint of Nemotron 3.5 Lightning (down from 66 GB) delivering up to 4x faster throughput at near-baseline accuracy, cutting inference memory and hardware costs for agentic workloads. The quantization-aware distillation workflow is open-sourced in Model Optimizer with a downloadable Hugging Face checkpoint. Teams running large models on NVIDIA GPUs gain a practical, tested cost-reduction path; those on non-NVIDIA stacks do not benefit directly.

NVIDIA built the Nemotron 3.5 Lightning NVFP4 checkpoint via a two-stage pipeline: aggressive PTQ to W4A16 (including Mamba linear layers, lm_head W4A16, attention projections kept BF16), followed by quantization-aware distillation with a frozen BF16 teacher using KL-divergence logit loss. Max-calibrated PTQ uses dynamic-scale QAD; MSE-calibrated (e.g. four_over_six) uses frozen scales. On intermediate checkpoints QAD raised median accuracy recovery from 96.33% to 99.72% and 95.84% to 98.53% at a 21.19 GB footprint. Final recipe hit 99.24% PTQ recovery, with further gains on Terminal-Bench v2.1 and SWE-Bench Multilingual. QAD training required 522K sequence length, LR 5e-6, on 2x8 GPUs.

NVIDIA Developer Blog →

Llama-3-Chinese: v3 instruct model with 5M instruction tuning data

Chinese-LLaMA-Alpaca-3 gives developers a genuinely Chinese-fluent open Llama-3 model today, with training data and scripts released for further fine-tuning.

A team called Chinese-LLaMA-Alpaca has released version 3 of a project that retrains Meta's Llama-3 to speak Chinese properly. Instead of just translating, they retrained the model on millions of Chinese examples so it understands nuance and context. The models, training code and data are free to download. Developers building Chinese-language chatbots or document tools get noticeably better results than with Western models used as-is.

The v3 release of Chinese-LLaMA-Alpaca-3 offers a free, locally deployable Chinese-capable model built on Llama-3, trained on 5 million instruction samples in the v2 approach. It competes with Western multilingual models that handle Chinese poorly, and runs on consumer hardware via llama.cpp or Ollama, cutting cloud costs. The article gives no benchmark scores or pricing, only claims of improvement over v1 and v2.

Chinese-LLaMA-Alpaca-3 applies incremental pre-training on large-scale Chinese corpora followed by instruction fine-tuning to Meta's Llama-3; the v2 lineage fine-tuned Llama-3-8B-Instruct on 5 million instruction data points, and v3 claims significant downstream-task gains over v1/v2 (no specific benchmark numbers given). Models (e.g. hfl/llama-3-chinese-8b-instruct-v3) ship on Hugging Face and ModelScope with quantization tutorials, vLLM/llama.cpp/Ollama support, released datasets like alpaca_zh_51k, and reproducible pre-training scripts.

GitHub Opensource Projects →

Qwen 3.8 27B is excellent, but it defaults to wildly overthinking things

A strong Apache 2-licensed local model ships with a reasoning default so aggressive it makes results unusable on consumer hardware unless changed.

Alibaba's Qwen lab released a free, openly licensed AI model called Qwen 3.8 27B that can process images and run on a decent laptop. Simon Willison found it produces very good results but its default 'thinking' setting burns huge amounts of time; a simple drawing took 21 minutes. Turning that setting off or down fixes it. It matters to anyone running AI on their own computer.

Qwen 3.8 27B is a free, Apache 2-licensed, image-capable model that Alibaba reports beats even its larger closed Qwen 3.7-Plus, pending independent confirmation. Willison ran it locally on a MacBook Pro and NVIDIA DGX Spark in LM Studio. Its default extra-high reasoning mode made a simple SVG task take 21 minutes versus two minutes without reasoning, so cost and latency on local hardware hinge on config. The model is downloadable now.

Qwen 3.8 27B is a 27B-parameter, vision-capable, Apache 2 model served via LM Studio's 17GB Q4_K_M quantization or llama-server, with 262,144 max context. Self-reported benchmarks beat Qwen 3.6 27B and closed Qwen 3.7-Plus, but independent verification is pending. Default xhigh reasoning generated 22,276 reasoning tokens for 3,223 output tokens in 21 minutes; reasoning off took 137s. It excelled at 0-1000-scale bounding-box JSON on pelican photos.

Simon Willison’s Weblog →