techlist.io

Gpu Inference

7 posts

OpenAI2026-08-244 min readCurated summary

Jalapeño’s first results show industry-leading speed and efficiency in AI inference

OpenAI's first custom inference chip, Jalapeño, delivers more AI work per watt and lower response latency than leading commercial systems in its testing, a combination that existing hardware often forces teams to trade off. The chip and its surrounding system were co-designed around language-model inference, and AI was used throughout development, taking the design from initial concept to tapeout in nine months. OpenAI plans to begin deploying Jalapeño in its own infrastructure by the end of the year. ## Benchmark Results Against Leading Systems - Tests used InferenceX, a public SemiAnalysis benchmark that measures the full process of serving an AI request, across operating points from high-throughput serving to low-latency interactive use. - Across GPT-OSS 120B, DeepSeek R1, and Kimi K2.5 1T, Jalapeño delivered 1.5 to 1.9 times more AI work per watt at peak throughput and 1.7 to 3.6 times lower end-to-end latency than the comparison systems. For highly interactive workloads, it reached 2.1 to 4.1 times higher performance. - Power was normalized to published chip ratings: Jalapeño is rated at 700 W and measured at or below 550 W sustained, compared with 1,200 W for GB200 and 1,400 W for GB300. - The appendix gives per-model figures. On GPT-OSS 120B, peak mixed tokens per second per kW was 85,448 versus 44,960, and end-to-end latency was 1.03 s versus 1.80 s. On DeepSeek R1, latency was 1.65 s versus 5.99 s. On Kimi K2.5, latency was 1.56 s versus 5.31 s. - OpenAI reports that its advantage grew on its internal frontier models, which suggests the gap widens as workloads get larger and more demanding. ## Measuring Performance Per Unit of Power - The team compares systems at a matched user experience: how much useful work each completes per unit of power while meeting the latency that customers and interactive agents need. - Latency matters especially for agents, because delays compound across the many sequential steps of a single task. - The authors argue that performance per unit of power is a more useful standard than performance per chip. ## Architecture Built Around Inference Phases - Prefill, which processes the prompt, is compute-intensive, while decode, which generates tokens one at a time, is limited mainly by memory bandwidth. - Data movement between cores and chips can leave processing units idle, and a system that excels at one phase can lose that advantage while waiting on data. - Jalapeño co-designs the chip, memory, network, software, and rack-scale system to minimize data movement. The KV cache can be explicitly placed and kept local. - A large network domain keeps the whole workload inside one connected system, so requests stay fast from start to finish. - The result is a balanced, flexible accelerator that handles both prefill and decode and adapts as the balance between them shifts, which is typical of agentic workloads. ## Using AI to Design and Program the Chip - AI helped the team move from initial design to tapeout in nine months by exploring implementations, shortening design and verification loops, and optimizing the chip's arithmetic circuits. - Jalapeño was built as a predictable programming target. Engineers describe work through local tensors, explicit communication, and predictable synchronization, and AI then maps, places, and schedules that work across the system. - Using Codex with GPT-Astra, the team brought three open-weight models that were not in the original production plan to high performance within two months. - For selected GPT-OSS attention and mixture-of-experts blocks, AI-generated implementations ran 1.5 to 1.8 times faster than human-written ones. These figures cover individual blocks, not the full model. ## Roadmap and Deployment - Jalapeño enables three new performance tiers: ultra-fast-mode inference at efficiencies previously available only in fast mode, fast-mode inference at batched-mode efficiency, and higher efficiency for batched inference. - OpenAI plans to deploy Jalapeño in its compute infrastructure by the end of the year. Gen 2 is in deep development and Gen 3 is taking shape. - NVIDIA and other partner accelerators will continue to be deployed alongside Jalapeño for training and inference. - Remaining work before scale deployment includes production qualification, software maturation, operational preparation, and validation across more models. For teams evaluating inference hardware, the post's main lesson is to compare systems on performance per watt at a matched latency target, not on per-chip throughput alone.

Cloudflare2026-08-033 min readCurated summary

Smaller, faster, safer: running Kimi and GLM at scale

