File size: 8,745 Bytes
cf14c69
 
 
 
 
679ab70
cf14c69
 
3f2c793
1e07ed2
62d3a13
 
cf14c69
 
 
 
 
62d3a13
 
cf14c69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679ab70
 
 
cf14c69
 
 
8939b78
cf14c69
 
 
 
 
 
 
 
 
 
 
 
 
 
28bfd0d
3c85041
 
cf14c69
 
 
 
 
679ab70
cf14c69
 
7f94d44
cf14c69
d7df0d1
cf14c69
 
 
 
 
6d2bba3
cf14c69
5df09cb
cf14c69
5df09cb
cf14c69
679ab70
cf14c69
01c5c59
cf14c69
69f5273
cf14c69
5df09cb
60c40fc
85af381
 
 
cf14c69
 
51a4b99
8939b78
 
5df09cb
abe464d
8939b78
 
01c5c59
8939b78
 
 
11a5dcf
56bddfc
63854ff
 
56bddfc
 
 
 
 
 
63854ff
 
8939b78
 
51a4b99
 
56bddfc
 
 
 
51a4b99
8939b78
 
cf14c69
 
 
56bddfc
679ab70
cf14c69
679ab70
 
cf14c69
 
 
 
56bddfc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63854ff
56bddfc
 
 
 
 
 
 
 
 
cf14c69
 
 
56bddfc
cf14c69
 
 
56bddfc
 
 
 
cf14c69
 
 
56bddfc
cf14c69
 
 
 
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
{
    "config": {
        "name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
        "backend": {
            "name": "pytorch",
            "version": "2.5.1+cu124",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "token-classification",
            "library": "transformers",
            "model_type": "deberta-v2",
            "model": "microsoft/deberta-v3-base",
            "processor": "microsoft/deberta-v3-base",
            "device": "cuda",
            "device_ids": "0",
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "model_kwargs": {},
            "processor_kwargs": {},
            "no_weights": true,
            "device_map": null,
            "torch_dtype": null,
            "eval_mode": true,
            "to_bettertransformer": false,
            "low_cpu_mem_usage": null,
            "attn_implementation": null,
            "cache_implementation": null,
            "autocast_enabled": false,
            "autocast_dtype": null,
            "torch_compile": false,
            "torch_compile_target": "forward",
            "torch_compile_config": {},
            "quantization_scheme": null,
            "quantization_config": {},
            "deepspeed_inference": false,
            "deepspeed_inference_config": {},
            "peft_type": null,
            "peft_config": {}
        },
        "scenario": {
            "name": "inference",
            "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
            "iterations": 1,
            "duration": 1,
            "warmup_runs": 1,
            "input_shapes": {
                "batch_size": 2,
                "sequence_length": 16,
                "num_choices": 2
            },
            "new_tokens": null,
            "memory": true,
            "latency": true,
            "energy": true,
            "forward_kwargs": {},
            "generate_kwargs": {
                "max_new_tokens": 2,
                "min_new_tokens": 2
            },
            "call_kwargs": {
                "num_inference_steps": 2
            }
        },
        "launcher": {
            "name": "process",
            "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
            "device_isolation": true,
            "device_isolation_action": "error",
            "numactl": false,
            "numactl_kwargs": {},
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7R32",
            "cpu_count": 16,
            "cpu_ram_mb": 66697.248768,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.12",
            "gpu": [
                "NVIDIA A10G"
            ],
            "gpu_count": 1,
            "gpu_vram_mb": 24146608128,
            "optimum_benchmark_version": "0.5.0.dev0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.47.0",
            "transformers_commit": null,
            "accelerate_version": "1.2.0",
            "accelerate_commit": null,
            "diffusers_version": "0.31.0",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "1.0.12",
            "timm_commit": null,
            "peft_version": "0.14.0",
            "peft_commit": null
        },
        "print_report": true,
        "log_report": true
    },
    "report": {
        "load_model": {
            "memory": {
                "unit": "MB",
                "max_ram": 815.071232,
                "max_global_vram": 1410.859008,
                "max_process_vram": 0.0,
                "max_reserved": 773.849088,
                "max_allocated": 736.603648
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.09372160339355469
                ],
                "count": 1,
                "total": 0.09372160339355469,
                "mean": 0.09372160339355469,
                "p50": 0.09372160339355469,
                "p90": 0.09372160339355469,
                "p95": 0.09372160339355469,
                "p99": 0.09372160339355469,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": {
                "unit": "kWh",
                "cpu": 9.686762704166718e-05,
                "ram": 5.307108818443216e-05,
                "gpu": 0.00013436177415600097,
                "total": 0.0002843004893821003
            },
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1260.269568,
                "max_global_vram": 1444.41344,
                "max_process_vram": 0.0,
                "max_reserved": 796.91776,
                "max_allocated": 757.115392
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.12379750061035157,
                    0.015418399810791015,
                    0.015774720191955565,
                    0.015278176307678222,
                    0.015501312255859375,
                    0.015383551597595215,
                    0.015376383781433106,
                    0.015436800003051757,
                    0.015847423553466796,
                    0.015635456085205078,
                    0.01540403175354004,
                    0.015461376190185547,
                    0.015259648323059082,
                    0.015276032447814942,
                    0.015332351684570313,
                    0.015126527786254883,
                    0.01529747200012207,
                    0.015278079986572265,
                    0.015626239776611327,
                    0.015248384475708008,
                    0.014996543884277343,
                    0.014957568168640138,
                    0.014774271965026856,
                    0.014717951774597168,
                    0.014674943923950195,
                    0.014723072052001953,
                    0.014566399574279786,
                    0.0145797119140625,
                    0.014616576194763184,
                    0.015013919830322266,
                    0.014624768257141114,
                    0.014554112434387208,
                    0.014620639801025391,
                    0.014584832191467285,
                    0.014792703628540039,
                    0.014017536163330077,
                    0.014065664291381836,
                    0.014215104103088379,
                    0.013947903633117676,
                    0.01397766399383545,
                    0.013943840026855468,
                    0.01387110424041748,
                    0.013998080253601074,
                    0.013934592247009277,
                    0.01376153564453125,
                    0.013798399925231934,
                    0.013806591987609864,
                    0.01394380760192871,
                    0.013718527793884277,
                    0.013819904327392578,
                    0.013788160324096679,
                    0.013920255661010742,
                    0.01377791976928711,
                    0.013816831588745117,
                    0.013867008209228515,
                    0.013996031761169434,
                    0.014144543647766114,
                    0.014007295608520508,
                    0.013983743667602539,
                    0.013970368385314942,
                    0.014063615798950196
                ],
                "count": 61,
                "total": 0.9997139148712159,
                "mean": 0.01638875270280682,
                "p50": 0.014616576194763184,
                "p90": 0.015461376190185547,
                "p95": 0.015635456085205078,
                "p99": 0.05902745437622055,
                "stdev": 0.013881784233471429,
                "stdev_": 84.70311612606105
            },
            "throughput": {
                "unit": "samples/s",
                "value": 122.03491237362256
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.7720524409724369e-07,
                "ram": 9.648669604758925e-08,
                "gpu": 4.428148967352699e-07,
                "total": 7.165068368801028e-07
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 2791320.1899211905
            }
        }
    }
}