File size: 7,920 Bytes
6c9a9d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "config": {
        "name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
        "backend": {
            "name": "pytorch",
            "version": "2.2.2",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "token-classification",
            "model": "microsoft/deberta-v3-base",
            "library": "transformers",
            "device": "cuda",
            "device_ids": "0",
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "hub_kwargs": {
                "revision": "main",
                "force_download": false,
                "local_files_only": false,
                "trust_remote_code": false
            },
            "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,
            "latency": true,
            "memory": 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",
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7R32",
            "cpu_count": 16,
            "cpu_ram_mb": 66697.29792,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.10.214-202.855.amzn2.x86_64-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.14",
            "gpu": [
                "NVIDIA A10G"
            ],
            "gpu_count": 1,
            "gpu_vram_mb": 24146608128,
            "optimum_benchmark_version": "0.2.0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.40.2",
            "transformers_commit": null,
            "accelerate_version": "0.30.0",
            "accelerate_commit": null,
            "diffusers_version": "0.27.2",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "0.9.16",
            "timm_commit": null,
            "peft_version": null,
            "peft_commit": null
        }
    },
    "report": {
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 959.086592,
                "max_global_vram": 1434.976256,
                "max_process_vram": 0.0,
                "max_reserved": 794.820608,
                "max_allocated": 753.607168
            },
            "latency": {
                "unit": "s",
                "count": 72,
                "total": 1.003494529724121,
                "mean": 0.013937424023946127,
                "stdev": 0.0006683063152755395,
                "p50": 0.013726719856262207,
                "p90": 0.014464611434936523,
                "p95": 0.015149977397918702,
                "p99": 0.0165119588470459,
                "values": [
                    0.01478656005859375,
                    0.015286272048950195,
                    0.015038463592529297,
                    0.014474240303039551,
                    0.014053376197814941,
                    0.014352479934692382,
                    0.014017536163330077,
                    0.013987839698791504,
                    0.013972512245178223,
                    0.014286848068237304,
                    0.014042112350463867,
                    0.014046208381652832,
                    0.014193663597106934,
                    0.014220288276672363,
                    0.014334976196289062,
                    0.014652416229248047,
                    0.014228480339050293,
                    0.014005248069763183,
                    0.01394380760192871,
                    0.014023679733276367,
                    0.014183423995971679,
                    0.014377951622009277,
                    0.013644800186157227,
                    0.01360588836669922,
                    0.013631423950195313,
                    0.01356390380859375,
                    0.013493247985839844,
                    0.01350556755065918,
                    0.013806591987609864,
                    0.013494272232055664,
                    0.013504511833190918,
                    0.013560799598693848,
                    0.013606944084167481,
                    0.013904895782470703,
                    0.013925375938415528,
                    0.01358847999572754,
                    0.013567999839782715,
                    0.013641728401184081,
                    0.013509632110595703,
                    0.013693951606750488,
                    0.013364224433898926,
                    0.014140416145324707,
                    0.016475135803222657,
                    0.01660211181640625,
                    0.016360448837280273,
                    0.013648896217346192,
                    0.013220895767211914,
                    0.013283328056335449,
                    0.01321884822845459,
                    0.013167615890502929,
                    0.013080575942993163,
                    0.013072319984436035,
                    0.0135731201171875,
                    0.013849599838256836,
                    0.013727744102478028,
                    0.013644800186157227,
                    0.013725695610046386,
                    0.013692928314208984,
                    0.01369600009918213,
                    0.013740032196044923,
                    0.013790207862854004,
                    0.013767744064331055,
                    0.013692928314208984,
                    0.013658111572265624,
                    0.013722623825073242,
                    0.013656064033508301,
                    0.013637632369995116,
                    0.013786111831665039,
                    0.013669376373291015,
                    0.013635583877563476,
                    0.013735936164855958,
                    0.013699071884155273
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 71.74927004315022
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.621205639373791e-07,
                "ram": 8.839138424534483e-08,
                "gpu": 3.2932458778377775e-07,
                "total": 5.798365359665018e-07
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 1724623.989644164
            }
        }
    }
}