Cloudflare improves the efficiency of serving large, long-context models by optimizing both GPU memory usage and request concurrency. Its approach combines FP8 KV-cache quantization, INT4 weight compression, and integrity checks for shared caches, while using separate prefill and decode pools to apply each optimization where it helps most. These techniques increase throughput and reduce costs without materially affecting model accuracy. ## Quantizing the KV Cache - Long-context models store attention keys and values in a KV cache, which often exhausts GPU memory before model weights do. - Cloudflare stores the cache in FP8 instead of BF16, cutting its size in half. - On Kimi K2.6, this increases available context from roughly 686,000 to 1.37 million tokens. - FP8 is slightly slower at the same concurrency because values must be converted during attention. - However, FP8 supports more concurrent requests: - BF16 runs out of memory at 32 requests. - FP8 reaches 2,192 tokens per second at 64 requests. - Peak throughput improves by about 41%, with roughly 30% lower cost per token. - Cloudflare keeps BF16 for prefill, where workloads are compute-bound. - Evaluation results show FP8 and BF16 produce effectively indistinguishable quality across reasoning, knowledge, tool-calling, and internal benchmarks. ## Compressing Model Weights - GLM 5.2 weights are compressed from FP8 to INT4 for the decode phase. - The checkpoint shrinks from 705 GB to 421 GB, while per-GPU memory in an eight-way deployment falls from about 88 GB to 52 GB. - The freed memory supports approximately 1.18 million tokens of KV cache. - INT4 improves decode performance because generation is memory-bandwidth-bound: - Single-request throughput rises from 60 to 92 tokens per second, a 55% gain. - Gains range from 16% to 27% at higher concurrency. - Prefill becomes slower with INT4 because compressed weights must be expanded before computation: - FP8 prefill: about 10,160 tokens per second. - INT4 prefill: about 8,660 tokens per second. - Cloudflare therefore uses FP8 for prefill and INT4 for decode. - Accuracy remains within 0.8 percentage points of the FP8 model across tested benchmarks. ## Protecting a Shared KV Cache - Greater memory efficiency allows hundreds of requests to share physical KV-cache pages, increasing the risk of page-allocation or bookkeeping errors. - Cloudflare assigns each cache page a changing tag whenever it is reallocated. - Requests record the pages and tags they expect, and the server validates these mappings before supported decode operations. - If a mismatch occurs, the request is aborted instead of reading incorrect data. - In production-style tests, integrity checking caused: - Less than 1% throughput reduction. - Less than 1% increase in p95 latency. - Validation runs as a separate batch check rather than inside the attention kernel, avoiding GPU synchronization races. - The feature is enabled per deployment, while deployments that do not use it incur no measurable overhead. ## Future Work - Cloudflare is expanding FP8 KV caches across its fleet. - It is testing NVFP4 weight compression on NVIDIA Blackwell GPUs. - The company is also working toward making cache integrity checks universally enabled at negligible cost. Together, these optimizations let Cloudflare serve larger models with more concurrent users, lower inference costs, and essentially unchanged model quality. Separating prefill and decode workloads is central to applying each precision choice where it delivers the best trade-off.

Netflix2026-07-174 min readCurated summary

In-House LLM Serving at Netflix

