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

12 results for “Tensor Memory Accelerator”

Newest and most relevant first

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 →

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 →

Gemma 4 QAT models: Optimizing model compression for mobile and laptop efficiency

Gemma 4 can now run locally on phones and consumer GPUs with a 1GB E2B footprint, making on-device open-model deployment far cheaper today.

Google has released smaller versions of its Gemma 4 AI models that keep their quality while taking up much less memory. It did this by 'quantizing' the models, storing numbers less precisely, during training rather than after, which avoids the usual accuracy loss. The smallest version, Gemma 4 E2B, now needs less than 1GB of memory, so it can run on phones and laptops instead of data centers.

Google released quantization-aware checkpoints for Gemma 2.5 days after its 12B model launch, cutting the E2B model's memory footprint to under 1GB. Companies can now run capable open models on phones, laptops and consumer GPUs without cloud costs, and per-modality deployment lets text-only use trim memory further. This pressures vendors selling cheap local inference and benefits toolmakers like Ollama and LM Studio, which support the checkpoints today.

Google shipped QAT checkpoints for Gemma 4 in Q4_0 plus a custom mobile quantization schema, claiming higher quality than post-training quantization baselines. The mobile schema uses static (pre-calculated) activation scales, channel-wise quantization matched to mobile accelerators, targeted 2-bit quantization of token-generation components, and compressed embeddings/KV cache. The E2B text-only model without per-layer embeddings runs under 1GB. Weights are on Hugging Face in GGUF and compressed-tensor formats; MTP speedups are preserved in the QAT checkpoints.

Google AI Blog →

Develop High-Performance GPU Kernels in C++ with NVIDIA CUDA Tile

CUDA 13.3 lets C++ GPU developers write tile-based kernels that use tensor cores and tensor memory accelerators without hand-managing threads, potentially replacing per-thread SIMT code in existing codebases.

NVIDIA has released CUDA Toolkit 13.3, which lets programmers write GPU programs in C++ using a 'tile' approach. Instead of telling each of thousands of small processing units what to do one by one, the programmer describes math on blocks of data and the system handles the parallel work automatically. This matters for engineers who speed up tasks like matrix multiplication, which underlies most AI. It works on NVIDIA GPUs from the Ampere generation onward.

NVIDIA's CUDA Tile C++, arriving in CUDA 13.3, is a new programming model competing with higher-level options like Triton or Python-based tile kernels by making tile programming native to C++ codebases. Teams with existing CUDA C++ investments can adopt it incrementally, and the compiler automatically targets tensor cores and tensor memory accelerators, reducing rewrite costs when new GPU generations ship. The main risk is tooling maturity: it requires CUDA 13.3, compute capability 8.0 or newer, and C++20.

CUDA 13.3 enables C++ bindings for the CUDA Tile programming model, built on the CUDA Tile IR specification. Kernels marked __tile_global__ operate on multi-dimensional tiles via ct::tensor_span (similar to C++23 std::mdspan) and ct::partition_view, with ct::mma performing tensor-core multiply-accumulate on tiles such as 4x4. Launch configs pass block count with thread count fixed at 1, since the compiler chooses thread configuration. Requires compute capability 8.0+ (Ampere or newer), -std=c++20 and --enable-tile; profiling via Nsight Compute adds a Tile Statistics report section. Masked load/store handles non-divisible boundaries; no benchmark numbers are provided.

NVIDIA Developer Blog →

Simplify Sparse Deep Learning with Universal Sparse Tensor in nvmath-python

PyTorch researchers can now run linear layers on novel sparse weight formats without rewriting model code, with large speedups possible on pruned networks.

NVIDIA's nvmath-python, a Python library for fast math on GPUs, added a feature called the Universal Sparse Tensor in version 0.9.0. Sparse tensors store only nonzero values, saving memory when a matrix is mostly empty, such as a neural network after pruning. The new format separates how sparsity is described from how data is laid out, and converts between formats like COO and CSR without copying data. Speedups of 1.1x to 444x were reported over existing tools on one benchmark matrix.

