Commit
•
62bc078
1
Parent(s):
cf99fd0
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json
ADDED
@@ -0,0 +1,260 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2+rocm5.7",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "fill-mask",
|
9 |
+
"model": "google-bert/bert-base-uncased",
|
10 |
+
"library": "transformers",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
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": false,
|
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": true,
|
70 |
+
"device_isolation_action": "error",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
+
"cpu_count": 128,
|
76 |
+
"cpu_ram_mb": 1082015.236096,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.10.12",
|
82 |
+
"gpu": [
|
83 |
+
"Advanced Micro Devices, Inc. [AMD/ATI]"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 68702699520,
|
87 |
+
"optimum_benchmark_version": "0.2.0",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.40.2",
|
90 |
+
"transformers_commit": null,
|
91 |
+
"accelerate_version": "0.30.1",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": "0.27.2",
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": null,
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": null,
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
},
|
103 |
+
"report": {
|
104 |
+
"forward": {
|
105 |
+
"memory": {
|
106 |
+
"unit": "MB",
|
107 |
+
"max_ram": 1006.399488,
|
108 |
+
"max_global_vram": 930.545664,
|
109 |
+
"max_process_vram": 227376.492544,
|
110 |
+
"max_reserved": 589.299712,
|
111 |
+
"max_allocated": 439.700992
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 126,
|
116 |
+
"total": 1.0067562546730044,
|
117 |
+
"mean": 0.007990129005341304,
|
118 |
+
"stdev": 0.0001475636043259048,
|
119 |
+
"p50": 0.007993236064910888,
|
120 |
+
"p90": 0.00807611560821533,
|
121 |
+
"p95": 0.008149195432662962,
|
122 |
+
"p99": 0.008421234130859375,
|
123 |
+
"values": [
|
124 |
+
0.009136269569396973,
|
125 |
+
0.007929397106170655,
|
126 |
+
0.007902836799621582,
|
127 |
+
0.007826356887817383,
|
128 |
+
0.007975155830383301,
|
129 |
+
0.007975797176361083,
|
130 |
+
0.0079653959274292,
|
131 |
+
0.007815637111663819,
|
132 |
+
0.00803947639465332,
|
133 |
+
0.008018836975097657,
|
134 |
+
0.007995475769042968,
|
135 |
+
0.008049715995788574,
|
136 |
+
0.007997235774993897,
|
137 |
+
0.00797819709777832,
|
138 |
+
0.007953236103057862,
|
139 |
+
0.007969875812530518,
|
140 |
+
0.00802395725250244,
|
141 |
+
0.007975475788116455,
|
142 |
+
0.007911477088928223,
|
143 |
+
0.007978355884552002,
|
144 |
+
0.00805595588684082,
|
145 |
+
0.007992435932159423,
|
146 |
+
0.007895156860351563,
|
147 |
+
0.008057395935058593,
|
148 |
+
0.008072595596313476,
|
149 |
+
0.008006996154785156,
|
150 |
+
0.007883636951446534,
|
151 |
+
0.00791275691986084,
|
152 |
+
0.008007636070251465,
|
153 |
+
0.008050036430358887,
|
154 |
+
0.007862196922302247,
|
155 |
+
0.007998035907745362,
|
156 |
+
0.008011957168579102,
|
157 |
+
0.008009556770324708,
|
158 |
+
0.007933395862579346,
|
159 |
+
0.007930196762084962,
|
160 |
+
0.00801451587677002,
|
161 |
+
0.007974677085876465,
|
162 |
+
0.008019796371459961,
|
163 |
+
0.008011956214904786,
|
164 |
+
0.00788379716873169,
|
165 |
+
0.007807796955108643,
|
166 |
+
0.007888916969299317,
|
167 |
+
0.008084916114807128,
|
168 |
+
0.007998355865478516,
|
169 |
+
0.008009556770324708,
|
170 |
+
0.007965876102447509,
|
171 |
+
0.007979795932769776,
|
172 |
+
0.007991157054901122,
|
173 |
+
0.0079653959274292,
|
174 |
+
0.008072436332702637,
|
175 |
+
0.00803515625,
|
176 |
+
0.00794011688232422,
|
177 |
+
0.008046996116638184,
|
178 |
+
0.008011635780334472,
|
179 |
+
0.00799483585357666,
|
180 |
+
0.008027316093444824,
|
181 |
+
0.007830516815185547,
|
182 |
+
0.008028757095336915,
|
183 |
+
0.00792363691329956,
|
184 |
+
0.007687158107757568,
|
185 |
+
0.008071155548095703,
|
186 |
+
0.008196114540100097,
|
187 |
+
0.007956757068634033,
|
188 |
+
0.007848917007446289,
|
189 |
+
0.007994036197662353,
|
190 |
+
0.007949875831604005,
|
191 |
+
0.007903797149658203,
|
192 |
+
0.0077553181648254395,
|
193 |
+
0.008195955276489258,
|
194 |
+
0.007794517040252686,
|
195 |
+
0.0077533979415893555,
|
196 |
+
0.007713878154754638,
|
197 |
+
0.007626358032226562,
|
198 |
+
0.008366514205932617,
|
199 |
+
0.008038835525512695,
|
200 |
+
0.007960116863250733,
|
201 |
+
0.00789147710800171,
|
202 |
+
0.007856916904449463,
|
203 |
+
0.007874357223510741,
|
204 |
+
0.00785051679611206,
|
205 |
+
0.007886837005615235,
|
206 |
+
0.007900596141815186,
|
207 |
+
0.008439474105834961,
|
208 |
+
0.008166675567626952,
|
209 |
+
0.008089394569396972,
|
210 |
+
0.008057875633239746,
|
211 |
+
0.008049555778503418,
|
212 |
+
0.008079635620117187,
|
213 |
+
0.007950837135314942,
|
214 |
+
0.008145235061645507,
|
215 |
+
0.008009876251220703,
|
216 |
+
0.008009076118469238,
|
217 |
+
0.008042515754699707,
|
218 |
+
0.008067476272583007,
|
219 |
+
0.008002997398376465,
|
220 |
+
0.00808443546295166,
|
221 |
+
0.008150515556335449,
|
222 |
+
0.008102995872497559,
|
223 |
+
0.00799867582321167,
|
224 |
+
0.008029075622558593,
|
225 |
+
0.0080482759475708,
|
226 |
+
0.008009555816650391,
|
227 |
+
0.007945237159729003,
|
228 |
+
0.007945556163787842,
|
229 |
+
0.008004756927490234,
|
230 |
+
0.008000116348266601,
|
231 |
+
0.007972115993499757,
|
232 |
+
0.007965396881103516,
|
233 |
+
0.007973236083984375,
|
234 |
+
0.008001715660095214,
|
235 |
+
0.00798923683166504,
|
236 |
+
0.007977235794067382,
|
237 |
+
0.007981236934661864,
|
238 |
+
0.007930676937103271,
|
239 |
+
0.007975636959075928,
|
240 |
+
0.008010835647583007,
|
241 |
+
0.007965236186981202,
|
242 |
+
0.007956916809082032,
|
243 |
+
0.007998995780944824,
|
244 |
+
0.008022516250610352,
|
245 |
+
0.007999475955963134,
|
246 |
+
0.007955156803131103,
|
247 |
+
0.008010355949401856,
|
248 |
+
0.008001395225524902,
|
249 |
+
0.00795963716506958
|
250 |
+
]
|
251 |
+
},
|
252 |
+
"throughput": {
|
253 |
+
"unit": "samples/s",
|
254 |
+
"value": 125.15442483237908
|
255 |
+
},
|
256 |
+
"energy": null,
|
257 |
+
"efficiency": null
|
258 |
+
}
|
259 |
+
}
|
260 |
+
}
|