IlyasMoutawwakil HF staff commited on
Commit
bd19151
1 Parent(s): 35a424a

Upload cpu_inference_transformers_text-generation_openai-community/gpt2/file.json with huggingface_hub

Browse files
cpu_inference_transformers_text-generation_openai-community/gpt2/file.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_inference_transformers_text-generation_openai-community/gpt2",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "model": "openai-community/gpt2",
10
+ "library": "transformers",
11
+ "device": "cpu",
12
+ "device_ids": null,
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "hub_kwargs": {
17
+ "revision": "main",
18
+ "force_download": false,
19
+ "local_files_only": false,
20
+ "trust_remote_code": false
21
+ },
22
+ "no_weights": true,
23
+ "device_map": null,
24
+ "torch_dtype": null,
25
+ "eval_mode": true,
26
+ "to_bettertransformer": false,
27
+ "low_cpu_mem_usage": null,
28
+ "attn_implementation": null,
29
+ "cache_implementation": null,
30
+ "autocast_enabled": false,
31
+ "autocast_dtype": null,
32
+ "torch_compile": false,
33
+ "torch_compile_target": "forward",
34
+ "torch_compile_config": {},
35
+ "quantization_scheme": null,
36
+ "quantization_config": {},
37
+ "deepspeed_inference": false,
38
+ "deepspeed_inference_config": {},
39
+ "peft_type": null,
40
+ "peft_config": {}
41
+ },
42
+ "scenario": {
43
+ "name": "inference",
44
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
45
+ "iterations": 1,
46
+ "duration": 1,
47
+ "warmup_runs": 1,
48
+ "input_shapes": {
49
+ "batch_size": 1,
50
+ "num_choices": 2,
51
+ "sequence_length": 2
52
+ },
53
+ "new_tokens": null,
54
+ "latency": true,
55
+ "memory": true,
56
+ "energy": true,
57
+ "forward_kwargs": {},
58
+ "generate_kwargs": {
59
+ "max_new_tokens": 2,
60
+ "min_new_tokens": 2
61
+ },
62
+ "call_kwargs": {
63
+ "num_inference_steps": 2
64
+ }
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": false,
70
+ "device_isolation_action": "error",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7763 64-Core Processor",
75
+ "cpu_count": 4,
76
+ "cpu_ram_mb": 16757.346304,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.14",
82
+ "optimum_benchmark_version": "0.2.0",
83
+ "optimum_benchmark_commit": "2e77e02d1fd3ab0d2e788c3d89c12299219a25e8",
84
+ "transformers_version": "4.40.2",
85
+ "transformers_commit": null,
86
+ "accelerate_version": "0.30.0",
87
+ "accelerate_commit": null,
88
+ "diffusers_version": "0.27.2",
89
+ "diffusers_commit": null,
90
+ "optimum_version": null,
91
+ "optimum_commit": null,
92
+ "timm_version": "0.9.16",
93
+ "timm_commit": null,
94
+ "peft_version": null,
95
+ "peft_commit": null
96
+ }
97
+ },
98
+ "report": {
99
+ "prefill": {
100
+ "memory": {
101
+ "unit": "MB",
102
+ "max_ram": 959.299584,
103
+ "max_global_vram": null,
104
+ "max_process_vram": null,
105
+ "max_reserved": null,
106
+ "max_allocated": null
107
+ },
108
+ "latency": {
109
+ "unit": "s",
110
+ "count": 14,
111
+ "total": 0.6521580040000288,
112
+ "mean": 0.04658271457143063,
113
+ "stdev": 0.00094203966590618,
114
+ "p50": 0.04664233899998749,
115
+ "p90": 0.04780846419999705,
116
+ "p95": 0.04781945374999026,
117
+ "p99": 0.04783206114998592,
118
+ "values": [
119
+ 0.04707592400001204,
120
+ 0.04710927600001469,
121
+ 0.04576594700000669,
122
+ 0.047096463000002586,
123
+ 0.04783521299998483,
124
+ 0.04454768899998385,
125
+ 0.04780262200000607,
126
+ 0.046621734999973796,
127
+ 0.04534920700001521,
128
+ 0.04626250399999776,
129
+ 0.04781096799999318,
130
+ 0.04666294300000118,
131
+ 0.04641240400002289,
132
+ 0.045805109000014
133
+ ]
134
+ },
135
+ "throughput": {
136
+ "unit": "tokens/s",
137
+ "value": 42.93438066888889
138
+ },
139
+ "energy": {
140
+ "unit": "kWh",
141
+ "cpu": 1.5913492838541671e-06,
142
+ "ram": 6.650483993810213e-08,
143
+ "gpu": 0.0,
144
+ "total": 1.6578541237922693e-06
145
+ },
146
+ "efficiency": {
147
+ "unit": "tokens/kWh",
148
+ "value": 1206378.7587203914
149
+ }
150
+ },
151
+ "decode": {
152
+ "memory": {
153
+ "unit": "MB",
154
+ "max_ram": 959.299584,
155
+ "max_global_vram": null,
156
+ "max_process_vram": null,
157
+ "max_reserved": null,
158
+ "max_allocated": null
159
+ },
160
+ "latency": {
161
+ "unit": "s",
162
+ "count": 14,
163
+ "total": 0.4143888169999741,
164
+ "mean": 0.029599201214283864,
165
+ "stdev": 0.0005382837635555755,
166
+ "p50": 0.02965273549999381,
167
+ "p90": 0.03026930359999369,
168
+ "p95": 0.030361556099994403,
169
+ "p99": 0.030479848819994403,
170
+ "values": [
171
+ 0.029589682999983324,
172
+ 0.0305094219999944,
173
+ 0.030010499000013624,
174
+ 0.029782101999984434,
175
+ 0.02915416900000878,
176
+ 0.029806938999996646,
177
+ 0.029478826000001845,
178
+ 0.029316703000006328,
179
+ 0.03023982799999203,
180
+ 0.030281935999994403,
181
+ 0.029715788000004295,
182
+ 0.0286999690000016,
183
+ 0.02899474099999111,
184
+ 0.028808212000001276
185
+ ]
186
+ },
187
+ "throughput": {
188
+ "unit": "tokens/s",
189
+ "value": 33.78469549770904
190
+ },
191
+ "energy": {
192
+ "unit": "kWh",
193
+ "cpu": 9.476988944742413e-07,
194
+ "ram": 3.9607318744128616e-08,
195
+ "gpu": 0.0,
196
+ "total": 9.8730621321837e-07
197
+ },
198
+ "efficiency": {
199
+ "unit": "tokens/kWh",
200
+ "value": 1012856.990679975
201
+ }
202
+ },
203
+ "per_token": {
204
+ "memory": null,
205
+ "latency": {
206
+ "unit": "s",
207
+ "count": 13,
208
+ "total": 0.9902764230000116,
209
+ "mean": 0.07617510946153935,
210
+ "stdev": 0.0010277287978319026,
211
+ "p50": 0.07593973000001597,
212
+ "p90": 0.07750530879999928,
213
+ "p95": 0.07757450159999735,
214
+ "p99": 0.07760544191999089,
215
+ "values": [
216
+ 0.07761317699998926,
217
+ 0.07579196500000762,
218
+ 0.07690361100000587,
219
+ 0.07705049699998767,
220
+ 0.0743297110000185,
221
+ 0.07733167199998547,
222
+ 0.07593973000001597,
223
+ 0.07563033200000291,
224
+ 0.07652431299999307,
225
+ 0.07754871800000274,
226
+ 0.07539003299999081,
227
+ 0.07545443300000443,
228
+ 0.07476823100000729
229
+ ]
230
+ },
231
+ "throughput": {
232
+ "unit": "tokens/s",
233
+ "value": 13.12764769317329
234
+ },
235
+ "energy": null,
236
+ "efficiency": null
237
+ }
238
+ }
239
+ }