Commit
•
a358373
1
Parent(s):
171f2d2
Upload cpu_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
Browse files
cpu_inference_transformers_text-generation_openai-community/gpt2/benchmark.json
CHANGED
@@ -6,17 +6,19 @@
|
|
6 |
"version": "2.3.0+cpu",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "text-generation",
|
9 |
-
"library": "transformers",
|
10 |
"model": "openai-community/gpt2",
|
11 |
-
"
|
12 |
"device": "cpu",
|
13 |
"device_ids": null,
|
14 |
"seed": 42,
|
15 |
"inter_op_num_threads": null,
|
16 |
"intra_op_num_threads": null,
|
17 |
-
"
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
20 |
"no_weights": true,
|
21 |
"device_map": null,
|
22 |
"torch_dtype": null,
|
@@ -71,17 +73,17 @@
|
|
71 |
"environment": {
|
72 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
73 |
"cpu_count": 4,
|
74 |
-
"cpu_ram_mb": 16757.
|
75 |
"system": "Linux",
|
76 |
"machine": "x86_64",
|
77 |
"platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
|
78 |
"processor": "x86_64",
|
79 |
"python_version": "3.10.14",
|
80 |
"optimum_benchmark_version": "0.2.0",
|
81 |
-
"optimum_benchmark_commit": "
|
82 |
"transformers_version": "4.40.2",
|
83 |
"transformers_commit": null,
|
84 |
-
"accelerate_version": "0.30.
|
85 |
"accelerate_commit": null,
|
86 |
"diffusers_version": "0.27.2",
|
87 |
"diffusers_commit": null,
|
@@ -97,7 +99,7 @@
|
|
97 |
"prefill": {
|
98 |
"memory": {
|
99 |
"unit": "MB",
|
100 |
-
"max_ram":
|
101 |
"max_global_vram": null,
|
102 |
"max_process_vram": null,
|
103 |
"max_reserved": null,
|
@@ -106,49 +108,49 @@
|
|
106 |
"latency": {
|
107 |
"unit": "s",
|
108 |
"count": 13,
|
109 |
-
"total": 0.
|
110 |
-
"mean": 0.
|
111 |
-
"stdev": 0.
|
112 |
-
"p50": 0.
|
113 |
-
"p90": 0.
|
114 |
-
"p95": 0.
|
115 |
-
"p99": 0.
|
116 |
"values": [
|
117 |
-
0.
|
118 |
-
0.
|
119 |
-
0.
|
120 |
-
0.
|
121 |
-
0.
|
122 |
-
0.
|
123 |
-
0.
|
124 |
-
0.
|
125 |
-
0.
|
126 |
-
0.
|
127 |
-
0.
|
128 |
-
0.
|
129 |
-
0.
|
130 |
]
|
131 |
},
|
132 |
"throughput": {
|
133 |
"unit": "tokens/s",
|
134 |
-
"value":
|
135 |
},
|
136 |
"energy": {
|
137 |
"unit": "kWh",
|
138 |
-
"cpu": 1.
|
139 |
-
"ram": 6.
|
140 |
"gpu": 0.0,
|
141 |
-
"total": 1.
|
142 |
},
|
143 |
"efficiency": {
|
144 |
"unit": "tokens/kWh",
|
145 |
-
"value":
|
146 |
}
|
147 |
},
|
148 |
"decode": {
|
149 |
"memory": {
|
150 |
"unit": "MB",
|
151 |
-
"max_ram":
|
152 |
"max_global_vram": null,
|
153 |
"max_process_vram": null,
|
154 |
"max_reserved": null,
|
@@ -157,43 +159,43 @@
|
|
157 |
"latency": {
|
158 |
"unit": "s",
|
159 |
"count": 13,
|
160 |
-
"total": 0.
|
161 |
-
"mean": 0.
|
162 |
-
"stdev": 0.
|
163 |
-
"p50": 0.
|
164 |
-
"p90": 0.
|
165 |
-
"p95": 0.
|
166 |
-
"p99": 0.
|
167 |
"values": [
|
168 |
-
0.
|
169 |
-
0.
|
170 |
-
0.
|
171 |
-
0.
|
172 |
-
0.
|
173 |
-
0.
|
174 |
-
0.
|
175 |
-
0.
|
176 |
-
0.
|
177 |
-
0.
|
178 |
-
0.
|
179 |
-
0.
|
180 |
-
0.
|
181 |
]
|
182 |
},
|
183 |
"throughput": {
|
184 |
"unit": "tokens/s",
|
185 |
-
"value":
|
186 |
},
|
187 |
"energy": {
|
188 |
"unit": "kWh",
|
189 |
-
"cpu":
|
190 |
-
"ram": 4.
|
191 |
"gpu": 0.0,
|
192 |
-
"total": 1.
|
193 |
},
|
194 |
"efficiency": {
|
195 |
"unit": "tokens/kWh",
|
196 |
-
"value":
|
197 |
}
|
198 |
},
|
199 |
"per_token": {
|
@@ -201,31 +203,31 @@
|
|
201 |
"latency": {
|
202 |
"unit": "s",
|
203 |
"count": 12,
|
204 |
-
"total": 0.
|
205 |
-
"mean": 0.
|
206 |
-
"stdev": 0.
|
207 |
-
"p50": 0.
|
208 |
-
"p90": 0.
|
209 |
-
"p95": 0.
|
210 |
-
"p99": 0.
|
211 |
"values": [
|
212 |
-
0.
|
213 |
-
0.
|
214 |
-
0.
|
215 |
-
0.
|
216 |
-
0.
|
217 |
-
0.
|
218 |
-
0.
|
219 |
-
0.
|
220 |
-
0.
|
221 |
-
0.
|
222 |
-
0.
|
223 |
-
0.
|
224 |
]
|
225 |
},
|
226 |
"throughput": {
|
227 |
"unit": "tokens/s",
|
228 |
-
"value": 12.
|
229 |
},
|
230 |
"energy": null,
|
231 |
"efficiency": null
|
|
|
6 |
"version": "2.3.0+cpu",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "text-generation",
|
|
|
9 |
"model": "openai-community/gpt2",
|
10 |
+
"library": "transformers",
|
11 |
"device": "cpu",
|
12 |
"device_ids": null,
|
13 |
"seed": 42,
|
14 |
"inter_op_num_threads": null,
|
15 |
"intra_op_num_threads": null,
|
16 |
+
"hub_kwargs": {
|
17 |
+
"revision": "main",
|
18 |
+
"force_download": false,
|
19 |
+
"local_files_only": false,
|
20 |
+
"trust_remote_code": false
|
21 |
+
},
|
22 |
"no_weights": true,
|
23 |
"device_map": null,
|
24 |
"torch_dtype": null,
|
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
+
"cpu_ram_mb": 16757.346304,
|
77 |
"system": "Linux",
|
78 |
"machine": "x86_64",
|
79 |
"platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.2.0",
|
83 |
+
"optimum_benchmark_commit": "b880a42960acf7600cf87a7b5756d96d29e2fb24",
|
84 |
"transformers_version": "4.40.2",
|
85 |
"transformers_commit": null,
|
86 |
+
"accelerate_version": "0.30.1",
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.27.2",
|
89 |
"diffusers_commit": null,
|
|
|
99 |
"prefill": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 948.539392,
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
|
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
"count": 13,
|
111 |
+
"total": 0.6379554779999523,
|
112 |
+
"mean": 0.04907349830768864,
|
113 |
+
"stdev": 0.0010666836382432667,
|
114 |
+
"p50": 0.049456617000004144,
|
115 |
+
"p90": 0.049933542600007284,
|
116 |
+
"p95": 0.050156655600005706,
|
117 |
+
"p99": 0.0504093367199971,
|
118 |
"values": [
|
119 |
+
0.05047250699999495,
|
120 |
+
0.04963225399998805,
|
121 |
+
0.04764154999998027,
|
122 |
+
0.04960540499999411,
|
123 |
+
0.049456617000004144,
|
124 |
+
0.04654885599998693,
|
125 |
+
0.04994608800001288,
|
126 |
+
0.049883360999984916,
|
127 |
+
0.048579775999996855,
|
128 |
+
0.047913816999994197,
|
129 |
+
0.049307980999998335,
|
130 |
+
0.04911564300002169,
|
131 |
+
0.049851622999995016
|
132 |
]
|
133 |
},
|
134 |
"throughput": {
|
135 |
"unit": "tokens/s",
|
136 |
+
"value": 40.75519514545488
|
137 |
},
|
138 |
"energy": {
|
139 |
"unit": "kWh",
|
140 |
+
"cpu": 1.6725711800433975e-06,
|
141 |
+
"ram": 6.989933200280913e-08,
|
142 |
"gpu": 0.0,
|
143 |
+
"total": 1.7424705120462067e-06
|
144 |
},
|
145 |
"efficiency": {
|
146 |
"unit": "tokens/kWh",
|
147 |
+
"value": 1147795.607543093
|
148 |
}
|
149 |
},
|
150 |
"decode": {
|
151 |
"memory": {
|
152 |
"unit": "MB",
|
153 |
+
"max_ram": 948.539392,
|
154 |
"max_global_vram": null,
|
155 |
"max_process_vram": null,
|
156 |
"max_reserved": null,
|
|
|
159 |
"latency": {
|
160 |
"unit": "s",
|
161 |
"count": 13,
|
162 |
+
"total": 0.4034393080000598,
|
163 |
+
"mean": 0.031033792923081522,
|
164 |
+
"stdev": 0.0003609664808729454,
|
165 |
+
"p50": 0.03111106100001848,
|
166 |
+
"p90": 0.031282662000012354,
|
167 |
+
"p95": 0.031466616400012984,
|
168 |
+
"p99": 0.031675882480013795,
|
169 |
"values": [
|
170 |
+
0.03111106100001848,
|
171 |
+
0.0312922280000123,
|
172 |
+
0.031728199000014,
|
173 |
+
0.0309515929999975,
|
174 |
+
0.030498660999995764,
|
175 |
+
0.03120739000002004,
|
176 |
+
0.031085653999980423,
|
177 |
+
0.03090312400001949,
|
178 |
+
0.031244398000012552,
|
179 |
+
0.031234318999992183,
|
180 |
+
0.03074208399999634,
|
181 |
+
0.031183795999993436,
|
182 |
+
0.030256801000007272
|
183 |
]
|
184 |
},
|
185 |
"throughput": {
|
186 |
"unit": "tokens/s",
|
187 |
+
"value": 32.222938474795505
|
188 |
},
|
189 |
"energy": {
|
190 |
"unit": "kWh",
|
191 |
+
"cpu": 1.0020326353885505e-06,
|
192 |
+
"ram": 4.187678354027073e-08,
|
193 |
"gpu": 0.0,
|
194 |
+
"total": 1.0439094189288217e-06
|
195 |
},
|
196 |
"efficiency": {
|
197 |
"unit": "tokens/kWh",
|
198 |
+
"value": 957937.5201213548
|
199 |
}
|
200 |
},
|
201 |
"per_token": {
|
|
|
203 |
"latency": {
|
204 |
"unit": "s",
|
205 |
"count": 12,
|
206 |
+
"total": 0.9600551610000139,
|
207 |
+
"mean": 0.08000459675000116,
|
208 |
+
"stdev": 0.000877328166393496,
|
209 |
+
"p50": 0.08009505350000268,
|
210 |
+
"p90": 0.08096101209998778,
|
211 |
+
"p95": 0.0809965785999978,
|
212 |
+
"p99": 0.0810171829200081,
|
213 |
"values": [
|
214 |
+
0.08097550599998726,
|
215 |
+
0.0793775440000104,
|
216 |
+
0.08058963799999219,
|
217 |
+
0.07998787000002494,
|
218 |
+
0.07776743699997724,
|
219 |
+
0.08102233400001069,
|
220 |
+
0.08083056699999247,
|
221 |
+
0.07983873099999528,
|
222 |
+
0.07916983700002334,
|
223 |
+
0.08005119699998886,
|
224 |
+
0.08030558999999471,
|
225 |
+
0.0801389100000165
|
226 |
]
|
227 |
},
|
228 |
"throughput": {
|
229 |
"unit": "tokens/s",
|
230 |
+
"value": 12.499281799079695
|
231 |
},
|
232 |
"energy": null,
|
233 |
"efficiency": null
|