File size: 9,096 Bytes
cf14c69
 
 
 
 
fe48a5a
cf14c69
 
3f2c793
1e07ed2
62d3a13
 
cf14c69
 
 
 
 
62d3a13
 
cf14c69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8939b78
cf14c69
 
 
 
 
 
 
 
 
 
 
 
 
 
28bfd0d
3c85041
 
cf14c69
 
 
 
 
4f0e386
cf14c69
 
11a5dcf
cf14c69
d7df0d1
cf14c69
 
 
 
 
396705e
cf14c69
0b7cd6c
cf14c69
0b7cd6c
cf14c69
abe464d
cf14c69
01c5c59
cf14c69
4646c53
cf14c69
9977620
60c40fc
85af381
 
 
cf14c69
 
8939b78
 
 
33cba14
abe464d
8939b78
 
01c5c59
8939b78
 
 
11a5dcf
33cba14
63854ff
 
33cba14
 
 
 
 
 
63854ff
 
8939b78
 
01c5c59
8939b78
 
cf14c69
 
 
33cba14
abe464d
cf14c69
 
8939b78
cf14c69
 
 
 
33cba14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
010f0e4
33cba14
 
 
 
 
 
 
 
 
 
 
 
 
010f0e4
33cba14
 
 
 
 
 
 
 
 
 
 
 
 
 
63854ff
33cba14
 
 
 
 
 
 
 
 
cf14c69
 
 
33cba14
cf14c69
 
 
33cba14
 
 
 
cf14c69
 
 
33cba14
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
242
243
244
245
246
247
248
249
{
    "config": {
        "name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
        "backend": {
            "name": "pytorch",
            "version": "2.4.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": 1,
                "num_choices": 2,
                "sequence_length": 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.261056,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.10.225-213.878.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",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.45.2",
            "transformers_commit": null,
            "accelerate_version": "1.0.0",
            "accelerate_commit": null,
            "diffusers_version": "0.30.3",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "1.0.9",
            "timm_commit": null,
            "peft_version": "0.13.0",
            "peft_commit": null
        },
        "print_report": true,
        "log_report": true
    },
    "report": {
        "load": {
            "memory": {
                "unit": "MB",
                "max_ram": 798.814208,
                "max_global_vram": 1410.859008,
                "max_process_vram": 0.0,
                "max_reserved": 773.849088,
                "max_allocated": 736.603648
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.07655833435058594
                ],
                "count": 1,
                "total": 0.07655833435058594,
                "mean": 0.07655833435058594,
                "p50": 0.07655833435058594,
                "p90": 0.07655833435058594,
                "p95": 0.07655833435058594,
                "p99": 0.07655833435058594,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1187.926016,
                "max_global_vram": 1442.316288,
                "max_process_vram": 0.0,
                "max_reserved": 794.820608,
                "max_allocated": 753.606656
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.013298656463623047,
                    0.01306009578704834,
                    0.013049856185913086,
                    0.013651968002319336,
                    0.013327360153198242,
                    0.013021183967590331,
                    0.013108223915100097,
                    0.013128640174865723,
                    0.013118464469909668,
                    0.013088768005371093,
                    0.013083647727966309,
                    0.013087743759155274,
                    0.012994560241699218,
                    0.013099007606506348,
                    0.013098015785217285,
                    0.012988415718078614,
                    0.012999679565429688,
                    0.013058048248291015,
                    0.012980223655700684,
                    0.012964863777160645,
                    0.013008895874023438,
                    0.013050880432128906,
                    0.013042688369750977,
                    0.013033472061157226,
                    0.013047807693481446,
                    0.013020159721374512,
                    0.012973055839538575,
                    0.012978176116943359,
                    0.013033472061157226,
                    0.01305395221710205,
                    0.012890111923217774,
                    0.013042688369750977,
                    0.013007935523986816,
                    0.013002752304077148,
                    0.013021183967590331,
                    0.013019136428833008,
                    0.013008895874023438,
                    0.013016063690185547,
                    0.013017087936401368,
                    0.01297920036315918,
                    0.012980223655700684,
                    0.014260224342346191,
                    0.014103551864624024,
                    0.014218239784240723,
                    0.014353407859802245,
                    0.014047231674194336,
                    0.013750271797180176,
                    0.01394380760192871,
                    0.014384127616882325,
                    0.013985792160034179,
                    0.013797375679016113,
                    0.013688863754272461,
                    0.013758463859558106,
                    0.013703167915344238,
                    0.013651968002319336,
                    0.013808639526367187,
                    0.013544447898864746,
                    0.013649920463562011,
                    0.013703167915344238,
                    0.013767680168151856,
                    0.01366323184967041,
                    0.013584383964538574,
                    0.013651935577392579,
                    0.01360588836669922,
                    0.01364684772491455,
                    0.013607935905456543,
                    0.013611007690429687,
                    0.013644800186157227,
                    0.013579263687133789,
                    0.01365503978729248,
                    0.013591551780700683,
                    0.013635616302490234,
                    0.013635583877563476,
                    0.013669376373291015,
                    0.013670399665832519
                ],
                "count": 75,
                "total": 1.004008476257324,
                "mean": 0.01338677968343099,
                "p50": 0.013128640174865723,
                "p90": 0.013889740371704103,
                "p95": 0.014137958240509034,
                "p99": 0.014361394996643066,
                "stdev": 0.0004019836770425749,
                "stdev_": 3.0028407619206274
            },
            "throughput": {
                "unit": "samples/s",
                "value": 74.70056456055032
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.5753653667762427e-07,
                "ram": 8.59852494641229e-08,
                "gpu": 3.511698715789601e-07,
                "total": 5.946916577207072e-07
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 1681543.6823726944
            }
        }
    }
}