IlyasMoutawwakil HF staff commited on
Commit
c7bf350
·
verified ·
1 Parent(s): f30652f

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
@@ -6,19 +6,17 @@
6
  "version": "2.2.2",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "image-classification",
9
- "model": "google/vit-base-patch16-224",
10
  "library": "transformers",
 
 
11
  "device": "cuda",
12
  "device_ids": "0",
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,
@@ -104,7 +102,7 @@
104
  "forward": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 904.613888,
108
  "max_global_vram": 1057.488896,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 406.847488,
@@ -112,211 +110,209 @@
112
  },
113
  "latency": {
114
  "unit": "s",
115
- "count": 180,
116
- "total": 0.9955206079483032,
117
- "mean": 0.00553067004415724,
118
- "stdev": 0.0002306452633059222,
119
- "p50": 0.005603328227996827,
120
- "p90": 0.005745868921279908,
121
- "p95": 0.005811712145805358,
122
- "p99": 0.006046156888008121,
123
  "values": [
124
- 0.006325247764587402,
125
- 0.005606400012969971,
126
- 0.005609568119049072,
127
- 0.00566374397277832,
128
- 0.005708799839019775,
129
- 0.0057077760696411135,
130
- 0.005693439960479736,
131
- 0.005740543842315674,
132
- 0.005650432109832764,
133
- 0.00572211217880249,
134
- 0.005643263816833496,
135
- 0.005846015930175781,
136
- 0.005637119770050049,
137
- 0.005647359848022461,
138
- 0.005672959804534912,
139
- 0.005755904197692871,
140
- 0.005718016147613526,
141
- 0.005650432109832764,
142
- 0.0056555519104003905,
143
- 0.005560319900512695,
144
- 0.005700607776641845,
145
- 0.005811200141906738,
146
- 0.005665791988372803,
147
- 0.0057077760696411135,
148
- 0.005747712135314941,
149
- 0.005808127880096436,
150
- 0.005649407863616943,
151
- 0.005683199882507324,
152
- 0.005675007820129394,
153
- 0.005603328227996827,
154
- 0.005645311832427978,
155
- 0.00556441593170166,
156
- 0.005709824085235596,
157
- 0.005658624172210694,
158
- 0.005661695957183838,
159
- 0.005757952213287353,
160
- 0.0057077760696411135,
161
- 0.005745664119720459,
162
- 0.005708799839019775,
163
- 0.00566374397277832,
164
- 0.005563392162322998,
165
- 0.005669888019561768,
166
- 0.0057077760696411135,
167
- 0.005644320011138916,
168
- 0.00568832015991211,
169
- 0.00561356782913208,
170
- 0.005536767959594726,
171
- 0.005512191772460938,
172
- 0.005655519962310791,
173
- 0.005570559978485107,
174
- 0.005586912155151367,
175
  0.005559296131134033,
176
- 0.005566463947296142,
177
- 0.005609471797943116,
178
- 0.005643263816833496,
179
- 0.0055797758102417,
180
- 0.005656576156616211,
181
- 0.005633024215698243,
182
- 0.005631999969482422,
183
- 0.005710847854614258,
184
  0.00566476821899414,
185
- 0.005710912227630615,
186
- 0.005657599925994873,
187
- 0.005606400012969971,
188
- 0.005576704025268555,
189
- 0.005624832153320313,
190
- 0.0058429441452026365,
191
- 0.005604383945465088,
192
- 0.005654528141021729,
193
- 0.005619711875915527,
194
- 0.00561356782913208,
195
- 0.005554175853729248,
196
- 0.005530623912811279,
197
  0.005653503894805908,
198
- 0.0055797758102417,
199
- 0.005606400012969971,
200
- 0.00586348819732666,
201
- 0.005724160194396972,
202
- 0.005595136165618897,
203
- 0.005544960021972656,
204
- 0.005603328227996827,
205
- 0.0055807681083679195,
206
- 0.0055848960876464845,
207
- 0.00561356782913208,
208
- 0.005603328227996827,
209
- 0.005601280212402344,
210
- 0.0055552000999450684,
211
- 0.0055920639038085935,
212
- 0.00567193603515625,
213
- 0.0057292799949646,
214
- 0.005777376174926758,
215
- 0.005677055835723877,
216
- 0.005745664119720459,
 
 
 
 
 
 
217
  0.005837823867797852,
218
- 0.005670911788940429,
219
- 0.0056483840942382815,
220
- 0.005606400012969971,
221
- 0.005971968173980713,
222
- 0.0057712321281433105,
223
- 0.005866496086120605,
224
- 0.005766143798828125,
225
- 0.006393856048583985,
226
- 0.0057415680885314945,
227
- 0.005672959804534912,
228
- 0.005623807907104492,
229
- 0.00582144021987915,
230
- 0.005661695957183838,
231
- 0.005518335819244385,
232
- 0.005568511962890625,
233
- 0.00553984022140503,
234
- 0.005603263854980469,
235
- 0.005560319900512695,
236
- 0.005604351997375488,
237
- 0.0055808000564575196,
238
- 0.005605375766754151,
239
- 0.005777408123016357,
240
- 0.00572211217880249,
241
- 0.005618688106536865,
242
- 0.005469183921813964,
243
- 0.005467135906219483,
244
- 0.0055316481590271,
245
- 0.005653503894805908,
246
  0.00551423978805542,
247
- 0.005533696174621582,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  0.005402624130249023,
 
 
 
 
 
 
249
  0.005433343887329102,
250
- 0.0054579200744628905,
251
- 0.005356544017791748,
252
- 0.005264383792877197,
253
- 0.005182464122772217,
254
- 0.005505023956298828,
255
- 0.005459968090057373,
256
- 0.005198847770690918,
257
- 0.005179391860961914,
258
- 0.00521727991104126,
259
- 0.005172224044799805,
260
- 0.0052705278396606445,
261
- 0.005285888195037842,
262
- 0.005250048160552978,
263
- 0.005262335777282715,
264
- 0.005440512180328369,
265
- 0.005261312007904053,
266
- 0.005246975898742676,
267
- 0.005243904113769531,
268
- 0.00526035213470459,
269
- 0.005230591773986816,
270
- 0.005249023914337158,
271
- 0.005278719902038574,
272
- 0.005251071929931641,
273
- 0.005187583923339844,
274
- 0.005214176177978516,
275
- 0.005194752216339111,
276
- 0.005193727970123291,
277
- 0.005212160110473632,
278
- 0.0051588802337646485,
279
- 0.005158912181854248,
280
- 0.005195775985717774,
281
- 0.005195775985717774,
282
- 0.005189631938934326,
283
- 0.005178368091583252,
284
- 0.005202943801879883,
285
- 0.005174272060394287,
286
- 0.005179391860961914,
287
- 0.00520908784866333,
288
- 0.005171199798583984,
289
- 0.005172224044799805,
290
- 0.005199903964996338,
291
- 0.005164031982421875,
292
- 0.005157887935638428,
293
- 0.005175295829772949,
294
- 0.005213183879852295,
295
- 0.005157887935638428,
296
- 0.005184512138366699,
297
- 0.005192704200744629,
298
- 0.005171199798583984,
299
- 0.005150720119476319,
300
- 0.005188608169555664,
301
- 0.0051701760292053225,
302
- 0.005180416107177735,
303
- 0.005145599842071533
304
  ]
305
  },