NVIDIA's nvmath-python v0.9.0 lets teams compress mostly-empty weight matrices in deep learning models without restructuring code or rewriting kernels. Benchmarks show up to 444x faster sparse matrix multiplication than CuPy's or PyTorch's native sparse paths on one Matrix Market matrix. The gains depend heavily on sparsity level and format: CSR matched cuSPARSE, and the benefit is largest for DIA and custom formats. Teams using pruned or heavily sparse models gain most; dense workloads see nothing.

Universal Sparse Tensor in nvmath-python v0.9.0 decouples sparsity from memory layout via a runtime DSL (e.g. '(i, j) -> (j: dense, i: compressed)' for CSC), with zero-copy conversion to and from PyTorch, SciPy, CuPy and NumPy across COO, CSR, CSC, BSR, BSC and DIA. Polymorphic matmul() and solve() dispatch to optimized kernels for standard formats or JIT-generate code for custom ones, with planning-phase caching. A torch.Tensor subclass enables UST injection and weight reformatting in linear layers. On the 1,489,752x1,489,752 atmosmodl matrix, UST SpMV ran 1.1x to 444x faster than CuPy and PyTorch; MACKO UST matched or beat the original MACKO CUDA kernel.

NVIDIA Developer Blog →

Build Accelerated, Differentiable Computational Physics Code for AI with NVIDIA Warp

Engineers building GPU physics simulations can now get machine-precision gradients without leaving Python, potentially eliminating the simulator bottleneck limiting physics-based AI training data.

NVIDIA Warp is a tool that lets programmers write physics simulations, like weather-like fluid flow, as ordinary Python code that runs on graphics chips. Normally these simulations need awkward tricks to work with tensor frameworks. Warp instead lets each part of a simulation branch independently and can automatically compute how the results change when inputs change. Case studies include Autodesk and Google DeepMind using it in robotics and design tools.

Warp targets the bottleneck in AI-driven engineering: generating the physics-accurate training data that simulation surrogates require. NVIDIA claims large speedups against JAX on the same hardware, including roughly 8x for Autodesk's XLB and up to 475x for DeepMind's MuJoCo Warp on one A100. Teams doing CFD, robotics or design optimization gain; no pricing or enterprise terms are given.

Warp JIT-compiles Python kernels to GPU via SIMT execution, where per-thread branching avoids Boolean-mask workarounds needed in tensor frameworks. The walkthrough builds a 2D Navier-Stokes solver (vorticity-streamfunction, second-order central differences, SSP-RK3 time marching, FFT-based Poisson solve via tile_fft/transpose kernels, CUDA Graph capture). Compile-time reverse-mode AD generates adjoint code; differentiating through an RK3 solver is memory- and time-costly at large grids, which the article does not quantify.

NVIDIA Developer Blog →

Scale Biology Transformer Models with PyTorch and NVIDIA BioNeMo Recipes

Bio researchers can now speed up training of protein language models like ESM-2 using FP8 and sequence packing without rewriting their PyTorch code or learning a new framework.

NVIDIA published BioNeMo Recipes, step-by-step guides for training large biology AI models faster. They show how to take the ESM-2 protein language model and speed it up using Transformer Engine, which swaps in optimized building blocks and uses FP8, a lower-precision number format that cuts memory and boosts speed. Another trick, 'sequence packing,' removes wasted padding so GPUs process only real data. Researchers training protein or genome models benefit most.

NVIDIA's BioNeMo Recipes lower the engineering cost of training billion-parameter biology models by adapting existing PyTorch and Hugging Face code rather than forcing a new framework. The payoff is concrete: EvolutionaryScale credits Transformer Engine with making the 98B-parameter ESM3 trainable at high GPU utilization. Teams racing in drug discovery AI gain throughput; those sticking with plain PyTorch leave performance on the table.

The guides integrate NVIDIA Transformer Engine into the ESM-2 protein LM, replacing nn.Linear/nn.LayerNorm with TE counterparts and enabling FP8 autocasting (DelayedScaling, HYBRID format). Sequence packing converts padded BSHD tensors to flattened THD format via cumulative sequence lengths, cutting the ~60% padding waste at 1,024-token context. TE layers remain compatible with Hugging Face AutoModel.from_pretrained; token throughput uplift is shown in a benchmark figure without exact numbers.

NVIDIA Developer Blog →

