File size: 9,284 Bytes
071932b
 
 
 
 
2c65227
071932b
 
 
90774fa
74ca8e5
 
071932b
ee1b666
071932b
 
 
74ca8e5
 
071932b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bffc938
071932b
 
 
 
 
 
 
 
 
 
 
 
 
 
0e0583c
7125503
 
071932b
 
 
1e1d12d
 
2cc1b7a
071932b
 
1a40e63
071932b
 
 
9881f36
 
 
 
 
 
 
071932b
 
9881f36
 
7f0402f
1e1d12d
e4e69b0
071932b
2cc1b7a
071932b
7c11a67
071932b
 
 
1e1d12d
071932b
2cc1b7a
a3bcc2b
3bb5429
 
 
071932b
 
bffc938
 
 
ee1b666
c745b66
ee1b666
bffc938
c02b6a1
bffc938
 
 
 
ee1b666
1a40e63
 
ee1b666
 
 
 
 
 
1a40e63
 
bffc938
 
 
d032ba9
bffc938
071932b
 
 
ee1b666
c745b66
ee1b666
071932b
bffc938
071932b
 
 
 
ee1b666
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a40e63
ee1b666
 
 
 
 
 
 
 
 
071932b
 
 
ee1b666
071932b
 
d032ba9
071932b
 
 
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
{
    "config": {
        "name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
        "backend": {
            "name": "pytorch",
            "version": "2.3.1+rocm5.7",
            "_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": "6",
            "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": false,
            "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": "warn",
            "numactl": false,
            "numactl_kwargs": {},
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7763 64-Core Processor",
            "cpu_count": 128,
            "cpu_ram_mb": 1082014.490624,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.12",
            "gpu": [
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]"
            ],
            "gpu_count": 8,
            "gpu_vram_mb": 549621596160,
            "optimum_benchmark_version": "0.5.0.dev0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.45.2",
            "transformers_commit": null,
            "accelerate_version": "1.0.1",
            "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.2",
            "peft_commit": null
        },
        "print_report": true,
        "log_report": true
    },
    "report": {
        "load": {
            "memory": {
                "unit": "MB",
                "max_ram": 1113.485312,
                "max_global_vram": 68702.69952,
                "max_process_vram": 5052.002304,
                "max_reserved": 773.849088,
                "max_allocated": 736.603648
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.07918669128417968
                ],
                "count": 1,
                "total": 0.07918669128417968,
                "mean": 0.07918669128417968,
                "p50": 0.07918669128417968,
                "p90": 0.07918669128417968,
                "p95": 0.07918669128417968,
                "p99": 0.07918669128417968,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1249.492992,
                "max_global_vram": 68702.69952,
                "max_process_vram": 301923.094528,
                "max_reserved": 773.849088,
                "max_allocated": 745.086976
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.013820690155029297,
                    0.013113648414611816,
                    0.013106927871704102,
                    0.013061487197875976,
                    0.013159727096557617,
                    0.013600209236145019,
                    0.01285668659210205,
                    0.012860366821289063,
                    0.013088368415832519,
                    0.01272692584991455,
                    0.013130288124084472,
                    0.013502288818359375,
                    0.01337044906616211,
                    0.013527408599853515,
                    0.013496849060058594,
                    0.01304772663116455,
                    0.012762287139892577,
                    0.012766447067260742,
                    0.01279908561706543,
                    0.012796366691589355,
                    0.013111087799072265,
                    0.012815567016601562,
                    0.012748685836791993,
                    0.012747406959533691,
                    0.012777646064758301,
                    0.013092047691345214,
                    0.012800207138061523,
                    0.012786766052246094,
                    0.012762927055358886,
                    0.012909326553344726,
                    0.012793167114257813,
                    0.012800206184387207,
                    0.01277044677734375,
                    0.014057010650634765,
                    0.014458132743835448,
                    0.013971091270446778,
                    0.013363247871398925,
                    0.01341300868988037,
                    0.013456209182739258,
                    0.013353167533874511,
                    0.013784689903259277,
                    0.013445169448852538,
                    0.013412848472595214,
                    0.013635889053344726,
                    0.012800686836242676,
                    0.013136848449707032,
                    0.012820366859436036,
                    0.012786766052246094,
                    0.012753005981445312,
                    0.012728845596313477,
                    0.013054926872253418,
                    0.012819087028503418,
                    0.01294932746887207,
                    0.012905487060546875,
                    0.01390117073059082,
                    0.01473077392578125,
                    0.013812210083007813,
                    0.01377301025390625,
                    0.013814129829406739,
                    0.013517648696899413,
                    0.01317908763885498,
                    0.012725967407226563,
                    0.012730606079101562,
                    0.012704047203063965,
                    0.012623886108398437,
                    0.012711726188659667,
                    0.012851086616516114,
                    0.012674606323242188,
                    0.012677326202392578,
                    0.013142766952514649,
                    0.013275888442993164,
                    0.013288847923278809,
                    0.01417445182800293,
                    0.014379253387451172,
                    0.014738133430480957,
                    0.014240530967712403
                ],
                "count": 76,
                "total": 1.0042826919555665,
                "mean": 0.013214245946783767,
                "p50": 0.013090208053588867,
                "p90": 0.013936131000518798,
                "p95": 0.014275211572647096,
                "p99": 0.014732613801956177,
                "stdev": 0.0005210609626914157,
                "stdev_": 3.9431759087111393
            },
            "throughput": {
                "unit": "samples/s",
                "value": 75.67590341720492
            },
            "energy": null,
            "efficiency": null
        }
    }
}