Netflix built an in-house LLM serving platform within its existing production ML infrastructure rather than creating a separate ML stack. The platform combines a JVM-based serving layer, NVIDIA Triton, GPU-backed Model Scoring Service, and an OpenAI-compatible HTTP frontend. Its main design choices—vLLM, model packaging, API compatibility, and deployment strategy—prioritize operational flexibility and seamless movement from hosted models to self-hosted ones, while production exposed versioning and compatibility risks. ## Architecture and Serving Model - Netflix’s unified JVM serving system handles routing, A/B testing, feature retrieval, inference, post-processing, and logging. - Callers access models through: - A gRPC path integrated with the existing serving system. - A direct HTTP path for newer LLM applications. - Small CPU models run in-process to avoid remote-call overhead. - Larger GPU models run through Model Scoring Service (MSS), which supports XGBoost, TensorFlow, PyTorch, and LLMs. - NVIDIA Triton manages model loading, batching, and GPU scheduling. - A Java control plane provides deployment, versioning, health checks, autoscaling, and multi-region rollout. ## Choosing vLLM as the Standard Engine - Netflix originally used TensorRT-LLM, but re-evaluated its choice as open-source engines improved and workloads diversified. - vLLM was selected based on operational fit rather than benchmark performance alone: - Supports custom model architectures without lengthy compilation. - Provides hooks for custom decoding and constraint logic. - Is easier to debug than earlier compiled-engine workflows. - Is familiar to many researchers, reducing the research-to-production transition cost. - The workload includes embeddings, prefill-only inference, autoregressive decoding, and custom per-step decoding constraints. ## Triton Integration and Model Packaging - Triton offers both a Python backend and a dedicated vLLM backend. - The Python backend requires explicit input and output tensor definitions, coupling packaged artifacts to frontend changes. - The vLLM backend uses a JSON configuration pointing to model weights and tokenizers, generating tensor specifications dynamically. - Netflix considers the vLLM backend the preferred default because models and frontends can evolve independently. - Production revealed two limitations: - Triton and vLLM must be version-pinned because incompatible APIs can prevent the backend from loading entirely. - Models requiring custom preprocessing, postprocessing, tokenization, or ensemble execution still need Triton’s Python backend. ## OpenAI-Compatible HTTP Frontend - Netflix keeps LLMs compatible with the same internal gRPC model-serving interface used by other model types. - It also exposes an OpenAI-compatible API because that interface is widely supported by inference engines, orchestration tools, evaluation systems, and client libraries. - This makes replacing a hosted model with a fine-tuned self-hosted model largely transparent to callers. - The implementation uses Triton’s OpenAI-compatible frontend, FastAPI, and a `TritonLLMEngine` that translates requests into Triton inference calls. - KServe HTTP and gRPC frontends remain available for the Java control plane. - Netflix found that Triton’s frontend silently discarded the `response_format` parameter, meaning JSON requests could reach vLLM without guided decoding and produce malformed output. - The team patched the frontend to translate `response_format` into vLLM guided-decoding parameters. ## Deployment and Rollout Strategies - GPU services require longer startup times than CPU services, and model versions may change input/output schemas. - Netflix supports Red-Black deployment: - Runs the new version alongside the old one. - Performs health checks before shifting traffic. - Gradually scales up the new version while scaling down the old one. - Supports atomic rollback if deployment fails. - Red-Black deployment works well when the model interface remains stable. - Production exposed a schema-coordination problem: if a new model changes tensor dimensions or other I/O requirements, upstream callers may send old requests to the new model during the migration window, causing failures. - The post introduces a Versioned strategy as a solution, but the provided text ends before explaining its implementation. Netflix’s experience suggests that successful in-house LLM serving depends as much on compatibility and deployment mechanics as on raw inference speed. A practical platform should standardize on an extensible engine such as vLLM, preserve ecosystem-compatible APIs, tightly control engine versions, retain escape hatches for custom models, and explicitly coordinate model-schema changes during rollout.

GitLab2026-05-212 min readCurated summary

More AI models for GitLab Duo Agent Platform Self-Hosted

GitLab 19.0 expands open source model support for Duo Agent Platform Self-Hosted, giving regulated and air-gapped teams more capable AI options without sending source code to external APIs. The update supports selecting different models for different workflows and enables both fully on-premises and hybrid deployments. GitLab’s goal is to reduce the capability gap between isolated environments and cloud-based AI services. ## Challenges for Regulated and Air-Gapped Teams - Data residency, compliance rules, and network isolation often prohibit third-party AI APIs. - Air-gapped environments must run inference locally because they have no internet or external connectivity. - Teams have traditionally faced a trade-off between using an underpowered model and deploying an unnecessarily large model for routine tasks. - These constraints have limited AI productivity gains in highly regulated environments. ## Expanded Open Source Model Support GitLab evaluated models for: - Multi-step tool use - Instruction adherence - Code generation - Reasoning across large diffs and multi-file codebases Newly supported models include: - Mistral Devstral 2 123B - GLM-5.1 - Kimi-K2.6 - MiniMax-M2.7 ## Deployment Options - The recommended setup uses on-premises hardware with vLLM for model serving. - Organizations can also deploy models on GPU-enabled virtual machines in private clouds. - Both approaches keep data within the organization’s controlled environment. - Fully air-gapped teams should use locally hosted models and consult hardware requirements for each model. - Hybrid deployments can combine self-hosted and GitLab-managed models on a per-feature basis. ## Availability and Licensing - Offline-license customers need the GitLab Duo Agent Platform Self-Hosted add-on. - Online-license customers can use usage-based models and combine self-hosted and GitLab-managed models. GitLab recommends choosing models and infrastructure based on network isolation, compliance requirements, hardware availability, and workflow needs. The expanded support makes self-hosted AI a more practical option for organizations that require strict control over their code and data.

