Commit
•
5782c2d
1
Parent(s):
86a7286
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json
ADDED
@@ -0,0 +1,264 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2+rocm5.7",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-classification",
|
9 |
+
"model": "FacebookAI/roberta-base",
|
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": 1011.310592,
|
108 |
+
"max_global_vram": 897.14688,
|
109 |
+
"max_process_vram": 222345.35936,
|
110 |
+
"max_reserved": 555.74528,
|
111 |
+
"max_allocated": 499.443712
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 130,
|
116 |
+
"total": 0.9979781708717345,
|
117 |
+
"mean": 0.007676755160551805,
|
118 |
+
"stdev": 0.000754682042599847,
|
119 |
+
"p50": 0.007872199058532713,
|
120 |
+
"p90": 0.008240805435180664,
|
121 |
+
"p95": 0.008409059715270997,
|
122 |
+
"p99": 0.009847812995910634,
|
123 |
+
"values": [
|
124 |
+
0.0076050801277160645,
|
125 |
+
0.007288122177124023,
|
126 |
+
0.006812283992767334,
|
127 |
+
0.00695388412475586,
|
128 |
+
0.006803964138031006,
|
129 |
+
0.006822525024414062,
|
130 |
+
0.006824443817138672,
|
131 |
+
0.006835003852844238,
|
132 |
+
0.006824924945831299,
|
133 |
+
0.0068326048851013186,
|
134 |
+
0.006793724060058594,
|
135 |
+
0.006803005218505859,
|
136 |
+
0.006790524005889893,
|
137 |
+
0.006758685111999512,
|
138 |
+
0.006776124000549316,
|
139 |
+
0.006732765197753906,
|
140 |
+
0.00675884485244751,
|
141 |
+
0.006758685111999512,
|
142 |
+
0.00674684476852417,
|
143 |
+
0.006764285087585449,
|
144 |
+
0.006947644233703613,
|
145 |
+
0.006739964962005615,
|
146 |
+
0.006752924919128418,
|
147 |
+
0.006735324859619141,
|
148 |
+
0.006754205226898193,
|
149 |
+
0.006742684841156006,
|
150 |
+
0.007091322898864746,
|
151 |
+
0.006758204936981201,
|
152 |
+
0.006769403934478759,
|
153 |
+
0.00677084493637085,
|
154 |
+
0.006783005237579346,
|
155 |
+
0.006783804893493652,
|
156 |
+
0.006771164894104004,
|
157 |
+
0.006745405197143554,
|
158 |
+
0.006737724781036377,
|
159 |
+
0.006750685214996338,
|
160 |
+
0.006765404224395752,
|
161 |
+
0.010254507064819335,
|
162 |
+
0.007207481861114502,
|
163 |
+
0.006951643943786621,
|
164 |
+
0.00691404390335083,
|
165 |
+
0.006889883995056152,
|
166 |
+
0.006911643981933594,
|
167 |
+
0.006952603816986084,
|
168 |
+
0.006876605033874512,
|
169 |
+
0.0069247641563415525,
|
170 |
+
0.007800280094146728,
|
171 |
+
0.007893558979034423,
|
172 |
+
0.007863318920135498,
|
173 |
+
0.008093077659606934,
|
174 |
+
0.007886038780212403,
|
175 |
+
0.008046519279479981,
|
176 |
+
0.007744919776916504,
|
177 |
+
0.007647960186004638,
|
178 |
+
0.0077255601882934575,
|
179 |
+
0.007729720115661621,
|
180 |
+
0.007751319885253906,
|
181 |
+
0.00769644021987915,
|
182 |
+
0.008149718284606934,
|
183 |
+
0.008291956901550292,
|
184 |
+
0.007982839107513427,
|
185 |
+
0.008048598289489745,
|
186 |
+
0.007958518028259278,
|
187 |
+
0.008013717651367188,
|
188 |
+
0.008058518409729003,
|
189 |
+
0.008768914222717285,
|
190 |
+
0.00808123779296875,
|
191 |
+
0.007971477985382081,
|
192 |
+
0.007872919082641601,
|
193 |
+
0.007870199203491211,
|
194 |
+
0.007863638877868652,
|
195 |
+
0.007853719234466552,
|
196 |
+
0.008034997940063477,
|
197 |
+
0.007893398761749267,
|
198 |
+
0.007848120212554932,
|
199 |
+
0.012225056648254394,
|
200 |
+
0.00818811798095703,
|
201 |
+
0.00777851915359497,
|
202 |
+
0.00807083797454834,
|
203 |
+
0.007857879161834717,
|
204 |
+
0.007778678894042969,
|
205 |
+
0.007803799152374268,
|
206 |
+
0.007830039978027344,
|
207 |
+
0.008294516563415528,
|
208 |
+
0.007969557762145996,
|
209 |
+
0.00797403907775879,
|
210 |
+
0.008289396286010742,
|
211 |
+
0.008143478393554688,
|
212 |
+
0.008129076957702637,
|
213 |
+
0.008172278404235839,
|
214 |
+
0.008037558555603027,
|
215 |
+
0.008014999389648437,
|
216 |
+
0.007998357772827149,
|
217 |
+
0.007988277912139893,
|
218 |
+
0.008038357734680176,
|
219 |
+
0.007935638904571534,
|
220 |
+
0.008563155174255372,
|
221 |
+
0.008175156593322753,
|
222 |
+
0.008050357818603516,
|
223 |
+
0.008027478218078614,
|
224 |
+
0.008009398460388183,
|
225 |
+
0.008087318420410156,
|
226 |
+
0.00848443603515625,
|
227 |
+
0.008133398056030274,
|
228 |
+
0.008046358108520509,
|
229 |
+
0.00795947790145874,
|
230 |
+
0.008472275733947755,
|
231 |
+
0.008257077217102051,
|
232 |
+
0.008238997459411621,
|
233 |
+
0.008169878005981445,
|
234 |
+
0.008062357902526856,
|
235 |
+
0.007983798027038575,
|
236 |
+
0.008020598411560059,
|
237 |
+
0.007871479034423827,
|
238 |
+
0.007902039051055907,
|
239 |
+
0.008098998069763184,
|
240 |
+
0.007902519226074219,
|
241 |
+
0.00782283878326416,
|
242 |
+
0.007940279006958009,
|
243 |
+
0.007884278774261474,
|
244 |
+
0.007818359851837159,
|
245 |
+
0.008031159400939942,
|
246 |
+
0.008852113723754882,
|
247 |
+
0.008193717002868653,
|
248 |
+
0.008229717254638672,
|
249 |
+
0.0081285982131958,
|
250 |
+
0.008331795692443848,
|
251 |
+
0.00827403736114502,
|
252 |
+
0.008198837280273437,
|
253 |
+
0.008226996421813964
|
254 |
+
]
|
255 |
+
},
|
256 |
+
"throughput": {
|
257 |
+
"unit": "samples/s",
|
258 |
+
"value": 130.26337027637078
|
259 |
+
},
|
260 |
+
"energy": null,
|
261 |
+
"efficiency": null
|
262 |
+
}
|
263 |
+
}
|
264 |
+
}
|