Inside NVIDIA Blackwell Ultra: The Chip Powering the AI Factory Era

Teams planning large-scale AI inference get a GPU with 1.5x more NVFP4 compute and 50% more memory than Blackwell, directly lowering cost per token served.

NVIDIA has detailed Blackwell Ultra, its newest data center AI chip. It packs 208 billion transistors into two connected pieces of silicon and can run models with over 300 billion parameters without swapping data out of the chip, thanks to 288 GB of onboard memory. Compared with the previous Blackwell chip, it does 1.5 times more math per second on the low-precision format used for AI inference. It matters mainly to companies running large AI services.

Blackwell Ultra gives 15 petaFLOPS of NVFP4 compute per GPU, up 1.5x from Blackwell's 10, with 288 GB HBM3E and doubled attention-layer throughput. The practical effect is more concurrent model instances, faster time-to-first-token, and higher tokens per second per megawatt in AI factories. The GB300 NVL72 rack system scales to 72 GPUs with confidential computing and AI-driven failure prediction. No pricing or availability dates appear in the article.

Blackwell Ultra fuses two reticle-sized dies via 10 TB/s NV-HBI on TSMC 4NP (208B transistors), presenting as one CUDA accelerator with 160 SMs and 640 fifth-gen Tensor Cores. NVFP4 uses two-level scaling (FP8 E4M3 micro-blocks plus FP32 tensor scale) for ~FP8-equivalent accuracy at ~1.8x lower memory than FP8. 288 GB HBM3E at 8 TB/s, NVLink 5 at 1.8 TB/s (576-GPU fabric), and 2x SFU throughput for softmax are the key levers.

NVIDIA Developer Blog →

Streamlining Quantum Error Correction and Application Development with CUDA-QX 0.4

Quantum error correction researchers get an open-source GPU decoder matching Google's closed tensor-network decoder, plus automated detector error model generation, making end-to-end QEC workflows reproducible without proprietary tools.

NVIDIA has updated CUDA-QX, its open-source software toolkit for quantum computing, to version 0.4. The toolkit helps researchers with quantum error correction, the maths needed to catch and fix mistakes in fragile quantum computers. The new version can automatically build the error models that decoders need, and it adds a decoder that uses tensor networks (a mathematical technique) running on graphics chips. It matches the accuracy of Google's decoder while being freely available.

NVIDIA's CUDA-QX 0.4 release targets the bottleneck holding back commercial quantum computing: error correction. It gives researchers an open-source, GPU-accelerated tensor network decoder that achieves the theoretical optimum accuracy, matching Google's closed implementation, and automates detector error model generation from a single reusable object. Teams building quantum hardware or algorithms can now benchmark against a standard without licensing barriers; NVIDIA strengthens its position supplying the classical computing layer quantum machines depend on.

CUDA-QX 0.4 auto-generates detector error models from memory circuits and noise models, with one object serving both circuit sampling and decoder configuration. A new GPU tensor network decoder performs exact contraction for maximum-likelihood decoding, achieving logical error rate parity with Google's decoder on the Nature 2023 surface code dataset. BP+OSD gains iter_per_check, clip_value, bp_method (sum-product/min-sum), scale_factor and LLR history logging. The Solvers library adds a transformer-based Generative Quantum Eigensolver, Python 3.11+ for the tensor decoder.

NVIDIA Developer Blog →

Per-Tensor and Per-Block Scaling Strategies for Effective FP8 Training

Practitioners training large models can now choose concrete FP8 scaling recipes that match BF16 accuracy, cutting training compute and memory costs on NVIDIA Blackwell GPUs.

This is NVIDIA's guide to a trick that lets AI models train using less computer memory. Normally numbers in AI models are stored in a roomy format called BF16; this article explains how to safely shrink them into a much smaller format called FP8. The key challenge is that some numbers in a model are huge and others tiny, so each chunk needs its own adjustment factor. NVIDIA shows this works without hurting accuracy, which could make training AI models cheaper.

NVIDIA details scaling strategies that make FP8, a low-precision number format that cuts training cost and memory, viable for large language models. Using its Nemotron 2B and 8B models, NVIDIA reports MXFP8 on Blackwell GPUs matches BF16 validation perplexity. Teams with Blackwell hardware gain a path to cheaper training; those on older GPUs cannot use the hardware-native MXFP8 recipe. The article omits speed and cost figures entirely.