Pinterest2026-02-024 min readCurated summary

Beyond Two Towers: Re-architecting the Serving Stack for Next-Gen Ads Lightweight Ranking Models…

Two-Tower models make retrieval and lightweight ranking highly efficient by scoring user and item embeddings with a dot product, but they cannot represent rich user-item interactions or deep feature crossings. This post describes an ads-serving redesign that introduces general-purpose GPU models while preserving end-to-end latency. The main strategy is to reduce data movement, move filtering logic onto the GPU, and optimize inference from an initial 4-second p90 latency to about 20 milliseconds. ## Why Move Beyond Two-Tower Models - Two-Tower architectures independently encode users and items, enabling fast scoring across millions of candidates. - Their decoupled structure limits: - User-item interaction features - Target attention - Early feature crossing - Deep architectures requiring simultaneous access to user and candidate data - More expressive models require GPU-based general-purpose inference rather than specialized dot-product or ANN retrieval. - The existing retrieval stack was not designed to transfer large candidate and feature sets to a GPU, creating a major latency challenge. ## Restructuring the Serving Funnel The traditional funnel consisted of: - Feature expansion for thousands of candidates - Retrieval and Two-Tower lightweight ranking - Heavy ranking and auction processing for the top documents Adding GPU inference directly to this flow would require fetching, serializing, transferring, and returning features for tens of thousands of documents. The authors therefore redesigned the entire early-stage serving pipeline instead of optimizing the model alone. ## Segmenting the Inventory for Feature Fetching Feature retrieval was a major latency source, often taking longer than model inference for workloads ranging from 10,000 to 100,000 documents. - **High-value inventory:** Roughly 1 million documents responsible for a substantial share of revenue have their features embedded in the PyTorch model as registered buffers. - Features become part of the model state, similar to weights. - They remain in GPU high-bandwidth memory. - Requests avoid remote feature-service calls and host-to-device transfers. - The model file must be periodically updated to refresh features. - Future work may include GPU-based caching. - **Long-tail inventory:** The remaining roughly 1 billion documents use a high-performance key-value store with in-host caching. - The post focuses on the first strategy, which is already running in production. ## Moving Business Logic onto the GPU Previously, the model returned scores for approximately 100,000 candidates, while CPU-side code handled utility calculation, filtering, diversity, deduplication, and top-k selection. - The new PyTorch model performs these operations directly: - Combines pCTR, pCVR, bid, and other signals into utility scores. - Applies diversity and filtering rules. - Performs top-k selection. - The GPU returns only the final winners—typically around 1,000 documents—instead of all candidate scores. - This reduces device-to-host data transfer and takes advantage of GPU parallelism. - The approach works because lightweight-ranking business rules are sufficiently simple to express with tensor operations. ## Reducing GPU Inference Latency Initial GPU inference measured roughly 4,000 ms at p90, far too slow for real-time serving. Several systems optimizations reduced this to approximately 20 ms: - **Multiple CUDA streams:** Separate streams for workers allow host-to-device transfers, computation, and device-to-host transfers to overlap. - **Worker alignment:** Worker threads are matched and pinned to physical CPU cores to reduce context switching and lock contention. - **Kernel fusion:** Triton kernels combine operations such as linear layers and activations, reducing memory traffic. - **BF16 computation:** Brain Floating Point 16 lowers memory usage and accelerates arithmetic compared with FP32. - **Profiling tools:** PyTorch Profiler and NVIDIA Nsight Systems were used to identify bottlenecks. ## Practical Recommendation Deploying more expressive ranking models requires rethinking the serving architecture around data movement and execution placement. Embedding frequently used features, executing business logic on the GPU, and applying low-level CUDA and kernel optimizations can make complex neural ranking feasible without increasing end-to-end latency.

