IlyasMoutawwakil HF staff commited on
Commit
5be5c0a
·
verified ·
1 Parent(s): fb31f7a

Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub

Browse files
cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json CHANGED
@@ -3,7 +3,7 @@
3
  "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
4
  "backend": {
5
  "name": "pytorch",
6
- "version": "2.4.1+cu124",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "image-classification",
9
  "library": "transformers",
@@ -44,9 +44,9 @@
44
  "duration": 1,
45
  "warmup_runs": 1,
46
  "input_shapes": {
47
- "batch_size": 1,
48
- "num_choices": 2,
49
- "sequence_length": 2
50
  },
51
  "new_tokens": null,
52
  "memory": true,
@@ -73,10 +73,10 @@
73
  "environment": {
74
  "cpu": " AMD EPYC 7R32",
75
  "cpu_count": 16,
76
- "cpu_ram_mb": 66697.261056,
77
  "system": "Linux",
78
  "machine": "x86_64",
79
- "platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35",
80
  "processor": "x86_64",
81
  "python_version": "3.10.12",
82
  "gpu": [
@@ -86,15 +86,15 @@
86
  "gpu_vram_mb": 24146608128,
87
  "optimum_benchmark_version": "0.5.0.dev0",
88
  "optimum_benchmark_commit": null,
89
- "transformers_version": "4.45.2",
90
  "transformers_commit": null,
91
- "accelerate_version": "1.0.1",
92
  "accelerate_commit": null,
93
- "diffusers_version": "0.30.3",
94
  "diffusers_commit": null,
95
  "optimum_version": null,
96
  "optimum_commit": null,
97
- "timm_version": "1.0.9",
98
  "timm_commit": null,
99
  "peft_version": "0.13.2",
100
  "peft_commit": null
@@ -106,7 +106,7 @@
106
  "load": {
107
  "memory": {
108
  "unit": "MB",
109
- "max_ram": 844.537856,
110
  "max_global_vram": 1037.565952,
111
  "max_process_vram": 0.0,
112
  "max_reserved": 400.556032,
@@ -115,15 +115,15 @@
115
  "latency": {
116
  "unit": "s",
117
  "values": [
118
- 0.12191744232177734
119
  ],
120
  "count": 1,
121
- "total": 0.12191744232177734,
122
- "mean": 0.12191744232177734,
123
- "p50": 0.12191744232177734,
124
- "p90": 0.12191744232177734,
125
- "p95": 0.12191744232177734,
126
- "p99": 0.12191744232177734,
127
  "stdev": 0,
128
  "stdev_": 0
129
  },
@@ -134,231 +134,190 @@
134
  "forward": {
135
  "memory": {
136
  "unit": "MB",
137
- "max_ram": 1054.445568,
138
- "max_global_vram": 1056.44032,
139
  "max_process_vram": 0.0,
140
- "max_reserved": 406.847488,
141
- "max_allocated": 363.853824
142
  },
143
  "latency": {
144
  "unit": "s",
145
  "values": [
146
- 0.00581324815750122,
147
- 0.005472256183624268,
148
- 0.0054579200744628905,
149
- 0.005502975940704345,
150
- 0.005433311939239502,
151
- 0.005477375984191894,
152
- 0.005443583965301513,
153
- 0.0054579200744628905,
154
- 0.0054989118576049805,
155
- 0.005467135906219483,
156
- 0.005409791946411133,
157
- 0.005470208168029785,
158
- 0.005421055793762207,
159
- 0.005444608211517334,
160
- 0.005469151973724365,
161
- 0.005413887977600097,
162
- 0.005429247856140137,
163
- 0.005288959980010987,
164
- 0.005276671886444092,
165
- 0.005294079780578613,
166
- 0.005368832111358642,
167
- 0.005387263774871826,
168
- 0.005318655967712403,
169
- 0.005370880126953125,
170
- 0.005325823783874512,
171
- 0.005407743930816651,
172
- 0.005386240005493164,
173
- 0.0053637118339538575,
174
- 0.00547430419921875,
175
- 0.005475327968597412,
176
- 0.005504000186920166,
177
- 0.00547430419921875,
178
- 0.005413887977600097,
179
- 0.005443583965301513,
180
- 0.005422080039978027,
181
- 0.0054241280555725096,
182
- 0.005458943843841553,
183
- 0.005346303939819336,
184
- 0.005302271842956543,
185
- 0.005429247856140137,
186
- 0.005482495784759522,
187
- 0.005470208168029785,
188
- 0.005438464164733887,
189
- 0.0053678078651428224,
190
- 0.005470208168029785,
191
- 0.005429247856140137,
192
- 0.0054241280555725096,
193
- 0.005354496002197265,
194
- 0.0052111358642578124,
195
- 0.005314559936523438,
196
- 0.005384191989898681,
197
- 0.005102591991424561,
198
- 0.005102591991424561,
199
- 0.005171199798583984,
200
- 0.0051968002319335935,
201
- 0.00511078405380249,
202
- 0.0052336640357971195,
203
- 0.00536575984954834,
204
- 0.0053043198585510255,
205
- 0.005382207870483399,
206
- 0.005362720012664795,
207
- 0.00536575984954834,
208
- 0.005375999927520752,
209
- 0.005402624130249023,
210
- 0.00530847978591919,
211
- 0.005436351776123047,
212
- 0.005204991817474365,
213
- 0.005187679767608642,
214
- 0.005208064079284668,
215
- 0.005191679954528809,
216
- 0.005145631790161133,
217
- 0.005183487892150879,
218
- 0.005306367874145508,
219
- 0.00516812801361084,
220
- 0.005297215938568115,
221
- 0.005438464164733887,
222
- 0.005420095920562744,
223
- 0.005408768177032471,
224
- 0.005352447986602784,
225
- 0.005220320224761963,
226
- 0.005435391902923584,
227
- 0.005483520030975342,
228
- 0.005326848030090332,
229
- 0.0052674241065979,
230
- 0.0052899842262268066,
231
- 0.005108704090118408,
232
- 0.0051363840103149415,
233
- 0.005272575855255127,
234
- 0.005318655967712403,
235
- 0.005183487892150879,
236
- 0.005056511878967285,
237
- 0.005039103984832764,
238
- 0.005018623828887939,
239
- 0.005078015804290771,
240
- 0.005069791793823242,
241
- 0.005248000144958496,
242
- 0.0052930560111999515,
243
- 0.005305344104766845,
244
- 0.005252096176147461,
245
- 0.005354496002197265,
246
- 0.005368832111358642,
247
- 0.005435391902923584,
248
- 0.005469183921813964,
249
- 0.005278719902038574,
250
- 0.005194784164428711,
251
- 0.005212160110473632,
252
- 0.005115903854370117,
253
- 0.005117951869964599,
254
- 0.005088255882263183,
255
- 0.005129248142242432,
256
- 0.005093376159667969,
257
- 0.005088255882263183,
258
- 0.005092351913452148,
259
- 0.005041152000427246,
260
- 0.0050800638198852536,
261
- 0.0050514240264892575,
262
- 0.0051701760292053225,
263
- 0.005040128231048584,
264
- 0.00502784013748169,
265
- 0.005041215896606445,
266
- 0.005088255882263183,
267
- 0.00505241584777832,
268
- 0.005015552043914795,
269
- 0.005096447944641113,
270
- 0.005039103984832764,
271
- 0.005024767875671386,
272
- 0.0050135040283203125,
273
- 0.005182464122772217,
274
- 0.005067776203155518,
275
- 0.005057504177093506,
276
- 0.005055488109588623,
277
- 0.005082111835479736,
278
- 0.005086207866668701,
279
- 0.005024831771850586,
280
- 0.005102591991424561,
281
- 0.005041183948516846,
282
- 0.005018623828887939,
283
- 0.005030911922454834,
284
- 0.005049344062805176,
285
- 0.005029888153076172,
286
- 0.005062655925750732,
287
- 0.005017600059509277,
288
- 0.005085184097290039,
289
- 0.005025792121887207,
290
- 0.0050442562103271485,
291
- 0.0050514559745788576,
292
- 0.005092351913452148,
293
- 0.005038047790527344,
294
- 0.005053408145904541,
295
- 0.005071872234344482,
296
- 0.005040128231048584,
297
- 0.005049344062805176,
298
- 0.005098495960235596,
299
- 0.0050657281875610355,
300
- 0.005089280128479004,
301
- 0.005142528057098389,
302
- 0.005032959938049316,
303
- 0.0050657281875610355,
304
- 0.00505241584777832,
305
- 0.00506060791015625,
306
- 0.005091328144073487,
307
- 0.005104640007019043,
308
- 0.005062655925750732,
309
- 0.005039040088653564,
310
- 0.005091328144073487,
311
- 0.005037087917327881,
312
- 0.0050800638198852536,
313
- 0.005024767875671386,
314
- 0.00506060791015625,
315
- 0.00502784013748169,
316
- 0.005032959938049316,
317
- 0.005056511878967285,
318
- 0.005026815891265869,
319
- 0.005039103984832764,
320
- 0.005039103984832764,
321
- 0.005058559894561767,
322
- 0.00502784013748169,
323
- 0.0050503678321838375,
324
- 0.005089280128479004,
325
- 0.005032959938049316,
326
- 0.005074944019317627,
327
- 0.00501964807510376,
328
- 0.0050462718009948735,
329
- 0.005057536125183106,
330
- 0.005024735927581787,
331
- 0.005021696090698242,
332
- 0.005035007953643799,
333
- 0.0050432000160217285,
334
- 0.005004288196563721,
335
- 0.005032959938049316,
336
- 0.005039103984832764
337
  ],
338
- "count": 191,
339
- "total": 0.9958874859809875,
340
- "mean": 0.005214070607230302,
341
- "p50": 0.0051701760292053225,
342
- "p90": 0.0054579200744628905,
343
- "p95": 0.005473280191421509,
344
- "p99": 0.005503078365325927,
345
- "stdev": 0.0001710187674586333,
346
- "stdev_": 3.2799472876620275
347
  },
348
  "throughput": {
349
  "unit": "samples/s",
350
- "value": 191.78873385667418
351
  },
352
  "energy": {
353
  "unit": "kWh",
354
- "cpu": 5.8342036613986005e-08,
355
- "ram": 3.187951354181349e-08,
356
- "gpu": 3.5324330394088824e-07,
357
- "total": 4.4346485409668776e-07
358
  },
359
  "efficiency": {
360
  "unit": "samples/kWh",
361
- "value": 2254970.130692639
362
  }
363
  }
364
  }
 
3
  "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
4
  "backend": {
5
  "name": "pytorch",
6
+ "version": "2.5.1+cu124",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "image-classification",
9
  "library": "transformers",
 
44
  "duration": 1,
45
  "warmup_runs": 1,
46
  "input_shapes": {
47
+ "batch_size": 2,
48
+ "sequence_length": 16,
49
+ "num_choices": 2
50
  },
51
  "new_tokens": null,
52
  "memory": true,
 
73
  "environment": {
74
  "cpu": " AMD EPYC 7R32",
75
  "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.248768,
77
  "system": "Linux",
78
  "machine": "x86_64",
79
+ "platform": "Linux-5.10.227-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
80
  "processor": "x86_64",
81
  "python_version": "3.10.12",
82
  "gpu": [
 
86
  "gpu_vram_mb": 24146608128,
87
  "optimum_benchmark_version": "0.5.0.dev0",
88
  "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.46.3",
90
  "transformers_commit": null,
91
+ "accelerate_version": "1.1.1",
92
  "accelerate_commit": null,
93
+ "diffusers_version": "0.31.0",
94
  "diffusers_commit": null,
95
  "optimum_version": null,
96
  "optimum_commit": null,
97
+ "timm_version": "1.0.11",
98
  "timm_commit": null,
99
  "peft_version": "0.13.2",
100
  "peft_commit": null
 
106
  "load": {
107
  "memory": {
108
  "unit": "MB",
109
+ "max_ram": 860.557312,
110
  "max_global_vram": 1037.565952,
111
  "max_process_vram": 0.0,
112
  "max_reserved": 400.556032,
 
115
  "latency": {
116
  "unit": "s",
117
  "values": [
118
+ 0.1277347869873047
119
  ],
120
  "count": 1,
121
+ "total": 0.1277347869873047,
122
+ "mean": 0.1277347869873047,
123
+ "p50": 0.1277347869873047,
124
+ "p90": 0.1277347869873047,
125
+ "p95": 0.1277347869873047,
126
+ "p99": 0.1277347869873047,
127
  "stdev": 0,
128
  "stdev_": 0
129
  },
 
134
  "forward": {
135
  "memory": {
136
  "unit": "MB",
137
+ "max_ram": 1050.722304,
138
+ "max_global_vram": 1073.217536,
139
  "max_process_vram": 0.0,
140
+ "max_reserved": 423.624704,
141
+ "max_allocated": 377.056256
142
  },
143
  "latency": {
144
  "unit": "s",
145
  "values": [
146
+ 0.00729702377319336,
147
+ 0.006859776020050049,
148
+ 0.0068577280044555666,
149
+ 0.006990848064422607,
150
+ 0.006894591808319092,
151
+ 0.006910975933074951,
152
+ 0.006920191764831543,
153
+ 0.0069212160110473635,
154
+ 0.006922239780426025,
155
+ 0.006933504104614257,
156
+ 0.006920191764831543,
157
+ 0.007008255958557129,
158
+ 0.006908927917480469,
159
+ 0.006914048194885254,
160
+ 0.00690176010131836,
161
+ 0.006904831886291504,
162
+ 0.006899712085723877,
163
+ 0.006914048194885254,
164
+ 0.006916096210479736,
165
+ 0.006899712085723877,
166
+ 0.006900735855102539,
167
+ 0.006907904148101806,
168
+ 0.006908927917480469,
169
+ 0.006909952163696289,
170
+ 0.006915071964263916,
171
+ 0.007032832145690918,
172
+ 0.006922239780426025,
173
+ 0.006912000179290771,
174
+ 0.007029759883880615,
175
+ 0.006917119979858399,
176
+ 0.0069027838706970214,
177
+ 0.006922239780426025,
178
+ 0.006917119979858399,
179
+ 0.006923264026641846,
180
+ 0.006913023948669434,
181
+ 0.006923264026641846,
182
+ 0.006909952163696289,
183
+ 0.006923264026641846,
184
+ 0.006924287796020508,
185
+ 0.006917119979858399,
186
+ 0.006937600135803222,
187
+ 0.006964223861694336,
188
+ 0.007044095993041993,
189
+ 0.006952960014343262,
190
+ 0.006959104061126709,
191
+ 0.00707583999633789,
192
+ 0.006968319892883301,
193
+ 0.006966271877288818,
194
+ 0.006949888229370117,
195
+ 0.006964223861694336,
196
+ 0.0069632000923156735,
197
+ 0.006957056045532227,
198
+ 0.006971392154693603,
199
+ 0.006959104061126709,
200
+ 0.0069621758460998535,
201
+ 0.006969344139099121,
202
+ 0.006970367908477783,
203
+ 0.006961152076721191,
204
+ 0.006967296123504638,
205
+ 0.007163904190063477,
206
+ 0.0069632000923156735,
207
+ 0.006956031799316406,
208
+ 0.006958079814910889,
209
+ 0.006958079814910889,
210
+ 0.006965248107910156,
211
+ 0.006966271877288818,
212
+ 0.006965248107910156,
213
+ 0.006971392154693603,
214
+ 0.006967296123504638,
215
+ 0.006957056045532227,
216
+ 0.0069621758460998535,
217
+ 0.006953983783721924,
218
+ 0.006964223861694336,
219
+ 0.0069632000923156735,
220
+ 0.007016448020935059,
221
+ 0.006979584217071533,
222
+ 0.006972415924072266,
223
+ 0.0069621758460998535,
224
+ 0.0069621758460998535,
225
+ 0.006968319892883301,
226
+ 0.00695091199874878,
227
+ 0.006952960014343262,
228
+ 0.006959104061126709,
229
+ 0.006961152076721191,
230
+ 0.006967296123504638,
231
+ 0.006974463939666748,
232
+ 0.006970367908477783,
233
+ 0.00695091199874878,
234
+ 0.006956031799316406,
235
+ 0.007049215793609619,
236
+ 0.0069621758460998535,
237
+ 0.006965248107910156,
238
+ 0.0069632000923156735,
239
+ 0.0070563840866088865,
240
+ 0.006956031799316406,
241
+ 0.006958079814910889,
242
+ 0.006961152076721191,
243
+ 0.006961152076721191,
244
+ 0.0069612798690795894,
245
+ 0.006947840213775635,
246
+ 0.0069621758460998535,
247
+ 0.006960127830505371,
248
+ 0.006952960014343262,
249
+ 0.006956031799316406,
250
+ 0.006960127830505371,
251
+ 0.0069632000923156735,
252
+ 0.006968319892883301,
253
+ 0.007062528133392334,
254
+ 0.006964223861694336,
255
+ 0.0069632000923156735,
256
+ 0.006959104061126709,
257
+ 0.006964223861694336,
258
+ 0.006965248107910156,
259
+ 0.007079936027526855,
260
+ 0.006976511955261231,
261
+ 0.006967296123504638,
262
+ 0.006975488185882568,
263
+ 0.006967296123504638,
264
+ 0.006956031799316406,
265
+ 0.006965248107910156,
266
+ 0.006961152076721191,
267
+ 0.006968319892883301,
268
+ 0.006969344139099121,
269
+ 0.006960127830505371,
270
+ 0.006964223861694336,
271
+ 0.006953983783721924,
272
+ 0.006949888229370117,
273
+ 0.007079936027526855,
274
+ 0.007028736114501953,
275
+ 0.007030784130096435,
276
+ 0.007164927959442138,
277
+ 0.007077888011932373,
278
+ 0.007069695949554444,
279
+ 0.007078911781311035,
280
+ 0.007078911781311035,
281
+ 0.007076863765716553,
282
+ 0.007069695949554444,
283
+ 0.007065599918365479,
284
+ 0.007068672180175781,
285
+ 0.007069695949554444,
286
+ 0.007064576148986816,
287
+ 0.007062528133392334,
288
+ 0.0070522880554199216,
289
+ 0.007066624164581299,
290
+ 0.007180287837982178,
291
+ 0.007065599918365479,
292
+ 0.007106560230255127,
293
+ 0.007065599918365479,
294
+ 0.007063551902770996,
295
+ 0.007065599918365479
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  ],
297
+ "count": 150,
298
+ "total": 1.0465434861183167,
299
+ "mean": 0.006976956574122113,
300
+ "p50": 0.006962687969207763,
301
+ "p90": 0.007068774557113648,
302
+ "p95": 0.007078911781311035,
303
+ "p99": 0.0071727614974975585,
304
+ "stdev": 6.459359385629271e-05,
305
+ "stdev_": 0.9258133280616027
306
  },
307
  "throughput": {
308
  "unit": "samples/s",
309
+ "value": 286.65794014228237
310
  },
311
  "energy": {
312
  "unit": "kWh",
313
+ "cpu": 8.286573810588932e-08,
314
+ "ram": 4.528747012283052e-08,
315
+ "gpu": 5.670437049396007e-07,
316
+ "total": 6.951969131683204e-07
317
  },
318
  "efficiency": {
319
  "unit": "samples/kWh",
320
+ "value": 2876882.7394314995
321
  }
322
  }
323
  }