Slides · Inference engineering
Model and kernel optimization
1 / 33
Model and kernel optimization
Moving fewer bytes and wasting less time around the arithmetic: FlashAttention, quantization, CUDA graphs and the numerics underneath them.
By the end you can say why FlashAttention stays exact, pick a quantization scheme from the roofline and the hardware, build a validation gate, and explain why temperature 0 can still vary.
Concept
Two ideas organise the toolbox
- Move fewer bytes. Store numbers in fewer bits (quantization) and keep intermediate results out of slow memory (fused, tiled kernels such as FlashAttention).
- Waste less time around the arithmetic. Remove launch and scheduling overhead (CUDA graphs, fusion) and understand the numerics those changes touch.
- A kernel is one function that runs on the GPU. A decode step runs many of them, one or more per operation per layer.
- Every change must pass two tests: the output is the same or the loss is measured, and the time saved is time that was actually being spent.
Diagram
Standard attention against FlashAttention
Source[1] FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Worked example
How big is the score matrix?
Per head and per layer, if the scores were stored in 16 bits (2 bytes each):
| Case | Score entries | Size if materialized |
|---|---|---|
| Prefill, 4,096-token prompt | 4,096×4,096=16,777,216 | about 33.6 MB |
| Decode, 4,096 cached keys, one new query | 4,096 | about 8 KB |
- Prefill grows with the square of the prompt, so tiling saves a great deal of traffic.
- Decode has one row. What dominates there is reading the cached keys and values and the weights, which tiling does not avoid.
Code
The online softmax in about ten lines
Excerpt for one query; the comparison below is against a standard softmax over all scores. Python 3.14, NumPy 2.5.
Python
def tiled(q, K, V, tile):
m, l, acc = -np.inf, 0.0, np.zeros(V.shape[1])
for i in range(0, len(K), tile):
s = K[i:i+tile] @ q # scores for this tile only
m_new = max(m, s.max())
corr = 0.0 if m == -np.inf else np.exp(m - m_new) # rescale old totals
p = np.exp(s - m_new)
l = l * corr + p.sum() # running softmax denominator
acc = acc * corr + p @ V[i:i+tile] # running weighted sum
m = m_new
return acc / lTest (37 keys, 8 dimensions, float64; q, K, V drawn in that order from default_rng(2)) | Largest difference from standard attention |
|---|---|
| tiles of 1, 5, 16, 37 or 100 | at most 6e-16 (rounding noise) |
tile 5 with the corr rescale removed | about 1.06, order 1 (wrong) |
- Each tile updates a running maximum, sum and output, so the full row of scores never exists at once.
- The failure row shows why the rescale step matters: dropping it gives a different answer, not a slightly noisy one. The digits at the 1e-16 level change with the random draw; only the gap between rounding noise and an order-1 error matters. With a single tile there is nothing to rescale, so the broken version only fails when the maximum changes between tiles.
Source[1] FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Compare
Three versions of FlashAttention
| Version | What changed | Reported by the authors |
|---|---|---|
| FlashAttention (NeurIPS 2022) | Tiling to cut reads and writes between HBM and on-chip memory; called IO-aware | Per the arXiv abstract, 15 percent end-to-end speedup on BERT-large training over the MLPerf 1.1 record, 3 times on GPT-2, 2.4 times on Long-range Arena |
| FlashAttention-2 (ICLR 2024) | Better parallelism and work partitioning on the GPU | Around 2 times the speed of the first version, 50 to 73 percent of the theoretical peak FLOPs per second on A100 |
| FlashAttention-3 (NeurIPS 2024) | Uses asynchrony and low precision on Hopper GPUs | Up to 840 TFLOPs per second in BF16 on H100 (85 percent utilization), 1.3 PFLOPs per second in FP8 |
- The FlashAttention-3 abstract says FlashAttention-2 reached only 35 percent utilization on the H100.
- The original paper’s abstract calls the method exact, not an approximation. FlashAttention-3 also has an FP8 variant, where low-precision numerics apply; its abstract reports 2.6 times lower numerical error than a baseline FP8 attention, so error there is measured rather than assumed zero.
- All figures are the authors’ benchmark results, not serving-engine measurements.
Sources[1] FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness[2] FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning[3] FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
Concept
Where FlashAttention pays off
- Prefill: n queries meet n keys, the score matrix is large, and the saved traffic is large.
- Small-batch decode: one query row per head, so the traffic is the cache and weights. Expect little from swapping the attention kernel alone.
- This split is a reasoning step from the roofline, not a claim from the papers.
- Decode attention is a separate kernel problem: it reads a long cache for one query row.
Check yourself
Check: size the traffic
A 12,000-token prompt is prefilled. Per head and per layer, how many score entries would a standard kernel materialize, and how many megabytes in 16 bits? Then find the prompt length at which one head’s matrix would reach 1 GB (109 bytes), and say what doubling the prompt does to the size.
Answer
Prefill: 12,000×12,000=144,000,000 entries, 288 MB at 2 bytes each. For 1 GB, 2n2=109 gives n of about 22,400 tokens. The size grows with the square of the length, so doubling the prompt quadruples it.
Concept
Quantization stores a small number and a scale
x≈scale×qHere q is a small integer or float.
- The scale can be one per tensor, one per channel, or one per group of weights (128 is a common group size).
- A per-group scale costs a little: 4-bit weights with a 16-bit scale for every 128 values average 4+16/128=4.125 bits each.
- GPTQ (the ICLR 2023 paper is titled OPTQ) reports quantizing GPT models with 175 billion parameters to 3 or 4 bits with negligible accuracy degradation, in about four GPU hours.
Source[4] OPTQ: Accurate Quantization for Generative Pre-trained Transformers
Compare
What you can quantize, and the notation
| Target | Benefit | Main risk |
|---|---|---|
| Weights | Fewer bytes read per decode step, smaller memory | Accuracy loss at 4 bits and below without care |
| Activations | Low-precision matrix multiplies, which help compute-bound work | Activation outliers |
| KV-cache | More concurrent sequences (lesson 2) | Long-context accuracy |
- W4A16: 4-bit weights, 16-bit activations. Weights are unpacked before the multiply, so bytes are saved but arithmetic is not.
- W8A8: 8 bits for both, and the multiply itself runs in 8-bit.
- FP8: an 8-bit float. The FP8 paper (a preprint) proposes E4M3 (4 exponent bits, 3 mantissa bits) and E5M2.
Worked example
Weight bytes and the decode floor
An 8B model on the H100 figures of lesson 1 (3.35 TB/s). Floor = weight bytes divided by bandwidth.
| Format | Bits per weight | Weight bytes | Decode step floor |
|---|---|---|---|
| BF16 | 16 | 16 GB | 4.8 ms |
| INT8 | 8 | 8 GB | 2.4 ms |
| 4-bit with group scales | 4.125 | about 4.1 GB | about 1.2 ms |
- These are ceilings on the gain. KV reads, unpacking and kernel efficiency pull real results below them.
- “4 bits is 4 times faster” is wrong twice: the scales add bits, and the floor ignores everything else.
Code
One outlier sets the scale for everyone
Excerpt of the per-tensor version. Signed 8-bit, one scale from the largest absolute value.
Python
def per_tensor(x):
scale = np.abs(x).max() / 127
q = np.clip(np.round(x / scale), -127, 127).astype(int)
return q, q * scaleInput 0.2, 0.8, -0.5, 1.4, 19.05, 0.7, scale 19.05/127=0.15:
| Value | Per tensor: stored | Dequantized | Error |
|---|---|---|---|
| 0.2 | 1 | 0.15 | 25.0% |
| 0.8 | 5 | 0.75 | 6.3% |
| -0.5 | -3 | -0.45 | 10.0% |
| 1.4 | 9 | 1.35 | 3.6% |
| 19.05 | 127 | 19.05 | 0% |
| 0.7 | 5 | 0.75 | 7.1% |
- With a separate scale for each group of three values, the first group’s errors fall to 0.8, 0 and 0.5 percent. The second group still holds the outlier, so its errors stay at 3.6 and 7.1 percent.
- Edge case: an all-zero tensor gives a scale of 0, so x/scale is 0/0. NumPy warns about the invalid value, and casting the resulting NaN to an integer is platform-dependent (it gave zeros on one machine), so real code guards that case.
Concept
Why activations are harder than weights
- The LLM.int8 paper traces the difficulty to what it calls emergent outlier feature dimensions in transformer activations, and handles them with a mixed-precision split.
- The SmoothQuant abstract starts from the observation that activations are much harder to quantize than weights.
- The activation-side methods on the next slide each take a different route: LLM.int8() isolates the outliers, SmoothQuant moves the difficulty into the weights, and FP8 uses a number format with a wider range. GPTQ and AWQ quantize only the weights, so activation outliers are not their target, though both use sample inputs during calibration (AWQ picks its salient channels from activation statistics).
Sources[7] GPT3.int8(): 8-bit Matrix Multiplication for Transformers at Scale[8] SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
Compare
Five methods, one idea each
| Method | Type | Core idea |
|---|---|---|
| LLM.int8() | W8A8 | Multiply the outlier feature dimensions in 16-bit and everything else, over 99.9 percent of values, in 8-bit |
| GPTQ | Weight-only, one-shot | Go layer by layer, using approximate second-order information to compensate rounding error |
| AWQ | Weight-only | Protect the roughly 1 percent of salient weights, picked from activation statistics, by scaling those channels |
| SmoothQuant | W8A8 | Move part of the quantization difficulty out of the activations and into the weights with a per-channel rescale that leaves the layer output unchanged |
| FP8 | W8A8 | An 8-bit float format with a wider dynamic range; needs hardware support |
- “Weight-only” means the activations stay in 16 bits.
Sources[7] GPT3.int8(): 8-bit Matrix Multiplication for Transformers at Scale[4] OPTQ: Accurate Quantization for Generative Pre-trained Transformers[9] AWQ: Activation-aware Weight Quantization for On-Device LLM Compression and Acceleration[8] SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models[5] FP8 Formats for Deep Learning
Concept
Treat headline speedups as upper-end results
- GPTQ reports end-to-end speedups over FP16 of about 3.25 times on an A100 and 4.5 times on an A6000.
- SmoothQuant reports up to 1.56 times speedup and 2 times memory reduction.
- AWQ reports its TinyChat framework running more than 3 times faster than the Hugging Face FP16 implementation on desktop and mobile GPUs.
- Each number comes from the authors’ models, hardware and kernels. Measure on your own engine and traffic before planning around them.
Sources[4] OPTQ: Accurate Quantization for Generative Pre-trained Transformers[8] SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models[9] AWQ: Activation-aware Weight Quantization for On-Device LLM Compression and Acceleration
Diagram
Pick the scheme from the regime
Worked example
The crossing batch for three schemes
A made-up GPU for round numbers: 600 TFLOPS dense BF16, 1,200 in FP8, 1.5 TB/s. The ridge is 600/1.5=400 FLOP per byte for BF16 and 800 for FP8. The batch where decode reaches the ridge is B∗=ridge×bytes per weight/2.
| Scheme | Bytes per weight | Ridge used | Crossing batch |
|---|---|---|---|
| BF16 weights and math | 2 | 400 | 400 |
| W4A16 (scales ignored) | 0.5 | 400 | 100 |
| FP8 weights and math | 1 | 800 | 400 |
- Weight-only 4-bit pulls the crossing down to 100: past it arithmetic limits and fewer bytes add nothing more. Below 400 it is still faster than BF16, which stays memory-bound until 400.
- FP8 math raises both the ridge and the intensity, so the crossing stays where it was. The saving is cost on each side of it.
Compare
Hardware support is part of the answer
vLLM’s quantization page, read on 24 October 2026 (no version is shown; the Intel GPU column is omitted, where both rows are unsupported):
| Scheme | Not supported | Supported |
|---|---|---|
| FP8 W8A8 (llm-compressor) | Volta, Turing, Ampere | Ada, Hopper, AMD GPU |
| INT8 W8A8 (llm-compressor) | Volta, AMD GPU | Turing, Ampere, Ada, Hopper |
- An Ampere fleet therefore uses INT8 W8A8 or a weight-only scheme, not FP8 W8A8.
- The page says its chart is subject to change as vLLM evolves, so check the version you run.
Check yourself
Check: price each scheme at three batch sizes
On the made-up GPU of the earlier slide, a decode step takes the larger of two times: weight bytes divided by 1.5 TB/s, and 2×batch FLOPs per weight divided by the math rate (600 TFLOPS for BF16 and for W4A16, whose 4.125-bit weights are unpacked and multiplied in BF16, and 1,200 TFLOPS for FP8). Take 2 bytes per weight for BF16, 0.5156 for W4A16 and 1 for FP8. Give each scheme’s step time per weight, in picoseconds, at batch 24, 180 and 600, and name the fastest at each.
Answer
Memory times are 1.333 (BF16), 0.344 (W4A16) and 0.667 (FP8). Compute times are 2×batch/rate. At batch 24: BF16 1.33, W4A16 0.34, FP8 0.67, so W4A16 wins. At batch 180: BF16 1.33 (compute 0.60), W4A16 0.60 (now compute-bound, above its crossing of about 103), FP8 0.67 (still memory-bound, crossing 400), so W4A16 still wins, narrowly over FP8. At batch 600: BF16 2.00, W4A16 2.00, FP8 1.00, so FP8 wins by 2 times. Passing a scheme’s own crossing does not make it lose; it stops improving, and the winner changes only when another scheme’s step time drops below it.
Process
A validation gate for a quantized model
- Run perplexity on held-out text. It is quick and coarse and catches only large breakage.
- Run task evaluations: your golden set, tool-call accuracy, JSON validity, long-context retrieval.
- Compare against the 16-bit baseline on the same prompts, with confidence intervals and slices by task, language and length.
- Calibrate on data that looks like production. The AWQ abstract credits its lack of backpropagation and reconstruction for generalizing beyond the calibration set, which shows calibration data is a design concern; whichever method you use, check how its sample was chosen.
- Canary a share of traffic, watch output length, refusal rate and tool-error rate, and keep a rollback.
Source[9] AWQ: Activation-aware Weight Quantization for On-Device LLM Compression and Acceleration
Worked example
Is a one-point drop real?
A JSON-validity check on 2,000 prompts: the BF16 baseline fails 16 (99.2 percent valid), the 4-bit build fails 38 (98.1 percent valid).
| Quantity | Value |
|---|---|
| Drop in validity | 1.1 points |
| Approximate 95% interval for the drop (unpaired) | 0.39 to 1.81 points |
| Approximate z statistic | 3.0 |
- The interval excludes zero, so the loss is probably real, and failures more than doubled (16 to 38) while the average barely moved.
- With only 200 prompts at the same rates, the interval would run from about -1.2 to +3.4 points. Too small a sample cannot show a regression.
- A paired comparison on the same prompts is sharper; the unpaired figures are a conservative approximation.
Check yourself
Check: name the method
Name the method from this deck for each description. (a) It multiplies a few outlier feature dimensions in 16-bit and everything else in 8-bit. (b) It is a one-shot, weight-only method that goes layer by layer. (c) On a Hopper fleet, does the vLLM table on the earlier slide allow FP8 W8A8?
Answer
(a) LLM.int8(), a W8A8 method. (b) GPTQ. (c) Yes. The table lists FP8 W8A8 as supported on Hopper (and Ada), though the table is a snapshot, so check the version you run.
Sources[7] GPT3.int8(): 8-bit Matrix Multiplication for Transformers at Scale[4] OPTQ: Accurate Quantization for Generative Pre-trained Transformers[10] Quantization (vLLM documentation)
Worked example
What a CUDA graph saves per kernel
NVIDIA’s 2019 post measured a short kernel on a V100 with CUDA 10.1. The kernel itself takes 2.9 µs. Subtracting it from each total gives the overhead (this deck’s arithmetic):
| Launch style | Time per kernel | Overhead | For 500 kernels |
|---|---|---|---|
| Synchronize after each kernel | 9.6 µs | 6.7 µs | 3.35 ms |
| Overlapped launches | 3.8 µs | 0.9 µs | 0.45 ms |
| Replayed through a CUDA graph | 3.4 µs | 0.5 µs | 0.25 ms |
- This is a microbenchmark on old hardware, not an LLM engine. The point is the shape: launch cost is paid per kernel, and a graph cuts the per-kernel cost from 3.8 or 9.6 µs to about 3.4 µs.
- A decode step runs many kernels (500 is a round example here), so the saving adds up. Compare it with the memory floor of the weight-bytes slide (about 1.2 to 4.8 ms) before deciding it matters.
Diagram
Record once, replay many times
Concept
What an engine has to decide about graphs
- A graph replays a fixed sequence, so the engine captures graphs for a set of batch sizes in advance.
- vLLM’s design page (a developer preview, read 24 October 2026) names modes:
PIECEWISE,FULL,FULL_DECODE_ONLY,FULL_AND_PIECEWISEandNONE. It callsFULL_AND_PIECEWISEgenerally the most performant, and says that mode needs the most memory and the longest capture time. - It mentions capture sizes and a padded token count in its batch descriptor, but does not spell out the padding rule, so check your own engine for how a live batch maps to a captured size.
- Practical consequences: warm up before benchmarking, and plan for a cold-start cost.
- Kernel fusion merges adjacent operations so intermediate results stay in fast memory, the same trick as FlashAttention on a smaller scale.
Code
Addition order changes the answer
Excerpt; the table lists the results. float32 values, NumPy 2.5, seed 0.
Python
a, b, c = np.float32(1e8), np.float32(-1e8), np.float32(1.0)
print((a + b) + c, a + (b + c)) # grouping changes the result
rng = np.random.default_rng(0)
v = rng.normal(size=100_000).astype(np.float32)
print(v.sum(), v.reshape(10, -1).sum(axis=1).sum(), np.sort(v).sum())| Test | Result |
|---|---|
(1e8 + -1e8) + 1.0 | 1.0 |
1e8 + (-1e8 + 1.0) | 0.0 |
| 100,000 values summed in one pass | -90.82513 |
| Same values in 10 partial sums, then added | -90.82510 |
| Same values sorted first | -90.82422 |
| Same values in float64 | -90.82508 |
- The three float32 sums differ in the fifth decimal place or earlier, and the float64 sum differs from all of them.
- A kernel that splits a reduction differently at different batch sizes can return different numbers for the same request.
Concept
Batch invariance and temperature 0
- A September 2025 write-up from Thinking Machines argues that the main cause is that kernels are not batch invariant while load, and so batch size, varies from run to run. It calls the usual explanation of concurrency plus floating point incomplete, and notes that the forward pass uses no atomic adds, so a run on a fixed batch is deterministic.
- Its experiment: 1,000 temperature-0 completions of one prompt on Qwen3-235B-A22B-Instruct-2507 gave 80 unique outputs, first diverging at the 103rd token. With batch-invariant kernels all 1,000 were identical.
- The cost on Qwen3-8B, one GPU, 1,000 sequences: 26 seconds with default vLLM, 55 seconds for an unoptimized deterministic version, 42 seconds with an improved attention kernel.
- These are the authors’ measurements on their setup.
Check yourself
Check: what did the experiment show?
In the Thinking Machines experiment on the earlier slide, 1,000 temperature-0 completions of one prompt were generated. How many unique outputs appeared with ordinary kernels, and how many with batch-invariant kernels?
Answer
80 unique outputs with ordinary kernels, and 1 (all 1,000 identical) with batch-invariant kernels. These are the authors’ measurements on one model and setup.
Diagram
Which optimization first?
Summary
Recap
- FlashAttention is exact: tiles plus an online softmax keep the n by n matrix out of HBM. It helps prefill most.
- Quantization stores a scale and small numbers; outliers make per-tensor 8-bit lossy, and each method handles them differently.
- Memory-bound decode: weight-only low-bit. Compute-bound work: W8A8 or FP8. Check hardware support in the engine’s table.
- Validate on task metrics against the baseline with enough samples, not on perplexity alone.
- CUDA graphs and fusion remove launch overhead; profile before and after.
- Temperature 0 is greedy decoding, not bit-reproducible; batch invariance costs speed.
References
References & Sources (1 of 3)
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness (opens in a new tab)
Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, et al.2022NeurIPS 2022Paper
arXiv 2205.14135 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2022/hash/67d57c32e20fd0a7a302cb81d36e40d5-Abstract-Conference.html
Used for FlashAttention as exact, IO-aware attention that uses tiling to reduce reads and writes between HBM and on-chip memory, with the abstract's training speedups (the 15 percent BERT-large figure is from the arXiv abstract, 2205.14135).
Tri Dao2024ICLR 2024Paper
arXiv 2307.08691 (opens in a new tab)https://iclr.cc/virtual/2024/poster/17889
Used for FlashAttention-2: around 2 times the speed of the first version and 50 to 73 percent of theoretical peak FLOPs per second on A100.
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision (opens in a new tab)
Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, et al.2024NeurIPS 2024Paper
arXiv 2407.08608 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2024/hash/7ede97c3e082c6df10a8d6103a2eebd2-Abstract-Conference.html
Used for FlashAttention-3 on Hopper GPUs: up to 840 TFLOPs per second in BF16 (85 percent utilization), 1.3 PFLOPs per second in FP8, FlashAttention-2 at 35 percent utilization on H100, and 2.6 times lower FP8 error than a baseline, as shown on the NeurIPS 2024 abstract page.
OPTQ: Accurate Quantization for Generative Pre-trained Transformers (opens in a new tab)
Elias Frantar, Saleh Ashkboos, Torsten Hoefler, Dan Alistarh2023ICLR 2023Paper
arXiv 2210.17323 (opens in a new tab)https://iclr.cc/virtual/2023/poster/10855
Used for GPTQ as one-shot weight quantization to 3 or 4 bits, the four-GPU-hour figure for 175B-parameter models, and the reported A100 and A6000 speedups.
FP8 Formats for Deep Learning (opens in a new tab)
Paulius Micikevicius, Dusan Stosic, Neil Burgess, Marius Cornea, et al.2022Preprint
arXiv 2209.05433 (opens in a new tab)https://arxiv.org/abs/2209.05433
Used for The FP8 formats E4M3 and E5M2, defined by exponent and mantissa bits.
References
References & Sources (2 of 3)
NVIDIA H100 Tensor Core GPU (opens in a new tab)
NVIDIA2026Documentation
https://www.nvidia.com/en-us/data-center/h100/
Used for The H100 SXM memory bandwidth of 3.35 TB/s used for the weight-byte floors.
GPT3.int8(): 8-bit Matrix Multiplication for Transformers at Scale (opens in a new tab)
Tim Dettmers, Mike Lewis, Younes Belkada, Luke Zettlemoyer2022NeurIPS 2022Paper
arXiv 2208.07339 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2022/hash/c3ba4962c05c49636d4c6206a97e9c8a-Abstract-Conference.html
Used for Emergent outlier features in transformer activations, and the mixed-precision split that multiplies them in 16-bit while over 99.9 percent of values stay in 8-bit.
Guangxuan Xiao, Ji Lin, Mickael Seznec, Hao Wu, et al.2023ICML 2023 (PMLR 202)Paper
arXiv 2211.10438 (opens in a new tab)https://proceedings.mlr.press/v202/xiao23c.html
Used for SmoothQuant's reported speedup of up to 1.56 times and 2 times memory reduction, and the observation that weights are easy to quantize while activations are not.
Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, et al.2024MLSys 2024Paper
arXiv 2306.00978 (opens in a new tab)https://proceedings.mlsys.org/paper_files/paper/2024/hash/42a452cbafa9dd64e9ba4aa95cc1ef21-Abstract-Conference.html
Used for AWQ protects roughly 1 percent of salient weights chosen from activation statistics by scaling those channels, and does not rely on reconstruction; the TinyChat speedup claim.
Quantization (vLLM documentation) (opens in a new tab)
vLLM project2026Documentation
https://docs.vllm.ai/en/latest/features/quantization/
Used for The hardware compatibility table for FP8 W8A8 and INT8 W8A8, read 24 October 2026; the page says the chart is subject to change.
References
References & Sources (3 of 3)
Getting Started with CUDA Graphs (opens in a new tab)
Alan Gray2019Article
https://developer.nvidia.com/blog/cuda-graphs/
Used for Per-kernel times of 9.6, 3.8 and 3.4 microseconds against a 2.9 microsecond kernel on a V100 with CUDA 10.1, and the capture-instantiate-relaunch model of CUDA graphs.
CUDA Graphs (vLLM design documentation) (opens in a new tab)
vLLM project2026Documentation
https://docs.vllm.ai/en/latest/design/cuda_graphs.html
Used for vLLM's graph modes, the note that the most capable mode needs the most memory and capture time, and the mention of capture sizes (read 24 October 2026, developer preview).
Defeating Nondeterminism in LLM Inference (opens in a new tab)
Horace He2025Article
https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
Used for The batch-invariance explanation of temperature-0 variation, the 1,000-completion experiment on Qwen3-235B-A22B-Instruct-2507 and the 26, 42 and 55 second timings.
Keys: ← → move, Home End first and last, F full screen.