IlyasMoutawwakil HF staff commited on
Commit
3b8846e
·
verified ·
1 Parent(s): 8539623

Upload cuda_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k/benchmark.json with huggingface_hub

Browse files
cuda_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k/benchmark.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k",
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": "timm",
10
+ "model_type": "tiny_vit_21m_224",
11
+ "model": "timm/tiny_vit_21m_224.in1k",
12
+ "processor": "timm/tiny_vit_21m_224.in1k",
13
+ "device": "cuda",
14
+ "device_ids": "0",
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "no_weights": false,
21
+ "device_map": null,
22
+ "torch_dtype": null,
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": null,
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {},
33
+ "quantization_scheme": null,
34
+ "quantization_config": {},
35
+ "deepspeed_inference": false,
36
+ "deepspeed_inference_config": {},
37
+ "peft_type": null,
38
+ "peft_config": {}
39
+ },
40
+ "scenario": {
41
+ "name": "inference",
42
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
43
+ "iterations": 1,
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,
53
+ "latency": true,
54
+ "energy": true,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 2,
58
+ "min_new_tokens": 2
59
+ },
60
+ "call_kwargs": {
61
+ "num_inference_steps": 2
62
+ }
63
+ },
64
+ "launcher": {
65
+ "name": "process",
66
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
67
+ "device_isolation": true,
68
+ "device_isolation_action": "error",
69
+ "numactl": false,
70
+ "numactl_kwargs": {},
71
+ "start_method": "spawn"
72
+ },
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.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.12",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.5.0.dev0",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.47.0",
90
+ "transformers_commit": null,
91
+ "accelerate_version": "1.2.0",
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.12",
98
+ "timm_commit": null,
99
+ "peft_version": "0.14.0",
100
+ "peft_commit": null
101
+ },
102
+ "print_report": true,
103
+ "log_report": true
104
+ },
105
+ "report": {
106
+ "load_model": {
107
+ "memory": {
108
+ "unit": "MB",
109
+ "max_ram": 868.708352,
110
+ "max_global_vram": 668.4672,
111
+ "max_process_vram": 0.0,
112
+ "max_reserved": 96.468992,
113
+ "max_allocated": 87.191552
114
+ },
115
+ "latency": {
116
+ "unit": "s",
117
+ "values": [
118
+ 0.45765438842773437
119
+ ],
120
+ "count": 1,
121
+ "total": 0.45765438842773437,
122
+ "mean": 0.45765438842773437,
123
+ "p50": 0.45765438842773437,
124
+ "p90": 0.45765438842773437,
125
+ "p95": 0.45765438842773437,
126
+ "p99": 0.45765438842773437,
127
+ "stdev": 0,
128
+ "stdev_": 0
129
+ },
130
+ "throughput": null,
131
+ "energy": {
132
+ "unit": "kWh",
133
+ "cpu": 0.00010182939718472301,
134
+ "ram": 5.579162435797879e-05,
135
+ "gpu": 0.00013827316617399596,
136
+ "total": 0.00029589418771669776
137
+ },
138
+ "efficiency": null
139
+ },
140
+ "forward": {
141
+ "memory": {
142
+ "unit": "MB",
143
+ "max_ram": 1190.330368,
144
+ "max_global_vram": 815.26784,
145
+ "max_process_vram": 0.0,
146
+ "max_reserved": 165.675008,
147
+ "max_allocated": 130.6368
148
+ },
149
+ "latency": {
150
+ "unit": "s",
151
+ "values": [
152
+ 0.00972390365600586,
153
+ 0.009182208061218262,
154
+ 0.009527296066284179,
155
+ 0.00932044792175293,
156
+ 0.009669631958007812,
157
+ 0.00954265594482422,
158
+ 0.009245696067810059,
159
+ 0.009381888389587402,
160
+ 0.009081855773925781,
161
+ 0.009038847923278808,
162
+ 0.009206784248352052,
163
+ 0.00942080020904541,
164
+ 0.009396224021911622,
165
+ 0.009507840156555175,
166
+ 0.009309184074401856,
167
+ 0.009307135581970214,
168
+ 0.009029631614685058,
169
+ 0.009095168113708496,
170
+ 0.009274368286132812,
171
+ 0.00895798397064209,
172
+ 0.008963168144226074,
173
+ 0.008978431701660156,
174
+ 0.00900710391998291,
175
+ 0.009053183555603026,
176
+ 0.009016384124755859,
177
+ 0.008991776466369629,
178
+ 0.008989695549011231,
179
+ 0.009158656120300293,
180
+ 0.009293824195861817,
181
+ 0.009245696067810059,
182
+ 0.009169952392578125,
183
+ 0.009049087524414063,
184
+ 0.009273311614990235,
185
+ 0.009226240158081055,
186
+ 0.009695232391357422,
187
+ 0.009232383728027344,
188
+ 0.009172991752624511,
189
+ 0.009150464057922364,
190
+ 0.009310208320617675,
191
+ 0.009149408340454102,
192
+ 0.009202688217163087,
193
+ 0.009076736450195312,
194
+ 0.009050111770629882,
195
+ 0.009177087783813476,
196
+ 0.009134143829345702,
197
+ 0.00923136043548584,
198
+ 0.00918934440612793,
199
+ 0.00912384033203125,
200
+ 0.00901318359375,
201
+ 0.008975359916687011,
202
+ 0.009016351699829101,
203
+ 0.009026559829711914,
204
+ 0.009010208129882813,
205
+ 0.00897430419921875,
206
+ 0.008991744041442871,
207
+ 0.008881152153015137,
208
+ 0.009066495895385742,
209
+ 0.008936448097229004,
210
+ 0.008922080039978027,
211
+ 0.00890060806274414,
212
+ 0.008912896156311035,
213
+ 0.009081791877746583,
214
+ 0.008968128204345702,
215
+ 0.009269248008728028,
216
+ 0.010556415557861328,
217
+ 0.010271743774414062,
218
+ 0.008999936103820801,
219
+ 0.009101311683654785,
220
+ 0.008870911598205567,
221
+ 0.008884256362915038,
222
+ 0.008720383644104004,
223
+ 0.008651712417602538,
224
+ 0.008642560005187988,
225
+ 0.008597503662109375,
226
+ 0.00858521556854248,
227
+ 0.00857907199859619,
228
+ 0.008637439727783204,
229
+ 0.008536064147949218,
230
+ 0.008612863540649414,
231
+ 0.008591360092163085,
232
+ 0.009077759742736816,
233
+ 0.008896512031555176,
234
+ 0.008629247665405274,
235
+ 0.009169919967651367,
236
+ 0.008958975791931152,
237
+ 0.008929280281066895,
238
+ 0.008616928100585938,
239
+ 0.008655872344970703,
240
+ 0.008601568222045898,
241
+ 0.008657919883728027,
242
+ 0.008543231964111327,
243
+ 0.008497088432312012,
244
+ 0.008521727561950684,
245
+ 0.008619008064270019,
246
+ 0.008696800231933593,
247
+ 0.008859647750854491,
248
+ 0.008889344215393067,
249
+ 0.008714240074157715,
250
+ 0.008604672431945801,
251
+ 0.00861695957183838,
252
+ 0.008598527908325194,
253
+ 0.008695808410644532,
254
+ 0.008652799606323243,
255
+ 0.008622079849243165,
256
+ 0.0086179838180542,
257
+ 0.008738816261291504,
258
+ 0.008662015914916991,
259
+ 0.008682496070861816,
260
+ 0.008656895637512207,
261
+ 0.008672256469726563,
262
+ 0.008612863540649414
263
+ ],
264
+ "count": 111,
265
+ "total": 0.9992866230010989,
266
+ "mean": 0.009002582189199087,
267
+ "p50": 0.008999936103820801,
268
+ "p90": 0.00932044792175293,
269
+ "p95": 0.0095349760055542,
270
+ "p99": 0.010216959762573245,
271
+ "stdev": 0.00034431522209115264,
272
+ "stdev_": 3.8246273664043553
273
+ },
274
+ "throughput": {
275
+ "unit": "samples/s",
276
+ "value": 222.1584827517059
277
+ },
278
+ "energy": {
279
+ "unit": "kWh",
280
+ "cpu": 1.0374925431761855e-07,
281
+ "ram": 5.6693251074780616e-08,
282
+ "gpu": 2.883649649912993e-07,
283
+ "total": 4.4880747038369824e-07
284
+ },
285
+ "efficiency": {
286
+ "unit": "samples/kWh",
287
+ "value": 4456253.810325713
288
+ }
289
+ }
290
+ }
291
+ }