forked from llm-d-incubation/llm-d-planner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslo_templates.json
More file actions
186 lines (185 loc) · 5.47 KB
/
slo_templates.json
File metadata and controls
186 lines (185 loc) · 5.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"_description": "SLO templates for use cases - derived from slo_ranges.json real benchmark data",
"use_cases": {
"chatbot_conversational": {
"use_case": "Chatbot Conversational",
"description": "Real-time conversational chatbots for customer service",
"traffic_profile": {
"prompt_tokens": 512,
"output_tokens": 256
},
"experience_class": "conversational",
"slo_targets": {
"ttft_p95_ms": 15000,
"itl_p95_ms": 200,
"e2e_p95_ms": 60000
},
"rationale": "TTFT<15s, ITL<200ms, E2E<60s - shows 343 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "high",
"throughput_priority": "medium"
}
},
"code_completion": {
"use_case": "Code Completion",
"description": "Fast code completion/autocomplete for IDE inline suggestions",
"traffic_profile": {
"prompt_tokens": 512,
"output_tokens": 256
},
"experience_class": "instant",
"slo_targets": {
"ttft_p95_ms": 15000,
"itl_p95_ms": 200,
"e2e_p95_ms": 60000
},
"rationale": "TTFT<15s, ITL<200ms, E2E<60s - shows 343 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "critical",
"throughput_priority": "high"
}
},
"code_generation_detailed": {
"use_case": "Code Generation",
"description": "Detailed code generation with explanations",
"traffic_profile": {
"prompt_tokens": 1024,
"output_tokens": 1024
},
"experience_class": "interactive",
"slo_targets": {
"ttft_p95_ms": 1000,
"itl_p95_ms": 500,
"e2e_p95_ms": 70000
},
"rationale": "TTFT<1s, E2E<70s - shows 72 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "medium",
"throughput_priority": "medium"
}
},
"translation": {
"use_case": "Translation",
"description": "Document translation services",
"traffic_profile": {
"prompt_tokens": 512,
"output_tokens": 256
},
"experience_class": "interactive",
"slo_targets": {
"ttft_p95_ms": 15000,
"itl_p95_ms": 200,
"e2e_p95_ms": 60000
},
"rationale": "TTFT<15s, ITL<200ms, E2E<60s - shows 343 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "medium",
"throughput_priority": "medium"
}
},
"content_generation": {
"use_case": "Content Generation",
"description": "Content generation, marketing copy, blog posts",
"traffic_profile": {
"prompt_tokens": 512,
"output_tokens": 256
},
"experience_class": "interactive",
"slo_targets": {
"ttft_p95_ms": 15000,
"itl_p95_ms": 200,
"e2e_p95_ms": 60000
},
"rationale": "TTFT<15s, ITL<200ms, E2E<60s - shows 343 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "low",
"throughput_priority": "medium"
}
},
"summarization_short": {
"use_case": "Summarization",
"description": "Short document summarization (4K context)",
"traffic_profile": {
"prompt_tokens": 4096,
"output_tokens": 512
},
"experience_class": "interactive",
"slo_targets": {
"ttft_p95_ms": 300000,
"itl_p95_ms": 300,
"e2e_p95_ms": 300000
},
"rationale": "TTFT<5min, ITL<300ms, E2E<5min - shows 229 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "low",
"throughput_priority": "medium"
}
},
"document_analysis_rag": {
"use_case": "Document Analysis RAG",
"description": "RAG-based document Q&A",
"traffic_profile": {
"prompt_tokens": 4096,
"output_tokens": 512
},
"experience_class": "interactive",
"slo_targets": {
"ttft_p95_ms": 300000,
"itl_p95_ms": 300,
"e2e_p95_ms": 300000
},
"rationale": "TTFT<5min, ITL<300ms, E2E<5min - shows 229 configs",
"business_context": {
"user_facing": true,
"latency_sensitivity": "medium",
"throughput_priority": "medium"
}
},
"long_document_summarization": {
"use_case": "Long Document Summarization",
"description": "Long document summarization (10K+ tokens)",
"traffic_profile": {
"prompt_tokens": 10240,
"output_tokens": 1536
},
"experience_class": "deferred",
"slo_targets": {
"ttft_p95_ms": 2000,
"itl_p95_ms": 500,
"e2e_p95_ms": 200000
},
"rationale": "TTFT<2s, E2E<200s - shows 25 configs",
"business_context": {
"user_facing": false,
"latency_sensitivity": "low",
"throughput_priority": "high"
}
},
"research_legal_analysis": {
"use_case": "Research Legal Analysis",
"description": "Research/legal document analysis",
"traffic_profile": {
"prompt_tokens": 10240,
"output_tokens": 1536
},
"experience_class": "deferred",
"slo_targets": {
"ttft_p95_ms": 2000,
"itl_p95_ms": 500,
"e2e_p95_ms": 200000
},
"rationale": "TTFT<2s, E2E<200s - shows 25 configs",
"business_context": {
"user_facing": false,
"latency_sensitivity": "low",
"throughput_priority": "high"
}
}
}
}