File size: 6,995 Bytes
16a60c6
 
 
 
 
d992938
16a60c6
 
026348e
2ac94ea
d0312a4
 
16a60c6
 
 
 
 
d0312a4
 
16a60c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5edb728
16a60c6
 
 
 
 
 
 
 
 
 
 
 
 
 
cd6981d
349d7ae
 
16a60c6
 
 
 
 
fce8cdd
16a60c6
 
445db7f
16a60c6
445db7f
995a350
503333c
d26e527
16a60c6
cb1d8c0
16a60c6
cb1d8c0
16a60c6
 
 
d26e527
16a60c6
 
c925347
16a60c6
 
 
5edb728
 
 
503333c
5edb728
 
 
 
 
 
 
 
503333c
 
5edb728
503333c
 
 
 
5edb728
503333c
5edb728
 
 
 
 
503333c
 
5edb728
503333c
5edb728
 
 
16a60c6
 
 
503333c
16a60c6
 
 
 
 
 
 
799d800
503333c
 
 
 
 
 
 
16a60c6
503333c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16a60c6
 
 
 
503333c
16a60c6
 
 
503333c
 
16a60c6
503333c
16a60c6
 
 
503333c
16a60c6
 
 
 
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
{
    "config": {
        "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
        "backend": {
            "name": "pytorch",
            "version": "2.4.1+cpu",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "text-classification",
            "library": "transformers",
            "model_type": "roberta",
            "model": "FacebookAI/roberta-base",
            "processor": "FacebookAI/roberta-base",
            "device": "cpu",
            "device_ids": null,
            "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": false,
            "device_isolation_action": null,
            "numactl": false,
            "numactl_kwargs": {},
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7763 64-Core Processor",
            "cpu_count": 4,
            "cpu_ram_mb": 16766.7712,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.15",
            "optimum_benchmark_version": "0.4.0",
            "optimum_benchmark_commit": "c321302e3b007186f91357f56a141e530fe6b122",
            "transformers_version": "4.44.2",
            "transformers_commit": null,
            "accelerate_version": "0.34.2",
            "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": null,
            "peft_commit": null
        }
    },
    "report": {
        "load": {
            "memory": {
                "unit": "MB",
                "max_ram": 939.74528,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 1,
                "total": 4.307466677000036,
                "mean": 4.307466677000036,
                "stdev": 0.0,
                "p50": 4.307466677000036,
                "p90": 4.307466677000036,
                "p95": 4.307466677000036,
                "p99": 4.307466677000036,
                "values": [
                    4.307466677000036
                ]
            },
            "throughput": null,
            "energy": {
                "unit": "kWh",
                "cpu": 4.7647114627778826e-05,
                "ram": 1.9925495621968043e-06,
                "gpu": 0,
                "total": 4.963966418997563e-05
            },
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 947.347456,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 28,
                "total": 1.0235563739996678,
                "mean": 0.03655558478570242,
                "stdev": 0.001573454230246726,
                "p50": 0.036345206499987626,
                "p90": 0.039428365700007365,
                "p95": 0.0395100918499736,
                "p99": 0.03964189750998628,
                "values": [
                    0.03666688199996315,
                    0.035555746,
                    0.03708301999995456,
                    0.03383564300003172,
                    0.03706621799994991,
                    0.03633870900000602,
                    0.0352906120000398,
                    0.03533262999997078,
                    0.036502074999987144,
                    0.03466424100002996,
                    0.034555037999950855,
                    0.036774493999985225,
                    0.03596798699999226,
                    0.03566922900000691,
                    0.036081208999974024,
                    0.03572263899997097,
                    0.03471983600002204,
                    0.03656016300004694,
                    0.03491330599996445,
                    0.036164572999950906,
                    0.03635170399996923,
                    0.03722972299999583,
                    0.039415517000009004,
                    0.037985384999956295,
                    0.039680341999996926,
                    0.03953795499995749,
                    0.03945834600000353,
                    0.038433151999981874
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 27.35560122652227
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.2200510352430331e-06,
                "ram": 5.101703910539365e-08,
                "gpu": 0.0,
                "total": 1.2710680743484268e-06
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 786739.9238334411
            }
        }
    }
}