DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale
Paper · 2022 · Reza Yazdani Aminabadi, Samyam Rajbhandari, Minjia Zhang et al.
Summary
Running a large language model efficiently requires more than fitting its parameters into memory. An interactive application needs answers quickly, an offline application needs to process substantial work economically, and a researcher with limited hardware may need a way to run the system at all. DeepSpeed Inference addresses these requirements through a coordinated design for computation, communication, and memory placement. Its central argument is that inference has execution patterns that training systems do not adequately accommodate: small batches frequently spend much of their time reading parameters, generated tokens depend on earlier outputs, and cached attention states compete with parameters for scarce GPU memory.
The system has distinct paths for different resource constraints. DeepSpeed Transformer assumes that the parameters fit across the available GPUs. It combines specialized kernels with distributed execution for dense transformers and sparse mixture-of-experts transformers. Deep-Fusion groups compatible operations so that they exchange intermediate results through registers or shared memory rather than repeatedly accessing GPU global memory. Custom matrix multiplication kernels improve parameter reading for small batches. Beyond an individual GPU, tensor parallelism combines memory bandwidth, pipeline parallelism expands capacity across nodes, and specialized expert communication supports sparse systems across hundreds of GPUs.
ZeRO-Inference addresses applications that can tolerate longer response times but have insufficient GPU memory. It keeps parameters in CPU memory or NVMe storage and brings layers onto the GPU as execution reaches them. This leaves more GPU space for inputs and intermediate states, allowing larger batches to amortize parameter transfers. Prefetching overlaps transfers with computation, while a distributed fetching strategy uses the PCIe connections of multiple GPUs together. The design therefore treats GPU memory as a resource to allocate according to the workload, instead of assuming that retaining as many parameters as possible is always the best choice.
The experiments report substantial improvements under several different conditions. Against FasterTransformer, the dense decoder experiments show small-batch speedups reaching 1.55× for FP16 and 1.95× for INT8, with the latter compared against an FP16 baseline. Sparse inference improves latency by as much as 7.3× against a distributed PyTorch implementation. A trillion-parameter sparse configuration runs below 25 ms per generated token across hundreds of GPUs. For throughput-oriented dense generation, the reported improvements include 1.51× for the 175B configuration and over 1.53× for the 530B configuration. Separately, ZeRO-Inference runs a 530B configuration on a single A6000 GPU with access to external memory and reaches throughput of up to 84 TFLOPS in its offline evaluation.
These findings establish a systems result, instead of an improvement in linguistic capability. The gains come from changing how inference uses the hardware: reducing repeated transfers, matching execution schedules to generation dependencies, coordinating parallelism, and selecting an appropriate memory hierarchy. They also describe different operating points. The low-latency results rely on substantial GPU resources, while the single-GPU capacity result relies on CPU memory or storage and large batches. The paper’s contribution is to make these choices part of a coherent inference system and to measure their effects across markedly different deployment conditions.
Deep dive: DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale
DeepSpeed Inference combines GPU kernels, distributed execution, and memory offloading to serve large transformers efficiently. · about 39 minutes to read
The problem and its context
Why inference needs its own execution strategy
A transformer performs a sequence of attention and feed-forward operations using learned parameters. The paper studies how to execute those operations after training, when the system receives a prompt and produces outputs. Its concern is the practical cost of using increasingly large transformers: how long a request takes, how much work the hardware completes, and whether the parameters and intermediate states fit into available memory.
The authors distinguish latency from throughput. Latency concerns the elapsed time before a batch’s requested outputs are available. Throughput concerns the amount of work completed over time. These objectives interact, but a configuration that serves one well may serve the other poorly. An interactive service cannot simply keep increasing its batch until the GPU becomes efficient, because waiting for or processing a larger batch can violate response-time requirements.
For small batches, the paper identifies parameter movement as a fundamental constraint. A large collection of weights must be brought from GPU memory into the processing hardware even when relatively little input work is available. Under these conditions, arithmetic capacity can remain underused because the system is waiting for data. Effective memory bandwidth becomes a more useful guide to performance than the GPU’s advertised arithmetic peak.
This changes what a good kernel should do. Training-oriented matrix multiplication usually operates on sufficiently large inputs to emphasize compute utilization. Inference may instead involve narrow matrix shapes with little work per invocation. The authors argue that the standard implementations available to them do not use memory bandwidth well enough for these shapes. Other operations, including normalization and softmax, add launch overhead and transfers of temporary values.
Throughput presents a related problem. Increasing batch size initially allows more useful computation to accompany a parameter read. If that added computation can fit within the time already spent moving weights, the system can process more inputs without a corresponding increase in latency. Realizing this benefit requires kernels that use both bandwidth and computation effectively at relatively small batch sizes, rather than becoming efficient only at the much larger batches common in training.
Scale makes communication part of the computation
The paper places these execution issues in the context of rapidly growing transformers. Its background moves from systems such as BERT and RoBERTa to substantially larger generative systems. It names GPT-3 at 175B parameters, Gopher at 280B, and MT-NLG at 530B as examples of this expansion.
At that scale, inference cannot be understood as an isolated kernel problem. Parameters may exceed the memory capacity of an individual device or an entire node. The introduction estimates that MT-NLG requires about 1TB for parameters alone during inference. Distributing the work can provide the necessary capacity and bandwidth, but it also introduces communication that can consume the time saved by parallel computation.
The authors describe tensor parallelism as dividing operations within a layer among GPUs. This provides access to their combined memory bandwidth, but the partial results must be reconciled through collective communication. As the partition becomes finer, each GPU receives a smaller computation, while communication remains necessary. Crossing node boundaries is especially costly because the interconnect between nodes is slower than the connections within a node.
Pipeline parallelism makes a different tradeoff. It assigns consecutive parts of the network to different stages, allowing a larger network to occupy multiple nodes. Communication primarily passes results between neighboring stages. Earlier training systems, including PipeDream, developed ways to keep such stages busy with micro-batches. The inference problem inherits this general structure but adds dependencies that require a different schedule.
The paper also draws on Megatron-LM and the associated work on large-scale training. It treats established parallelism techniques as useful ingredients whose schedules and communication patterns must be adapted. The proposed system does not discard them; it asks which combinations remain effective when batches are small and outputs arrive sequentially.
Generating text changes the memory and scheduling problem
In autoregressive text generation, the next token depends on the tokens already produced. This creates a feedback path through the full network. A pipeline cannot necessarily process every future token of a sequence as soon as a stage becomes free, because those future tokens do not yet exist.
Attention caching adds another constraint. Rather than recomputing earlier key and value activations whenever a new token is generated, the system retains them. This key-value cache saves computation, but its memory requirement grows with the concurrently active sequences. A configuration may therefore fit its parameters yet still lack room for a batch large enough to use the hardware efficiently.
The authors further distinguish processing an input prompt from continuing an already processed sequence. Prompt processing handles the prompt’s tokens together. Subsequent decoding reuses cached states and introduces a newly generated token at a time. The amount of available work differs sharply between these phases, so a single micro-batch arrangement can be inappropriate for both.
Sparse mixture-of-experts transformers complicate distribution further. As the paper describes them, these systems replace feed-forward blocks with collections of experts and a gate that selects which experts process particular tokens. Increasing the expert collection expands parameter capacity without requiring every token to execute every expert. The background connects this approach with work such as GShard.
The resulting execution is sparse in computation but demanding in memory and communication. The paper notes that sparse systems can have up to 8× the parameters of dense alternatives with comparable quality. Expert routing also moves tokens between devices. An efficient implementation must therefore handle both the shared dense computation and the distributed expert computation.
What earlier optimization systems left unresolved
The related-work discussion recognizes substantial prior work on operator fusion, transformer kernels, compilers, and compression. It describes earlier fusion approaches as concentrating mostly on elementwise operations and reductions. The authors argue that additional opportunities exist in transformations of tensor layout, matrix multiplication boundaries, later feed-forward operations, and expert routing.
They also distinguish their scope from deployment systems such as TVM, ONNXRuntime, and TensorRT. In the paper’s account, these systems had primarily addressed workloads that fit within an individual GPU. FasterTransformer provides the closest distributed inference comparison because it already supports transformer execution across multiple GPUs.
Compression addresses another part of the problem. Distillation, quantization, and sparsification can reduce the amount of computation or storage required, sometimes with an accuracy tradeoff. DeepSpeed Inference presents execution optimization as complementary to these techniques. Its main question is how to use available resources effectively for the chosen representation, rather than how to train a smaller replacement.
The method, step by step
Choose the execution path from the resource constraint
The system begins with a practical distinction: can all parameters remain in the aggregate memory of the available GPUs? If they can, DeepSpeed Transformer organizes execution around those resident parameters. If they cannot, ZeRO-Inference uses the larger memory hierarchy outside the GPU and streams parameters into execution.
Within the GPU-resident path, the design builds upward from local operations. Efficient kernels reduce overhead on each device. Tensor and pipeline parallelism then distribute dense computation. Sparse expert execution adds its own placement, communication, and routing optimizations. This layered structure matters because distributed execution still depends on the efficiency of the work performed locally.
The offloaded path follows a different resource allocation. It accepts parameter-transfer costs in exchange for much larger effective capacity and more GPU space for a large batch. The intended workload is less sensitive to individual-request latency. The paper does not propose that storage-backed layer streaming should replace GPU-resident execution for every application.
How DeepSpeed Inference organizes execution
The steps in order.
Fuse operations around their data dependencies
A GPU kernel launch starts a scheduled unit of device work. If consecutive operations use separate kernels, intermediate values are commonly written to global memory and later read again. For a small inference workload, the time spent launching kernels and moving these temporary values can become a substantial part of total execution.
Deep-Fusion reduces these boundaries. Its guiding question is whether adjacent operations can process matching pieces of data without requiring different thread blocks to exchange intermediate results. A thread block is a cooperating group of GPU threads. Work within a block can use local synchronization and shared memory; communication between blocks is more difficult and can force a separate kernel boundary.
The authors divide the computation along dimensions whose tiles can proceed independently. Dimensions containing dependencies remain inside a tile. If an output tile from an earlier operation provides exactly the data required by a tile in the following operation, the operations can execute together.
Layer normalization illustrates the principle. Its reductions introduce dependencies across the values being normalized, so arbitrary partitioning would prevent local completion. Deep-Fusion instead partitions along the token dimension while keeping the required reduction work inside the block responsible for that token tile. The block can then perform the normalization’s constituent operations without sending intermediate values through separate global-memory stages.
The same reasoning extends beyond elementwise expressions. The paper applies it to reductions, changes in data layout, and suitable matrix multiplications. Registers and shared memory retain intermediate results where possible. The benefit is therefore not simply that fewer kernel names appear in an execution trace: fewer values need to travel through the more expensive global-memory path.
For small batches, the authors identify fusion regions around the initial query, key, and value projection; the attention-related transformations; the later normalization and intermediate feed-forward multiplication; and bias or residual additions. These regions follow the dependencies of the transformer layer instead of a blanket rule that all adjacent operators should be merged.
Some fusion requires repeating a small amount of work. Before an intermediate matrix multiplication, the implementation broadcasts the input batch across streaming multiprocessors and repeats preceding operations locally. This avoids communication that would otherwise separate the operations. The authors report that, for very small batches, the saved overhead outweighs the duplicated work.
For larger batches, the implementation preserves the general fusion strategy but leaves matrix multiplications to cuBLAS. Those operations remain separate kernels. The design therefore changes with the shape of the workload: a custom fused multiplication is useful where overhead and bandwidth dominate, while a library multiplication is retained where it already uses arithmetic hardware effectively.
Make small matrix multiplications read weights efficiently
The custom small-batch matrix multiplication is called SBI-GeMM. GeMM refers to general matrix multiplication, the operation used by the linear projections that contain much of the parameter storage. The difficulty here is a skinny input shape: little input work must be multiplied by a large weight matrix.
The first design choice concerns tiling. The kernel normally partitions the output dimension, assigning output regions to different blocks. Keeping the reduction over input values inside a tile allows the multiplication to finish within a single kernel. This arrangement is compatible with the dependency requirements of Deep-Fusion.
A small network can have an output dimension too narrow to create enough concurrent tiles. In that case, the implementation also partitions the input dimension. More blocks can then work in parallel, but their partial results require an additional reduction. The paper accepts a separate kernel for that reduction when the extra parallelism is more valuable than retaining a single kernel.
The next issue is combining partial results within a thread block. Different warps produce contributions to the same output. A warp is a group of GPU threads that execute together. A conventional reduction through shared memory can require repeated synchronization, which becomes costly when little other work is available.
The proposed kernel rearranges partial results in shared memory so that contributions belonging to an output are contiguous. A warp can then reduce those values using cooperative-group operations in registers. The final results are arranged for a coalesced write, meaning that neighboring threads access appropriately neighboring memory locations.
Weight layout supplies the final part of the design. The paper describes an L1 cache line of 128 bytes. Fetching a single FP16 or INT8 value per thread does not fully use that line. Simply asking threads to read additional output values would reduce the number of independent output tiles, potentially weakening the parallelism needed to achieve bandwidth.
Instead, initialization transforms the weight layout so that each thread reads several input-dimension values together. The layout parameter M is set to 2 for half precision and 4 for INT8. Here M describes the grouping used in the weight layout; it is separate from the hidden-dimension symbol used later in the expert-routing analysis. This preprocessing makes memory access more efficient without requiring the same reduction in output-side parallelism.
The kernels support FP32, FP16, and INT8 operations. For INT8 multiplication, the implementation uses tuned CUTLASS kernels. Quantization before multiplication is fused with neighboring work through Deep-Fusion, while dequantization is incorporated through the multiplication kernel’s epilogue support.
The final local optimization addresses CPU launch costs. After kernels become faster, issuing them can become the dominant overhead for some small workloads. The implementation records an execution trace using CUDA Graphs and reuses the resulting graph on later requests. This reduces repeated CPU involvement in launching the same sequence of operations.
Divide dense computation across GPUs
For dense transformers, the distributed path first uses tensor parallelism. Individual operators are split across GPUs, and all-reduce communication combines the resulting partial activations. The implementation uses NCCL collectives and applies the optimized local kernels within each partition.
This strategy provides more than additional parameter capacity. Multiple devices can read different parameter partitions concurrently, contributing their aggregate memory bandwidth. That makes tensor parallelism especially relevant to latency when an individual device cannot read the necessary weights quickly enough.
The paper limits how far this reasoning should be extended. More partitions mean smaller local operations, and collective communication becomes more expensive across nodes. DeepSpeed Inference therefore uses pipeline parallelism to expand beyond a node when capacity requires it, rather than assuming that ever-wider tensor partitioning remains efficient.
Pipeline parallelism assigns consecutive portions of the network to different stages. A micro-batch travels through these stages until the output token is produced. This provides aggregate memory capacity, but an individual micro-batch still visits the stages in sequence. The paper consequently distinguishes pipeline capacity scaling from tensor parallelism’s direct use of concurrent parameter reads.
Keep the generation pipeline active
Suppose a batch contains B sequences, denoted s₁ through s_B, and the pipeline has depth P. B is the number of sequences being served together; P is the number of pipeline stages. The scheduler divides the sequences into micro-batches, each of which becomes a unit of kernel execution.
For token generation, the design uses a micro-batch count matching P. Having enough micro-batches allows the stages to remain occupied. Increasing the count further brings costs: more batch-related memory and additional passes over parameters. The paper therefore seeks enough concurrent work to cover pipeline inactivity without creating unnecessary repeated work.
The autoregressive feedback path is crucial. When the last stage produces a token for a sequence that has not finished, that token becomes the input for its next decoding step. If execution repeatedly treats complete batches as isolated units, the pipeline drains and refills, producing idle intervals known as bubbles.
DeepSpeed’s scheduler instead returns unfinished sequences to a dynamic queue. Generated-token micro-batches continue circulating through the pipeline until their sequences terminate. This spreads the initial pipeline overhead across the generated output rather than paying a full drain-and-refill penalty at every token boundary.
Prompt processing requires a different arrangement. A prompt supplies substantial work per sample and can saturate computation. More micro-batches can reduce the relative cost of pipeline bubbles without changing the basic amount of arithmetic performed.
Decoding has much less work per sample and is frequently limited by weight reads. Additional micro-batches can then mean rereading weights more often. The hybrid scheduler uses more micro-batches for prompts and fewer for token generation. Its purpose is to adapt scheduling to the changing execution shape within the same request.
Manage the attention cache around predictable reuse
The key-value cache contains activations needed by later decoding steps. A sequence’s cached states are not immediately reused after its current token passes through a layer; their next use occurs when another token for that sequence is processed. The scheduler can exploit this predictable gap.
When cache allocation passes a threshold, the system moves some states into CPU memory while they are idle. The resulting GPU space can support a larger batch. The operation is useful only if the extra transfers do not stall computation enough to erase that benefit.
The implementation therefore overlaps cache movement with useful work. It also accounts for PCIe topology. In the hardware arrangement described by the paper, neighboring GPUs can share a PCIe link. Allowing them to offload simultaneously would create contention rather than independent bandwidth.
The proposed policy assigns odd layers’ offloading to odd-numbered GPUs and even layers’ offloading to even-numbered GPUs. This coordinates access to the shared link over the layer sequence. The broader point is that nominal device-level bandwidth is insufficient to predict transfer performance when devices share part of the physical path.
Combine parallelism techniques for sparse experts
A mixture-of-experts layer introduces token routing between experts. The shared dense operations and the expert operations have different distribution requirements, so DeepSpeed Inference coordinates tensor, data, and expert parallelism.
Tensor partitioning splits individual parameter arrays when additional bandwidth is useful. For expert parameters, the paper also uses expert slicing. Expert parallelism places different experts on different GPUs, preserving a substantial local operation rather than continually shrinking every operation through wider tensor partitioning.
The non-expert portion uses data parallelism to occupy the same broader collection of GPUs. This is appropriate because different data groups can execute their shared dense operations independently. The sparse layer then requires communication to send tokens to the devices hosting their selected experts and restore their ordering afterward.
A straightforward all-to-all exchange connects all participating expert-parallel devices. The authors identify its latency growth as an obstacle to scaling expert inference. Parallelism Coordinated Communication, abbreviated PCC, reduces the exchange by recognizing replication already created by tensor-parallel collectives.
The baseline device-count dependence is expressed as:
O(p)
Here p is the total GPU count. O denotes the asymptotic dependence used in the paper’s communication analysis. This expression describes scaling behavior, instead of a measured time or a complete hardware-specific performance equation.
If tensor parallelism has degree L, activations are replicated across the corresponding tensor ranks after an all-reduce. Tokens can therefore be exchanged among subsets with matching tensor ranks rather than across the full device collection. The reduced all-to-all term is:
O(p/L)
L is the tensor-parallel degree, and p again counts all GPUs. The division represents the smaller communication group enabled by replicated data. It does not mean that all communication costs disappear.
When execution returns from expert-parallel operations to tensor-parallel operations, the system also needs an all-gather within tensor groups. The paper gives the resulting dependence as:
O(p/L) + O(L)
The first term describes the reduced all-to-all. The second represents the additional tensor-group all-gather. PCC accepts this smaller reconstruction step to avoid the larger unrestricted exchange.
For its example with 128 GPUs, 8-way tensor partitioning, and 128-way expert parallelism, the paper writes the original latency expression as:
128C₁ + C₂
C₁ and C₂ summarize communication characteristics, including point-to-point latency, transferred message size, and bandwidth. The expression uses the example’s GPU count instead of supplying measured values for these constants.
With the coordinated exchange, the corresponding example becomes:
16C₁ + C₂
The constants have the same role. The changed coefficient describes the smaller participating group in that part of the communication. These expressions support the scheduling argument, but they do not by themselves specify an end-to-end inference speedup.
Replace sparse masking with direct routing structures
The expert gate determines which expert should process each token. The baseline representation uses one-hot assignments and sparse operations to construct routing, scatter tokens to experts, and gather processed tokens back. Though the representation contains many zeros, the execution still incurs substantial overhead from masks, cumulative sums, and sparse tensor operations.
The paper describes the sparse einsum routing complexity as:
S × E × M × cₑ
S denotes the total token count, E the expert count, M the hidden dimension, and cₑ the expert capacity. In this part of the paper, M refers to hidden size, not the earlier weight-layout grouping. The authors identify S, E, and M as the main factors and describe cₑ as normally small.
A major source of waste is that only a selected expert handles a token, while the generalized masking expression still contains operations involving unselected experts. DeepSpeed replaces the token-to-expert one-hot representation with a mapping table. It constructs the inverse expert-to-token mapping by scanning that table in parallel.
Routing then becomes a data-layout operation. The scatter implementation identifies the token locations assigned to an expert and copies them into the required expert input region. After expert computation, a corresponding transformation restores the original arrangement. The routing no longer needs the generalized sparse einsum expression.
The resulting complexity is written as:
S × M × cₑ
The symbols retain their preceding meanings. The expert-count factor is absent because execution follows direct assignments instead of processing the full expert-selection representation. Shared memory supports these transformations, and the implementation fuses the routing preparation while leaving the final rearrangement separate.
This optimization changes how an existing expert assignment is executed. It does not introduce a different learned gate or claim a new linguistic advantage from expert selection. Its contribution is to avoid an expensive general representation for a routing operation with a simpler structure.
Stream layers when parameters exceed GPU capacity
ZeRO-Inference builds on the heterogeneous-memory techniques of ZeRO-Infinity. Its main allocation decision concerns what should occupy GPU memory. Keeping a partial collection of parameters resident can save some transfers, but the authors argue that this choice leaves too little space for efficient batches when the complete parameter collection is much larger than GPU capacity.
The alternative keeps weights in CPU DRAM when sufficient capacity is available, or in NVMe storage otherwise. The GPU holds the layer or small group of layers currently needed. Remaining GPU memory supports inputs, intermediate values, and the larger batch that makes each fetched layer do more useful work.
The paper’s motivating example uses an input length of 2048. It states that a GPT3-175B layer requires about 7 TFlops for an input with batch size 1. A sufficiently large batch can therefore provide substantial computation after the layer arrives. Under favorable conditions, computation dominates the time required to fetch parameters.
Prefetching strengthens this arrangement. A configurable number of future layers can be transferred while the current layer executes. Increasing this distance uses additional GPU memory, so the system exposes a tradeoff between transfer overlap and space available for the batch.
With multiple GPUs, each device fetches only a partition of the next layer over PCIe. The partitions are then assembled through the faster GPU interconnect. This uses aggregate host-to-device bandwidth instead of making every GPU independently fetch a complete copy over its own slower route.
The implementation also employs asynchronous bulk I/O, parallel requests, pinned memory, scheduling, and avoidance of unnecessary copies. The authors explicitly attribute these supporting storage techniques to earlier work instead of presenting them as new contributions. DeepSpeed is released as an open-source system; the paper’s novelty lies in the inference-specific organization and optimization of these mechanisms, not a new training or data-collection procedure.
Experiments and results
What the evaluation measures
The experiments evaluate execution performance rather than task accuracy. There is no named linguistic benchmark dataset or reported train–test split for the principal measurements. Instead, the authors specify transformer configurations, prompt lengths, generation lengths, batch sizes, numerical precision, and hardware. These settings define the workloads whose execution is timed.
Latency is the elapsed time required to produce the requested outputs for a batch of prompts. Token throughput measures processed tokens per second. Compute throughput is expressed as TFLOPS per GPU. These metrics answer different questions, so the evaluation separates latency-sensitive generation, throughput-oriented generation, and inference under limited GPU capacity.
For dense latency measurements, the input contains 128 tokens and the system generates 8 tokens. Batch size varies. For sparse measurements, prompts again contain 128 tokens, but generation runs for 100 tokens at batch size 8; the reported latency concerns an individual generated token.
The throughput-oriented workload uses prompts of 512 tokens and generates 50 tokens. The limited-resource evaluation instead measures compute throughput while producing a single token, using the largest batch that fits. This last setup deliberately emphasizes the amount of useful computation sustained by a memory-constrained configuration.
The main dense comparison uses FasterTransformer. The sparse baseline is a distributed PyTorch implementation supporting tensor and expert parallelism. A separate comparison uses E.T. for smaller encoder configurations. These are distinct comparison sets, instead of a universal leaderboard in which every implementation executes every workload.
Architectures and hardware
The dense configurations cover a wide range of parameter counts. The smaller group includes 1.5B, 2.7B, 6B, and 13B configurations. Another group includes 20B, 50B, and 87B configurations, followed by the larger 175B and 530B cases. The architectures vary hidden dimension, layer count, and attention heads according to the GPT-style designs described in the paper.
The smaller configurations provide individual-GPU tests, while larger configurations require tensor partitioning or a combination of tensor and pipeline parallelism. The 175B throughput configuration uses tensor degree 8 with pipeline degree 2. The 530B throughput configuration uses tensor degree 8 and pipeline degree 5.
The sparse configurations contain 128 experts and span substantially larger total parameter counts. The table reports 52 billion parameters for the smallest configuration, with larger cases of 107.7 and 349.0 billion. Its largest entries are 1064.9 and 2024.0 billion parameters. The smaller sparse configurations use 128 GPUs; the largest use 256 GPUs with additional expert slicing.
The main cluster contains up to 256 A100 GPUs, each with 40GB of memory. For the limited-resource experiments, the paper describes an A6000 workstation containing 2×A6000-48GB-GPU, 256GB DRAM, and 2TB NVME. It also uses a DGX2 V100 server with 16×V100-32GB-SXM-GPU, 1500GB DRAM, and 30TB NVME.
These distinctions are important when reading the capacity claims. A result described as single-GPU inference still has access to the host memory and storage of its test machine. It does not imply that all parameters occupy that GPU or that the host resources are irrelevant.
Dense latency against FasterTransformer
For the dense latency comparison, both implementations use the same tensor-parallel strategy. This holds distribution fixed and makes kernel implementation the principal source of the measured differences. The comparison includes DeepSpeed FP16 and DeepSpeed INT8 against FasterTransformer FP16.
At small batches, DeepSpeed FP16 reaches a speedup of 1.55×. The authors attribute this to fusion and the custom matrix multiplication, especially for smaller configurations where each kernel performs little work. The INT8 implementation reaches 1.95× against the same FP16 baseline, benefiting additionally from the smaller parameter representation.
Dense GPT-style configurations, maximum small-batch speedup over FasterTransformer FP16
The INT8 implementation reaches a larger reported maximum, while FP16 also improves execution.
The numbers
| System or setting | speedup over FasterTransformer FP16 |
|---|---|
| DeepSpeed FP16 | 1.55 |
| DeepSpeed INT8 (this paper) | 1.95 |
These are maxima across the evaluated configurations, not measurements of a common named configuration at a shared batch size. The chart therefore compares the reported envelopes of improvement. It should not be read as a direct precision comparison with all other variables fixed.
At larger batches, the FP16 implementation reaches 1.57× and the INT8 implementation reaches 1.93× against the FP16 baseline. The paper explains that the source of improvement changes as matrix multiplication becomes more efficient. Avoiding transfers in the remaining operations becomes increasingly valuable.
Dense GPT-style configurations, maximum larger-batch speedup over FasterTransformer FP16
Both DeepSpeed implementations improve on the baseline in the larger-batch evaluation.
The numbers
| System or setting | speedup over FasterTransformer FP16 |
|---|---|
| DeepSpeed FP16 | 1.57 |
| DeepSpeed INT8 (this paper) | 1.93 |
The INT8 comparison also has a baseline-availability qualification. The paper states that FasterTransformer did not support the required decoder INT8 computation at the time, although it supported INT8 for encoder-only transformers. Accordingly, this result combines representation and execution differences rather than comparing competing decoder INT8 implementations.
Sparse inference at large scale
The sparse evaluation compares DeepSpeed’s expert inference with the distributed PyTorch baseline under matching data, tensor, and expert parallelism configurations. DeepSpeed additionally supplies expert slicing, coordinated communication, and specialized sparse kernels. The comparison measures the benefit of that implementation package.
Across the reported sparse tests, the maximum latency improvement is 7.3×. The paper also reports that a trillion-parameter sparse configuration can generate a token in under 25 ms. These results use large GPU collections, with the evaluation reaching 256 GPUs.
The accompanying bandwidth result is 128 TB/sec, reported as 33 % of aggregate peak memory bandwidth. This is the quantity relevant to the authors’ explanation of the workload. Low arithmetic intensity means that keeping arithmetic units busy is not the same objective as quickly supplying the necessary parameters.
The authors emphasize that substantial communication makes this bandwidth utilization difficult at large scale. The result therefore supports the combination of expert placement, routing efficiency, and communication scheduling. It does not show that sparsity alone removes the need for a large memory system.
The latency measure also deserves attention. It concerns a generated token under the specified prompt, generation length, and batch size. It is not the elapsed time for an arbitrary user conversation or an entire completion of unspecified length.
Throughput-oriented generation
For the 175B configuration, DeepSpeed Transformer delivers a 1.51× throughput improvement over the best FasterTransformer configuration tested. This comparison uses the two-node A100 setup and allows each configuration to use the batch size that gives it the best performance.
The authors attribute the improvement to the pipeline schedule and the ability to support larger batches through memory and communication optimizations. That explanation differs from the controlled dense latency comparison: here the system is allowed to choose a more favorable operating configuration instead of keeping every scheduling and batch variable identical.
For the 530B configuration, the reported improvement exceeds 1.53× relative to FasterTransformer using tensor parallelism alone. DeepSpeed uses the multi-node configuration combining pipeline and tensor parallelism. The authors report that their attempt to run FasterTransformer with both forms of parallelism crashed.
This is useful evidence about the working systems in the experiment, but it narrows the comparison. It establishes an advantage over the operational tensor-only baseline. It cannot establish the performance of a hypothetical stable FasterTransformer pipeline configuration that the authors were unable to measure.
The broader throughput conclusion is therefore conditional but concrete: for these large dense workloads, coordinating scheduling, memory use, and communication improves the best achieved processing rate. It does not imply that adding pipeline stages always reduces response time for an individual request.
ZeRO-Inference under limited GPU capacity
The capacity experiment shows ZeRO-Inference executing the 530B configuration using a single A6000 GPU with external memory. The paper describes this as 25× the largest configuration supported by its GPU-only comparison, and identifies the comparison as 530B versus 20B.
This is the clearest demonstration of the heterogeneous-memory design’s purpose. The GPU no longer has to retain all weights simultaneously. Its capacity limits the active layers, batch-related state, and transfer buffers instead of the complete parameter collection.
The throughput evaluation reports a maximum of 84 TFLOPS. Against the A6000 theoretical peak of 158.4 TFLOPS, the authors report 54%. The operating condition is offline inference with very large batches, which provides enough computation to make layer streaming efficient.
For configurations whose parameters fit in CPU memory, the paper reports throughput over 25× that of its CPU-only solution. It also reports over 50% better throughput than a GPU-only solution for some configurations that already fit in GPU memory. The latter result comes from using the released GPU space for a larger batch.
This does not make parameter offloading universally faster. The measured advantage depends on the batch increase being valuable enough to outweigh parameter transfers. It illustrates a resource-allocation tradeoff: retaining weights can save movement, while freeing their space can enable more work per execution.
The multi-GPU evaluation uses the 50B configuration and reports near-linear throughput scaling up to 16 GPUs. The figure caption gives an individual-GPU reference of 67 TFLOPS, or 53% of peak, on the V100 system. The authors connect the scaling behavior to their use of aggregate PCIe bandwidth when fetching layer partitions.
What the ablations show
Local fusion and custom multiplication address different costs
The paper includes performance breakdowns, scaling analyses, and controlled comparisons instead of presenting only final system results. Its dense-kernel breakdown examines fusion and the custom matrix multiplication separately for GPT2. The figure caption identifies a Megatron baseline, while the surrounding discussion refers more generally to the PyTorch baseline.
Fusion supplies the initial latency reduction by removing launch boundaries and intermediate data movement. The custom multiplication then provides an additional small-batch benefit through better use of weight-reading bandwidth. These contributions address related but distinct sources of delay.
This distinction matters because a fused execution graph can still contain an inefficient matrix multiplication. Conversely, an efficient multiplication can be surrounded by normalization, transposition, and addition kernels whose launches and temporary transfers dominate the overall layer. The breakdown supports optimizing the surrounding execution as well as its largest arithmetic operation.
The larger-batch discussion strengthens that interpretation. As matrix multiplication becomes more efficient, non-multiplication transfers form a larger share of latency. Deep-Fusion continues to matter because it changes where intermediate values live, even when custom small-batch multiplication is no longer the preferred arithmetic kernel.
The paper does not provide a complete numerical decomposition in the prose for every fusion boundary. Its evidence supports the broad contributions of fusion and multiplication design, while the precise value of an individual fused operation remains configuration-dependent.
Pipeline throughput depends on more than stage placement
The massive dense inference breakdown adds the optimized kernels, inference scheduling, memory changes, and communication changes to the 530B execution. The purpose is to show why assigning layers to stages is insufficient on its own.
Scheduling keeps generated-token work moving without repeatedly draining the pipeline. Cache offloading makes larger batches feasible. Communication coordination prevents the resulting transfers from producing excessive PCIe contention. The optimized local kernels then execute each stage’s work more efficiently.
These mechanisms interact. Freeing memory is useful when it enables a productive batch increase, but that larger batch must still be scheduled effectively. Offloading can improve capacity while damaging performance if its transfers interrupt the GPU. A successful final configuration therefore depends on the compatibility of these decisions.
The breakdown should accordingly be read as a systems analysis, not as proof that each component has the same independent gain in every setting. The benefit of a memory optimization changes when the batch is no longer capacity-limited, and the benefit of a scheduler changes with pipeline depth and workload shape.
Hybrid scheduling improves prompt processing under specific conditions
The hybrid scheduling experiment evaluates the 175B configuration on the two-node A100 setup. The authors choose batch size 24 and compare prompt processing with FasterTransformer under combined pipeline and model parallelism, as well as a model-parallel-only configuration.
The reported prompt-processing speedups are 1.18x for the PP + MP comparison and 3.06x for the MP-only comparison. These values concern prompt processing, not the full generation latency of every request. They show that the choice of micro-batches affects the prompt phase enough to warrant explicit treatment.
The experiment also reveals an implementation issue. The authors observe a dramatic latency increase above batch size 24 and suspect a PyTorch AllReduce kernel problem. They leave resolving it to future work. This qualification restricts the explored operating range and prevents the experiment from establishing the best possible behavior at larger batches.
The conceptual result remains useful. Prompt processing supplies a different amount of work per sequence than decoding, and a schedule selected for one phase need not serve the other well. The evidence supports phase-specific scheduling within the tested range, while leaving the larger-batch behavior unresolved.
Expert kernels and communication jointly support scaling
The sparse analysis examines memory-bandwidth scaling for the 52B configuration from an A100 node towards 128 GPUs. DeepSpeed achieves higher effective bandwidth per GPU than the PyTorch baseline and retains better scaling as the GPU collection grows.
The authors attribute this to the combination of expert-routing kernels and all-to-all optimization. Efficient local routing prevents token preparation from consuming the savings obtained through faster communication. Reduced communication groups prevent large-scale exchange overhead from overwhelming the local kernel improvements.
The routing-kernel discussion reports more than 6× lower MoE kernel latency after replacing sparse representations and applying fusion. This is a component result. It should remain separate from the maximum end-to-end sparse inference improvement of 7.3×, which includes broader execution effects.
The complexity analysis explains the component gain without requiring a change to expert assignments. Direct tables and layout transformations avoid repeated operations across the full expert dimension. The implementation performs the movement actually required by routing rather than expressing it through a more general sparse computation.
Prefetching helps when transfers remain exposed
The ZeRO-Inference breakdown tests prefetching on a single V100 GPU. The paper reports a clearer benefit at small batch sizes and diminishing benefit as the batch grows.
This pattern follows the design argument. At small batches, the active layer supplies less computation, so waiting for the next layer can remain visible. Starting that transfer early reduces the exposed delay.
At larger batches, the current layer already executes long enough to cover more of the transfer. Additional prefetching has less remaining delay to hide. The analysis therefore supports configurable lookahead instead of an assumption that more prefetched layers always improve performance.
It also clarifies why high offline throughput does not imply equally strong small-request performance. The overlap opportunity comes from the duration of useful computation. A workload that provides little such computation cannot be expected to hide the same storage and PCIe costs.
The encoder comparison tests a narrower setting
The E.T. comparison uses DistilBERT and BERT on an A100 GPU, with batch size 1 and sequence length 128. DeepSpeed is reported as 1.7x faster for DistilBERT and 1.4x faster for BERT.
The authors explain the advantage through broader fusion, reduced launch costs, and improved memory-bandwidth use. This provides additional evidence that the local optimization strategy is useful outside the large decoder configurations.
The scope remains narrow. These encoder results do not establish the relative performance of E.T. for the enormous distributed decoder or sparse workloads, because those are not the compared conditions. They show a local-kernel advantage on the named encoder tests while the broader system supports additional execution settings.
Limitations
Limits the authors explicitly acknowledge
The authors draw a clear resource boundary around DeepSpeed Transformer: its parameters must fit in aggregate GPU memory. Supporting a larger dense or sparse configuration through that path requires enough devices to hold it. The impressive low-latency sparse results consequently depend on extensive GPU infrastructure.
ZeRO-Inference removes that particular capacity requirement by using CPU memory and NVMe storage, but the authors position it for applications with looser latency requirements. Fetching parameters over slower links has a cost. Large batches and overlap can amortize that cost, yet the paper does not claim that this execution path matches GPU-resident latency for small interactive requests.
The discussion of tensor parallelism also acknowledges a scaling limit. Dividing operators across additional devices creates smaller local work and more expensive collective communication. Across nodes, limited interconnect bandwidth makes unrestricted tensor scaling unattractive. Pipeline and expert parallelism are responses to this limitation, rather than evidence that the limitation vanishes.
The hybrid-scheduling experiment identifies unresolved behavior above batch size 24. The authors suspect an AllReduce implementation issue and leave its repair as future work. This is an explicit practical limitation in the measured execution, not merely a theoretical concern about possible bottlenecks.
Another acknowledged comparison constraint affects the 530B throughput result. The FasterTransformer configuration combining pipeline and tensor parallelism crashed in the authors’ tests. Their reported gain uses the working tensor-only baseline instead. The result remains informative, but it cannot substitute for the missing comparison.
The authors also distinguish their contributions from inherited storage engineering. Several NVMe and I/O techniques come from earlier work. Treating all of the observed offloading performance as the consequence of a newly invented storage stack would therefore overstate what this paper introduces.
What a careful reader should not infer from the measurements
The principal experiments do not evaluate output quality on a named language task. They measure execution under specified architecture and generation settings. A lower latency or a higher TFLOPS figure therefore says nothing by itself about whether answers are more accurate, useful, or reliable.
This is especially relevant to INT8. The paper reports performance against an FP16 baseline and explains the associated execution advantages. The reported evidence does not supply a matching account of task-quality changes caused by this representation. The speedup should not be expanded into an unmeasured claim of unchanged quality.
The workloads also define a limited view of serving behavior. Prompts, output lengths, and batches are deliberately controlled. The evaluation does not report a complete service-level picture involving arbitrary arrival patterns, request queues, varied stopping behavior, and competing applications.
Such omissions do not invalidate controlled performance experiments. They identify what those experiments establish: execution efficiency for the specified workload. Operational behavior under a broader request distribution would need additional measurements.
The distinction between per-token latency and full-request latency is particularly important. The sparse headline concerns token generation after a prompt under a fixed batch condition. It should not be treated as a universal time to process any prompt and return any completion.
Similarly, aggregate compute throughput is not equivalent to user-visible responsiveness. ZeRO-Inference can sustain substantial arithmetic work with very large batches, but a large batch can still entail a response time unsuitable for an interactive application. The paper’s separation of deployment goals should be retained when interpreting its results.
Memory capacity is shifted, not eliminated
The single-A6000 result demonstrates that an enormous parameter collection need not reside on that GPU. It does not make the collection disappear. Host memory or NVMe storage must still hold it, and the transfer path must supply successive layers quickly enough for the intended workload.
The testbeds therefore matter to the accessibility claim. A researcher may require fewer GPUs while still depending on substantial DRAM, storage capacity, and suitable I/O. The paper demonstrates a different resource balance, not inference without infrastructure.
Large batches also have their own memory costs. They require inputs and intermediate states, and autoregressive execution can retain attention caches. The effectiveness of layer streaming depends on a favorable allocation between these states, active parameters, and transfer buffers.
The paper’s central design makes that allocation explicit, but it does not offer a universally optimal allocation for all possible contexts. Different prompt lengths, generation lengths, and batch constraints can change which memory consumer dominates. The reported results should therefore remain attached to their operating conditions.
Hardware and implementation choices shape the gains
The experiments use the named A100, A6000, and V100 systems. Their bandwidth, compute capacity, PCIe organization, and GPU interconnects directly influence the mechanisms being tested. The odd/even offloading policy, in particular, is motivated by shared PCIe topology.
The measurements do not establish identical gains on other hardware arrangements. A machine with different interconnect structure or memory proportions could change the relative value of tensor partitioning, pipeline placement, cache offloading, or parameter prefetching. The design principles may remain relevant, but their numerical benefits require measurement.
The baselines are also concrete implementations with particular supported features. The dense latency comparison is relatively controlled because tensor partitioning is held fixed. Other comparisons include differences in supported scheduling, memory placement, or precision.
Those differences can be legitimate system advantages, but they affect causal interpretation. The INT8-versus-FP16 result does not isolate kernel engineering alone. The best-throughput comparison does not isolate a scheduler while keeping batch capacity unchanged. The sparse comparison tests a coordinated implementation package.
Some headline values also appear at different levels of precision within the paper. The introduction summarizes dense latency improvement as up to 1.9×, while the detailed small-batch INT8 discussion reports 1.95×. Sparse improvement is summarized as 7.2× in part of the introduction and 7.3× in the detailed evaluation. The detailed experimental statements provide the appropriate context for the corresponding claims.
Finally, the extracted figure text does not supply a complete numerical record for every plotted point. The paper supports the explicitly stated maxima, configurations, and qualitative breakdowns discussed here. It would be unwarranted to reconstruct additional values from incomplete labels or to treat a reported maximum as the expected gain across all configurations.
The paper establishes efficiency rather than a universal optimum
DeepSpeed Inference brings together many mechanisms, but the evaluation does not prove that its chosen combination is globally optimal. There is no exhaustive search over every possible partition, batch, transfer policy, and scheduling choice.
Nor does the paper require such a proof to make its contribution. It provides working implementations, controlled comparisons where feasible, and performance analyses explaining important bottlenecks. The justified conclusion is that inference-specific coordination substantially improves the tested systems.
The strongest reading therefore keeps capability, latency, throughput, and resource requirements separate. A configuration can become feasible without becoming interactive. A system can improve throughput without shortening every request. A faster representation can require a separate quality evaluation. These distinctions preserve the practical meaning of the reported gains.
What came after
The broader inference agenda
The citing literature extends across memory management, scheduling, decoding, hardware placement, and application surveys. Citation establishes that these works engage with DeepSpeed Inference as part of their research context. It does not, on its own, demonstrate that each inherits a particular kernel, reproduces a result, or implements the same scheduling policy.
That distinction is useful because the later-work titles identify several different directions. Some remain close to the paper’s concern with moving and retaining data. Others change the unit of serving, exploit different forms of sparsity, or reconsider the sequential structure of generation. Their relationship is best understood as an expanding set of approaches to the inference bottlenecks that DeepSpeed Inference organized into a system-wide problem.
The listed Efficiently Scaling Transformer Inference belongs to the same broad scaling discussion. Its title places efficient transformer execution at the center, but the citation relationship alone does not establish which DeepSpeed mechanism it adopts. It is also listed with the same year as DeepSpeed Inference, so the relationship should not be turned into an unsupported chronological account of direct succession.
DeepSpeed-MoE has a closer documented connection. DeepSpeed Inference itself cites it when discussing sparse execution and the need to coordinate expert and dense computation. Although it also appears among the citing works, it should be understood as related work within the same technical development, rather than automatically classified as a later application of the complete system.
Memory management becomes a central serving concern
PagedAttention explicitly focuses on memory management for language-model serving. This places it alongside the problem exposed by DeepSpeed’s attention-cache discussion: parameter capacity is only part of the memory challenge, because active generation states also constrain how much work can run concurrently.
The title identifies memory management as its contribution, but it does not establish that it uses DeepSpeed’s CPU offloading policy. The meaningful connection is the resource being managed. DeepSpeed shows how cache placement affects feasible batch size; PagedAttention’s stated subject makes serving memory itself a primary design target.
FlexGen addresses high-throughput generation with a single GPU. This is closely aligned with ZeRO-Inference’s deployment objective: make a large workload practical under constrained GPU resources while emphasizing processing rate. The title does not provide enough evidence to equate their memory-placement mechanisms.
LLM in a flash likewise identifies limited memory as its setting. Its stated focus continues the question of how inference can operate when the most convenient memory tier cannot contain everything. The connection is strongest at that problem level; detailed claims about its transfer strategy would require evidence beyond the title and citation.
Cache-specific works make this direction more specialized. H₂O frames efficient generation through a heavy-hitter approach, while Model Tells You What to Discard explicitly studies adaptive key-value cache compression. PyramidInfer also places key-value cache compression at the center of high-throughput inference.
These titles indicate an emphasis on the retained cache itself, whereas DeepSpeed’s described cache strategy moves states between memory tiers. Both directions respond to cache capacity, but movement and compression are different interventions. The citation relationship does not establish that the later compression methods derive from the offloading mechanism.
Landmark Attention names random access and context length as its concern. It therefore belongs to the broader discussion of how retained context is accessed. Its title supports that connection without establishing equivalence to DeepSpeed’s caching or scheduling.
Serving systems distinguish phases, programs, and deployments
Splitwise explicitly identifies phase splitting as its approach to efficient generation. This is a particularly clear conceptual neighbor to DeepSpeed’s distinction between prompt processing and token generation. DeepSpeed changes micro-batch scheduling between those phases; the later title indicates that phase separation becomes an organizing idea in its own right.
Mooncake names a cache-centered disaggregated architecture. Its subject connects the attention state to broader serving architecture instead of treating it only as local temporary memory. The title supports this architectural focus, while leaving the exact relationship to DeepSpeed’s transfer policies unspecified.
SGLang studies efficient execution of structured language programs. This widens the execution unit beyond an isolated forward pass or generation batch. DeepSpeed’s contribution concerns the underlying inference stack; SGLang’s stated subject places efficiency within a structured program of language operations.
AlpaServe connects statistical multiplexing with model-parallel serving. Its title therefore points toward coordinating shared serving resources, an issue broader than optimizing a fixed parallel execution. Punica identifies multi-tenant LoRA serving as another specialized deployment setting.
Other citing systems emphasize the lifecycle and reliability of deployment. SpotServe studies serving on preemptible instances. ServerlessLLM targets low-latency serverless inference. Their titles show that efficient execution becomes part of a wider resource-management problem, although they do not establish reuse of specific DeepSpeed components.
Reuse, sparsity, and decoding broaden the available interventions
Prompt Cache explicitly introduces modular attention reuse as a latency concern. CachedAttention places cached attention within cost-efficient serving for multi-turn conversations. Both titles emphasize reuse across a structured workload, extending the broader importance of avoiding unnecessary attention work.
Deja Vu names contextual sparsity as its inference strategy. PowerInfer emphasizes fast serving with a consumer-grade GPU. These stated objectives connect with DeepSpeed’s interests in sparse execution and constrained hardware, respectively, but their titles do not justify attributing a particular inherited mechanism.
Draft & Verify names self-speculative decoding as an acceleration approach. Lookahead Decoding explicitly addresses generation’s sequential dependency. These works identify the generation procedure itself as an intervention point, whereas DeepSpeed primarily improves the execution of the autoregressive computation it is given.
The distinction is substantive. DeepSpeed’s pipeline scheduler works around dependencies between successive outputs. The later titles indicate methods that reconsider how generation work is proposed or arranged. Their citation of DeepSpeed places these approaches in the same efficiency discussion without showing that they use its pipeline schedule.
Surveys place system optimization in a larger landscape
Several citing surveys organize the broader field. A Survey on Efficient Inference for Large Language Models names inference efficiency directly. Efficient Large Language Models takes a wider efficiency perspective, while Towards Efficient Generative Large Language Model Serving explicitly spans algorithms and systems.
LLM Inference Unveiled identifies roofline analysis as part of its perspective. That subject is closely related to DeepSpeed’s distinction between bandwidth-limited and compute-limited execution, although the title alone does not establish which of the paper’s measurements it analyzes.
Other citing surveys place inference within application or architecture discussions. The small-language-model survey covers techniques, applications, collaboration, and trustworthiness. The survey on agent-based modeling and simulation and the survey of personal LLM agents indicate application contexts in which capability must coexist with practical execution costs.
Chatlaw identifies a legal assistant organized through a role-aligned mixture-of-experts architecture. Its citation connects DeepSpeed Inference to an application-oriented use of expert terminology, but the title does not establish that it implements DeepSpeed’s distributed expert kernels.
Across these directions, DeepSpeed Inference remains useful as a concrete demonstration that inference performance depends on coordinated decisions across the stack. The later titles make different parts of that stack their focus: cache organization, phase separation, constrained-memory execution, reuse, deployment, or decoding. The documented connection is a shared research problem and a citation relationship; the technical inheritance of any particular mechanism must be established separately.
Cite
Cite as Reza Yazdani Aminabadi, Samyam Rajbhandari, Minjia Zhang, Ammar Ahmad Awan, Cheng Li, Du Li, Elton Zheng, Jeff Rasley, Shaden Smith, Olatunji Ruwase and et al. 2022. DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale. SC 2022.
@inproceedings{aminabadi2022deepspeed,
title = {{DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale}},
author = {Reza Yazdani Aminabadi, Samyam Rajbhandari, Minjia Zhang, Ammar Ahmad Awan, Cheng Li, Du Li, Elton Zheng, Jeff Rasley, Shaden Smith, Olatunji Ruwase and et al.},
booktitle = {SC 2022},
year = {2022},
eprint = {2207.00032},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2207.00032}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/aminabadi-2022-deepspeed-inference-enabling-efficient-inference/