You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledgebase/skills/skill-fp8-serving-eval.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ kind: skill
4
4
title: FP8 Serving Evaluation
5
5
type: ""
6
6
category: precision
7
-
summary: Validate mature FP8 deployment branches before investing in custom tensor-core kernel work on Hopper or Blackwell.
7
+
summary: Validate packaged or synthesized FP8 deployment branches before investing in custom tensor-core kernel work on Hopper or Blackwell.
8
8
support_level: stable
9
9
reliability: ""
10
10
review_status: ""
@@ -61,7 +61,9 @@ required_tools:
61
61
- search_knowledge_base
62
62
steps:
63
63
- measure the higher-precision control path first
64
-
- enable the strongest runtime-supported FP8 branch for the same benchmark suite
64
+
- if the model already has a packaged FP8 checkpoint or runtime flavor, test that first
65
+
- if no packaged FP8 checkpoint exists, try synthesizing one with TensorRT Model Optimizer, Transformer Engine, torchao float8 flows, or llm-compressor using the same benchmark suite
66
+
- record calibration data, quantization configuration, and any higher-precision fallback modules
65
67
- track quality drift and throughput together before any custom kernel work
66
68
- only move beyond the FP8 path if the hot operator remains dominant after the runtime baseline
67
69
verification:
@@ -73,6 +75,7 @@ benchmark_rubric:
73
75
- store the exact runtime and calibration configuration with the result
74
76
failure_recovery:
75
77
- fallback to bf16 or fp16 for unstable layers
78
+
- fallback to weight-only or mixed-precision quantization if full FP8 activation paths regress quality or fail in the runtime
76
79
- switch to AWQ or KV-cache optimization if the remaining bottleneck is mostly memory traffic
77
80
artifacts_to_save:
78
81
- benchmark_json
@@ -87,6 +90,9 @@ reference_source_ids:
87
90
- nvidia-transformer-engine
88
91
- tensorrt-llm-docs
89
92
- nvidia-blackwell-cutlass
93
+
- nvidia-tensorrt-model-optimizer
94
+
- llm-compressor
95
+
- torchao
90
96
backend: ""
91
97
runtimes:
92
98
- tensorrt-llm
@@ -102,7 +108,9 @@ path: ""
102
108
## Steps
103
109
104
110
- measure the higher-precision control path first
105
-
- enable the strongest runtime-supported FP8 branch for the same benchmark suite
111
+
- if the model already has a packaged FP8 checkpoint or runtime flavor, test that first
112
+
- if no packaged FP8 checkpoint exists, try synthesizing one with TensorRT Model Optimizer, Transformer Engine, torchao float8 flows, or llm-compressor using the same benchmark suite
113
+
- record calibration data, quantization configuration, and any higher-precision fallback modules
106
114
- track quality drift and throughput together before any custom kernel work
107
115
- only move beyond the FP8 path if the hot operator remains dominant after the runtime baseline
108
116
@@ -120,4 +128,5 @@ path: ""
120
128
## Failure Recovery
121
129
122
130
- fallback to bf16 or fp16 for unstable layers
131
+
- fallback to weight-only or mixed-precision quantization if full FP8 activation paths regress quality or fail in the runtime
123
132
- switch to AWQ or KV-cache optimization if the remaining bottleneck is mostly memory traffic
summary: vLLM's LLM Compressor supports FP8, FP4, INT8, and INT4 quantization, calibration, and model export flows for deployment on vLLM-compatible runtimes.
summary: NVIDIA Model Optimizer supports post-training quantization and checkpoint conversion flows, including FP8 export paths for TensorRT-LLM and related serving stacks.
Copy file name to clipboardExpand all lines: knowledgebase/strategies/fp8-transformer-engine.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,10 @@ source_ids:
24
24
- nvidia-h100
25
25
- nvidia-blackwell-architecture
26
26
- tensorrt-llm-docs
27
+
- nvidia-tensorrt-model-optimizer
28
+
- llm-compressor
29
+
- nvidia-transformer-engine
30
+
- torchao
27
31
workloads:
28
32
- prefill
29
33
- decode
@@ -53,7 +57,9 @@ preconditions:
53
57
- the model tolerates FP8 calibration and validation
54
58
- runtime stack supports the chosen FP8 serving path
55
59
actions:
56
-
- benchmark an FP8 path in TensorRT-LLM or an equivalent mature serving runtime first
60
+
- benchmark a packaged FP8 path in TensorRT-LLM, vLLM, SGLang, or an equivalent mature serving runtime first when one already exists
61
+
- if no packaged FP8 checkpoint exists, synthesize one with NVIDIA Model Optimizer, Transformer Engine, torchao float8 flows, or llm-compressor when the runtime and GPU support it
62
+
- run calibration, save the quantization recipe, and validate output quality before spending time on custom kernels
57
63
- validate accuracy before investing in more custom kernel work
58
64
- only hand-write kernels after the FP8 baseline is known
59
65
metrics:
@@ -63,6 +69,7 @@ metrics:
63
69
tradeoffs:
64
70
- calibration quality matters
65
71
- some model components may need fallback higher-precision paths
72
+
- FP8 conversion can improve throughput and memory use, but unsupported operators or unstable layers may force mixed-precision fallbacks
66
73
preferred_backends: []
67
74
required_tools: []
68
75
steps: []
@@ -83,14 +90,17 @@ path: ""
83
90
84
91
## Actions
85
92
86
-
- benchmark an FP8 path in TensorRT-LLM or an equivalent mature serving runtime first
93
+
- benchmark a packaged FP8 path in TensorRT-LLM, vLLM, SGLang, or an equivalent mature serving runtime first when one already exists
94
+
- if no packaged FP8 checkpoint exists, synthesize one with NVIDIA Model Optimizer, Transformer Engine, torchao float8 flows, or llm-compressor when the runtime and GPU support it
95
+
- run calibration, save the quantization recipe, and validate output quality before spending time on custom kernels
87
96
- validate accuracy before investing in more custom kernel work
88
97
- only hand-write kernels after the FP8 baseline is known
89
98
90
99
## Tradeoffs
91
100
92
101
- calibration quality matters
93
102
- some model components may need fallback higher-precision paths
103
+
- FP8 conversion can improve throughput and memory use, but unsupported operators or unstable layers may force mixed-precision fallbacks
0 commit comments