306
  "throughput": {
307
  "unit": "samples/s",
308
- "value": 180.80991851184993
309
  },
310
  "energy": {
311
  "unit": "kWh",
312
- "cpu": 6.423169249170894e-08,
313
- "ram": 3.511774607358274e-08,
314
- "gpu": 3.3701228162176934e-07,
315
- "total": 4.36361720187061e-07
316
  },
317
  "efficiency": {
318
  "unit": "samples/kWh",
319
- "value": 2291676.729964573
320
  }
321
  }
322
  }
 
6
  "version": "2.2.2",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "image-classification",
 
9
  "library": "transformers",
10
+ "model": "google/vit-base-patch16-224",
11
+ "processor": "google/vit-base-patch16-224",
12
  "device": "cuda",
13
  "device_ids": "0",
14
  "seed": 42,
15
  "inter_op_num_threads": null,
16
  "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
 
 
 
20
  "no_weights": true,
21
  "device_map": null,
22
  "torch_dtype": null,
 
102
  "forward": {
103
  "memory": {
104
  "unit": "MB",
105
+ "max_ram": 905.039872,
106
  "max_global_vram": 1057.488896,
107
  "max_process_vram": 0.0,
108
  "max_reserved": 406.847488,
 
110
  },
111
  "latency": {
112
  "unit": "s",
113
+ "count": 178,
114
+ "total": 0.9980926094055176,
115
+ "mean": 0.0056072618505927955,
116
+ "stdev": 0.0001812279333278747,
117
+ "p50": 0.005572096109390259,
118
+ "p90": 0.005838745546340942,
119
+ "p95": 0.00587253749370575,
120
+ "p99": 0.0059661240005493155,
121
  "values": [
122
+ 0.0059361281394958495,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  0.005559296131134033,
124
+ 0.005676032066345215,
125
+ 0.005607423782348633,
 
 
 
 
 
 
126
  0.00566476821899414,
 
 
 
 
 
 
 
 
 
 
 
 
127
  0.005653503894805908,
128
+ 0.005637119770050049,
129
+ 0.005940224170684814,
130
+ 0.00588595199584961,
131
+ 0.005859327793121338,
132
+ 0.006073344230651856,
133
+ 0.005832704067230224,
134
+ 0.005814271926879883,
135
+ 0.005840896129608154,
136
+ 0.00586956787109375,
137
+ 0.005857279777526855,
138
+ 0.005757952213287353,
139
+ 0.005700607776641845,
140
+ 0.005691391944885254,
141
+ 0.0057487359046936035,
142
+ 0.00576204776763916,
143
+ 0.005785600185394287,
144
+ 0.005854207992553711,
145
+ 0.005856256008148194,
146
+ 0.005923840045928955,
147
+ 0.005789696216583252,
148
+ 0.005816319942474365,
149
+ 0.005735424041748047,
150
+ 0.00581324815750122,
151
+ 0.005822463989257813,
152
+ 0.005859327793121338,
153
  0.005837823867797852,
154
+ 0.0058716158866882326,
155
+ 0.005815231800079345,
156
+ 0.005538815975189209,
157
+ 0.00551526403427124,
158
+ 0.005494783878326416,
159
+ 0.0055848960876464845,
160
+ 0.00551526403427124,
161
+ 0.005534719944000244,
162
+ 0.005497856140136719,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  0.00551423978805542,
164
+ 0.005763072013854981,
165
+ 0.0057077760696411135,
166
+ 0.005697535991668701,
167
+ 0.005765120029449463,
168
+ 0.005696576118469238,
169
+ 0.005752831935882568,
170
+ 0.005726208209991455,
171
+ 0.005855231761932373,
172
+ 0.005787648200988769,
173
+ 0.005834784030914307,
174
+ 0.005824512004852295,
175
+ 0.005776383876800537,
176
+ 0.005826560020446778,
177
+ 0.005775392055511475,
178
+ 0.005805056095123291,
179
+ 0.005731296062469482,
180
+ 0.005781504154205322,
181
+ 0.005910528182983398,
182
+ 0.005822463989257813,
183
+ 0.005765120029449463,
184
+ 0.005753856182098388,
185
+ 0.005697535991668701,
186
+ 0.005662720203399658,
187
+ 0.005736447811126709,
188
+ 0.0057190399169921875,
189
+ 0.00570470380783081,
190
+ 0.005781439781188965,
191
+ 0.005834752082824707,
192
+ 0.005796864032745362,
193
+ 0.005733376026153565,
194
+ 0.005751808166503906,
195
+ 0.005728256225585937,
196
+ 0.005744639873504639,
197
+ 0.005529600143432617,
198
+ 0.005784575939178467,
199
+ 0.005791744232177734,
200
+ 0.005750783920288086,
201
+ 0.005759935855865478,
202
+ 0.00587775993347168,
203
+ 0.0058091521263122555,
204
+ 0.005831679821014404,
205
+ 0.005819392204284668,
206
+ 0.005545983791351319,
207
+ 0.0055285758972167965,
208
+ 0.005523519992828369,
209
+ 0.005532671928405761,
210
+ 0.005405695915222168,
211
+ 0.005690368175506591,
212
+ 0.005760992050170898,
213
+ 0.005667840003967285,
214
+ 0.005660607814788819,
215
+ 0.005495808124542236,
216
+ 0.005616640090942383,
217
+ 0.005715968132019043,
218
+ 0.006052832126617432,
219
+ 0.005912576198577881,
220
+ 0.005502975940704345,
221
+ 0.00546611213684082,
222
+ 0.005498816013336181,
223
+ 0.005452799797058106,
224
+ 0.005601280212402344,
225
+ 0.005554207801818848,
226
+ 0.00555622386932373,
227
+ 0.005595136165618897,
228
+ 0.005634047985076904,
229
+ 0.005701663970947265,
230
+ 0.005701632022857666,
231
+ 0.005511168003082275,
232
+ 0.005404672145843506,
233
+ 0.005385216236114502,
234
+ 0.005596159934997558,
235
+ 0.005422080039978027,
236
+ 0.005387263774871826,
237
+ 0.005414912223815918,
238
+ 0.005402560234069824,
239
+ 0.0054436478614807125,
240
+ 0.005408768177032471,
241
+ 0.005410816192626953,
242
+ 0.005422080039978027,
243
+ 0.005419007778167725,
244
+ 0.005421055793762207,
245
+ 0.005437439918518067,
246
+ 0.005414912223815918,
247
+ 0.005402624130249023,
248
+ 0.0054241280555725096,
249
+ 0.005425151824951172,
250
+ 0.005430272102355957,
251
+ 0.005464064121246338,
252
+ 0.005402656078338623,
253
+ 0.005468128204345703,
254
+ 0.005438464164733887,
255
+ 0.005401599884033203,
256
+ 0.005414912223815918,
257
+ 0.0054271998405456545,
258
+ 0.005391359806060791,
259
+ 0.00542310380935669,
260
+ 0.00541593599319458,
261
+ 0.005404672145843506,
262
+ 0.005393407821655274,
263
+ 0.0054241280555725096,
264
+ 0.005463039875030518,
265
  0.005402624130249023,
266
+ 0.005386240005493164,
267
+ 0.005412864208221436,
268
+ 0.005408768177032471,
269
+ 0.00538316822052002,
270
+ 0.005447679996490478,
271
+ 0.005419007778167725,
272
  0.005433343887329102,
273
+ 0.005422080039978027,
274
+ 0.005410816192626953,
275
+ 0.005437439918518067,
276
+ 0.005393407821655274,
277
+ 0.005403647899627686,
278
+ 0.005447679996490478,
279
+ 0.005403647899627686,
280
+ 0.0053975038528442385,
281
+ 0.005451776027679443,
282
+ 0.005390336036682129,
283
+ 0.005399551868438721,
284
+ 0.005451776027679443,
285
+ 0.005426176071166992,
286
+ 0.005433375835418701,
287
+ 0.005401599884033203,
288
+ 0.005411839962005615,
289
+ 0.0054282240867614745,
290
+ 0.005411839962005615,
291
+ 0.005413887977600097,
292
+ 0.005408768177032471,
293
+ 0.005472256183624268,
294
+ 0.005422080039978027,
295
+ 0.005449728012084961,
296
+ 0.005430272102355957,
297
+ 0.005408703804016113,
298
+ 0.005420032024383545,
299
+ 0.005407743930816651
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  ]
301
  },
302
  "throughput": {
303
  "unit": "samples/s",
304
+ "value": 178.34016435210364
305
  },
306
  "energy": {
307
  "unit": "kWh",
308
+ "cpu": 6.514185168513158e-08,
309
+ "ram": 3.5614991816396214e-08,
310
+ "gpu": 3.4007200587913006e-07,
311
+ "total": 4.408288493806579e-07
312
  },
313
  "efficiency": {
314
  "unit": "samples/kWh",
315
+ "value": 2268454.0755555113
316
  }
317
  }
318
  }