The post covers per-tensor scaling (delayed vs current), per-block scaling, MXFP8, and generic blockwise recipes in Transformer Engine/NeMo. Delayed scaling uses a window of amax history and fails when outliers dominate; current scaling measures amax per batch. MXFP8 uses 32-value blocks with E8M0 exponent-only scales and automatic requantization for transposes on Blackwell Tensor Cores. Nemotron 2B and 8B show MXFP8 validation perplexity curves matching BF16; generic block scaling supports 1x128 or 128x128 shapes with FP32 scales.

NVIDIA Developer Blog →

Introducing NVFP4 for Efficient and Accurate Low-Precision Inference

NVFP4 lets teams cut LLM inference memory nearly in half versus FP8 with under 1% accuracy loss, making Blackwell hardware the practical requirement for cheap large-model serving.

NVIDIA introduced NVFP4, a 4-bit number format for its Blackwell chips that stores AI model weights far more compactly. It uses small blocks of 16 values, each with its own precision scale, so accuracy barely drops, under 1% versus the previous 8-bit standard on the DeepSeek-R1 model. Models need roughly half the memory compared to 8-bit. This affects anyone running large AI models, enabling bigger models on existing hardware.

NVIDIA's NVFP4 format on Blackwell GPUs cuts model memory about 1.8x versus FP8 and 3.5x versus FP16, with DeepSeek-R1-0528 benchmarks showing 1% or less accuracy loss. Energy efficiency per token is up to 25x (Blackwell) and 50x (Blackwell Ultra) versus H100. Prequantized checkpoints from DeepSeek, Llama 3 and FLUX.1-dev are already downloadable, so inference cost reductions are available now, but only on Blackwell hardware.

NVFP4 uses E2M1 values with a two-level scaling scheme: an E4M3 FP8 scale per 16-value micro-block (versus MXFP4's 32-value power-of-two blocks) plus an FP32 per-tensor scalar, reducing quantization MSE versus E8M0. PTQ of DeepSeek-R1-0528 shows ≤1% accuracy degradation versus FP8, with AIME 2024 2% better. Effective storage is ~4.5 bits/value. Quantize via TensorRT Model Optimizer or LLM Compressor; deploy via TensorRT-LLM or vLLM, with SGLang support upcoming.

NVIDIA Developer Blog →

Accelerate Deep Learning and LLM Inference with Apache Spark in the Cloud

Engineers running Spark can now batch-process DL and LLM inference across cloud clusters without hand-tuning GPU memory, using ready Databricks and Dataproc templates.

NVIDIA published a guide and code templates for running AI models, including large language models, inside Apache Spark, a widely used tool for processing huge datasets. It explains two approaches: a simple one where each Spark worker loads its own copy of the model, and an advanced one where a separate model-serving program handles the GPU so Spark workers only prepare data. The examples run on Databricks and Google Dataproc cloud clusters, covering image classification, sentiment analysis and document summarization.

Teams with large unstructured data, documents, images, text, can now add batch AI inference directly into existing Spark pipelines on Databricks or Dataproc using NVIDIA's templates and pre-configured scripts. The advanced serving approach removes GPU-memory tuning, which matters because large models like Llama 70b require A100/H100-class hardware, while smaller workloads run on A10/L4 GPUs. This reduces engineering effort for enterprises embedding AI at scale, though no cost or performance benchmarks are given.

The article compares two Spark distributed-inference patterns. Basic: Spark 3.4's predict_batch_udf API batches DataFrame columns and caches models on executors, but each worker loads a model copy, forcing spark.task.resource.gpu.amount=1 for LLMs. Advanced: TritonServerManager or VLLMServerManager from the Spark-RAPIDS-Examples DL Inference repo launch a Triton (via PyTriton, avoiding Docker-in-Docker) or vLLM server per executor, decoupling CPU preprocessing from GPU inference and enabling dynamic batching. Templates target Databricks and Dataproc; large models shard via tensor_parallel_size.

NVIDIA Developer Blog →