OpenAI2024-10-223 min readCurated summary

Simplifying, stabilizing, and scaling continuous-time consistency models

# Simplifying, Stabilizing, and Scaling Continuous-Time Consistency Models Diffusion models produce high-quality images, 3D models, audio, and video, but they need dozens to hundreds of sequential steps to sample. The authors introduce sCM, a simplified formulation of continuous-time consistency models that stabilizes training at large scale. A 1.5B-parameter sCM generates samples with quality comparable to leading diffusion models in just two steps, roughly a 50x wall-clock speedup. ## Why Diffusion Sampling Is Slow - Diffusion models generate samples through a long sequence of denoising steps, which limits efficiency for real-time use. - Existing distillation methods can speed up sampling, but they often bring high compute costs, complex training, or reduced sample quality. ## The sCM Approach - The authors simplify the theoretical formulation of continuous-time consistency models and further stabilize their training. - This enabled scaling to 1.5 billion parameters on ImageNet at 512×512 resolution, which the authors describe as unprecedented for continuous-time consistency models. - Consistency models aim to map noise directly to a clean sample in one step, rather than following the gradual path of a diffusion model. - sCM distills knowledge from a pre-trained diffusion model (the "teacher"). ## Performance and Scaling Behavior - The largest model generates a single sample in 0.11 seconds on one A100 GPU, with no inference optimization. - Evaluation uses Fréchet Inception Distance (FID), where lower is better, and effective sampling compute, which estimates total compute per sample. - Two-step sCM samples achieve FID scores within 10% (relative) of the teacher diffusion model, which needs hundreds of steps, while using less than 10% of its effective sampling compute. - The relative FID gap stays consistent across several orders of magnitude of model size, so the absolute quality gap shrinks as models scale. - Adding sampling steps further reduces the quality gap. ## Limitations - The best sCMs still depend on pre-trained diffusion models for initialization and distillation, leaving a small but consistent quality gap versus the teacher. - FID is an imperfect proxy for sample quality, so close FID scores don't always mean close visual quality. Evaluation may need to vary by application. ## Conclusion sCM makes continuous-time consistency models practical at large scale, offering diffusion-level sample quality with two sampling steps. The authors plan to keep improving inference speed and sample quality for real-time generative AI across image, audio, and video. For applications where latency matters, a two-step consistency model is a strong alternative to a full diffusion sampler, though teams should validate quality beyond FID.

OpenAI2022-12-152 min readCurated summary

Point-E: A system for generating 3D point clouds from complex prompts

Point-E, a system from December 2022, generates 3D object point clouds from text prompts in one to two minutes on a single GPU. State-of-the-art text-to-3D methods need multiple GPU-hours per sample, while image generators produce results in seconds or minutes. Point-E trades some sample quality for speed of one to two orders of magnitude, which the authors present as a practical option for certain use cases. ## The Speed Gap in Text-to-3D Generation - Leading text-conditional 3D methods show promising results but typically require multiple GPU-hours for a single sample. - Generative image models, by comparison, produce samples in seconds or minutes, which makes the 3D gap stark. ## A Two-Stage Pipeline - A text-to-image diffusion model first generates a single synthetic view of the requested object. - A second diffusion model then produces a 3D point cloud conditioned on that generated image. - Splitting the problem this way lets the system rely on the fast image stage before the 3D stage. ## Trade-offs and Release - Point-E still falls short of state-of-the-art methods in sample quality. - It is one to two orders of magnitude faster to sample from, which the authors argue makes it useful where speed matters more than fidelity. - The authors released their pre-trained point cloud diffusion models along with evaluation code and models.