File size: 7,691 Bytes
071932b
 
 
 
 
2c65227
071932b
 
 
90774fa
74ca8e5
 
071932b
6474bc5
071932b
 
 
74ca8e5
 
071932b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36ccafe
 
 
071932b
 
 
bffc938
071932b
 
 
 
 
 
 
 
 
 
 
 
 
 
0e0583c
7125503
 
071932b
 
 
1e1d12d
 
2cc1b7a
071932b
 
1a40e63
071932b
 
 
9881f36
 
 
 
 
 
 
071932b
 
9881f36
 
7f0402f
1e1d12d
be837b4
071932b
be837b4
071932b
36ccafe
071932b
 
 
f2de71b
071932b
be837b4
a3bcc2b
3bb5429
 
 
071932b
 
36ccafe
bffc938
 
be837b4
c745b66
be837b4
bffc938
c02b6a1
bffc938
 
 
 
be837b4
1a40e63
 
be837b4
 
 
 
 
 
1a40e63
 
bffc938
 
 
d032ba9
bffc938
071932b
 
 
be837b4
c745b66
be837b4
36ccafe
 
071932b
 
 
 
be837b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a40e63
be837b4
 
 
 
 
 
 
 
 
071932b
 
 
be837b4
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
{
    "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": "5",
            "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": 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.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": 1076.834304,
                "max_global_vram": 68702.69952,
                "max_process_vram": 5357.600768,
                "max_reserved": 773.849088,
                "max_allocated": 736.603648
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.10768334197998047
                ],
                "count": 1,
                "total": 0.10768334197998047,
                "mean": 0.10768334197998047,
                "p50": 0.10768334197998047,
                "p90": 0.10768334197998047,
                "p95": 0.10768334197998047,
                "p99": 0.10768334197998047,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1226.969088,
                "max_global_vram": 68702.69952,
                "max_process_vram": 278108.811264,
                "max_reserved": 796.91776,
                "max_allocated": 748.595712
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.5131099243164062,
                    0.014454355239868164,
                    0.01400075626373291,
                    0.01321707820892334,
                    0.01319899845123291,
                    0.01310939884185791,
                    0.01316571807861328,
                    0.01315579891204834,
                    0.013176278114318847,
                    0.013206358909606933,
                    0.013196438789367675,
                    0.013135957717895507,
                    0.013161079406738281,
                    0.013144598007202149,
                    0.013164439201354981,
                    0.01313035774230957,
                    0.013164118766784668,
                    0.013139318466186524,
                    0.013152918815612792,
                    0.01316523838043213,
                    0.013144119262695313,
                    0.013127798080444337,
                    0.013130998611450196,
                    0.01313035774230957,
                    0.013184759140014648,
                    0.013153557777404784,
                    0.013121559143066406,
                    0.013129878044128417,
                    0.013121079444885254,
                    0.013166518211364745,
                    0.01311531925201416,
                    0.013216597557067871,
                    0.013162998199462891,
                    0.014952113151550293,
                    0.013195637702941895,
                    0.01323323917388916,
                    0.013194196701049805,
                    0.013217878341674805
                ],
                "count": 38,
                "total": 1.0040477361679079,
                "mean": 0.026422308846523884,
                "p50": 0.013164278984069824,
                "p90": 0.013463494300842288,
                "p95": 0.014529018926620483,
                "p99": 0.32879153418541085,
                "stdev": 0.08001180542676133,
                "stdev_": 302.8191286821919
            },
            "throughput": {
                "unit": "samples/s",
                "value": 75.69361222810473
            },
            "energy": null,
            "efficiency": null
        }
    }
}