Commit
•
c800a55
1
Parent(s):
993c323
Upload cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
Browse files
cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json
CHANGED
@@ -5,11 +5,11 @@
|
|
5 |
"name": "pytorch",
|
6 |
"version": "2.5.1+cpu",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
|
|
|
|
8 |
"task": "fill-mask",
|
9 |
"library": "transformers",
|
10 |
"model_type": "bert",
|
11 |
-
"model": "hf-internal-testing/tiny-random-BertModel",
|
12 |
-
"processor": "hf-internal-testing/tiny-random-BertModel",
|
13 |
"device": "cpu",
|
14 |
"device_ids": null,
|
15 |
"seed": 42,
|
@@ -86,10 +86,10 @@
|
|
86 |
"processor": "x86_64",
|
87 |
"python_version": "3.10.15",
|
88 |
"optimum_benchmark_version": "0.5.0.dev0",
|
89 |
-
"optimum_benchmark_commit": "
|
90 |
"transformers_version": "4.47.0",
|
91 |
"transformers_commit": null,
|
92 |
-
"accelerate_version": "1.2.
|
93 |
"accelerate_commit": null,
|
94 |
"diffusers_version": "0.31.0",
|
95 |
"diffusers_commit": null,
|
@@ -107,7 +107,7 @@
|
|
107 |
"overall": {
|
108 |
"memory": {
|
109 |
"unit": "MB",
|
110 |
-
"max_ram": 477.
|
111 |
"max_global_vram": null,
|
112 |
"max_process_vram": null,
|
113 |
"max_reserved": null,
|
@@ -116,42 +116,42 @@
|
|
116 |
"latency": {
|
117 |
"unit": "s",
|
118 |
"values": [
|
119 |
-
0.
|
120 |
-
0.
|
121 |
-
0.
|
122 |
-
0.
|
123 |
-
0.
|
124 |
],
|
125 |
"count": 5,
|
126 |
-
"total": 0.
|
127 |
-
"mean": 0.
|
128 |
-
"p50": 0.
|
129 |
-
"p90": 0.
|
130 |
-
"p95": 0.
|
131 |
-
"p99": 0.
|
132 |
-
"stdev": 0.
|
133 |
-
"stdev_": 11.
|
134 |
},
|
135 |
"throughput": {
|
136 |
"unit": "samples/s",
|
137 |
-
"value":
|
138 |
},
|
139 |
"energy": {
|
140 |
"unit": "kWh",
|
141 |
-
"cpu": 8.
|
142 |
-
"ram": 3.
|
143 |
"gpu": 0,
|
144 |
-
"total": 8.
|
145 |
},
|
146 |
"efficiency": {
|
147 |
"unit": "samples/kWh",
|
148 |
-
"value":
|
149 |
}
|
150 |
},
|
151 |
"warmup": {
|
152 |
"memory": {
|
153 |
"unit": "MB",
|
154 |
-
"max_ram": 477.
|
155 |
"max_global_vram": null,
|
156 |
"max_process_vram": null,
|
157 |
"max_reserved": null,
|
@@ -160,22 +160,22 @@
|
|
160 |
"latency": {
|
161 |
"unit": "s",
|
162 |
"values": [
|
163 |
-
0.
|
164 |
-
0.
|
165 |
],
|
166 |
"count": 2,
|
167 |
-
"total": 0.
|
168 |
-
"mean": 0.
|
169 |
-
"p50": 0.
|
170 |
-
"p90": 0.
|
171 |
-
"p95": 0.
|
172 |
-
"p99": 0.
|
173 |
-
"stdev": 0.
|
174 |
-
"stdev_": 13.
|
175 |
},
|
176 |
"throughput": {
|
177 |
"unit": "samples/s",
|
178 |
-
"value":
|
179 |
},
|
180 |
"energy": null,
|
181 |
"efficiency": null
|
@@ -183,7 +183,7 @@
|
|
183 |
"train": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
-
"max_ram": 477.
|
187 |
"max_global_vram": null,
|
188 |
"max_process_vram": null,
|
189 |
"max_reserved": null,
|
@@ -192,23 +192,23 @@
|
|
192 |
"latency": {
|
193 |
"unit": "s",
|
194 |
"values": [
|
195 |
-
0.
|
196 |
-
0.
|
197 |
-
0.
|
198 |
],
|
199 |
"count": 3,
|
200 |
-
"total": 0.
|
201 |
-
"mean": 0.
|
202 |
-
"p50": 0.
|
203 |
-
"p90": 0.
|
204 |
-
"p95": 0.
|
205 |
-
"p99": 0.
|
206 |
-
"stdev":
|
207 |
-
"stdev_": 0.
|
208 |
},
|
209 |
"throughput": {
|
210 |
"unit": "samples/s",
|
211 |
-
"value":
|
212 |
},
|
213 |
"energy": null,
|
214 |
"efficiency": null
|
|
|
5 |
"name": "pytorch",
|
6 |
"version": "2.5.1+cpu",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"model": "hf-internal-testing/tiny-random-BertModel",
|
9 |
+
"processor": "hf-internal-testing/tiny-random-BertModel",
|
10 |
"task": "fill-mask",
|
11 |
"library": "transformers",
|
12 |
"model_type": "bert",
|
|
|
|
|
13 |
"device": "cpu",
|
14 |
"device_ids": null,
|
15 |
"seed": 42,
|
|
|
86 |
"processor": "x86_64",
|
87 |
"python_version": "3.10.15",
|
88 |
"optimum_benchmark_version": "0.5.0.dev0",
|
89 |
+
"optimum_benchmark_commit": "7cec62e016d76fe612308e4c2c074fc7f09289fd",
|
90 |
"transformers_version": "4.47.0",
|
91 |
"transformers_commit": null,
|
92 |
+
"accelerate_version": "1.2.1",
|
93 |
"accelerate_commit": null,
|
94 |
"diffusers_version": "0.31.0",
|
95 |
"diffusers_commit": null,
|
|
|
107 |
"overall": {
|
108 |
"memory": {
|
109 |
"unit": "MB",
|
110 |
+
"max_ram": 477.351936,
|
111 |
"max_global_vram": null,
|
112 |
"max_process_vram": null,
|
113 |
"max_reserved": null,
|
|
|
116 |
"latency": {
|
117 |
"unit": "s",
|
118 |
"values": [
|
119 |
+
0.01592566299999021,
|
120 |
+
0.012209281999986388,
|
121 |
+
0.012050035000015669,
|
122 |
+
0.01193647200000214,
|
123 |
+
0.012116388000009692
|
124 |
],
|
125 |
"count": 5,
|
126 |
+
"total": 0.0642378400000041,
|
127 |
+
"mean": 0.012847568000000819,
|
128 |
+
"p50": 0.012116388000009692,
|
129 |
+
"p90": 0.01443911059998868,
|
130 |
+
"p95": 0.015182386799989444,
|
131 |
+
"p99": 0.015777007759990056,
|
132 |
+
"stdev": 0.001541613235960306,
|
133 |
+
"stdev_": 11.999261151684177
|
134 |
},
|
135 |
"throughput": {
|
136 |
"unit": "samples/s",
|
137 |
+
"value": 778.357429203672
|
138 |
},
|
139 |
"energy": {
|
140 |
"unit": "kWh",
|
141 |
+
"cpu": 8.562100477777949e-06,
|
142 |
+
"ram": 3.576500245353414e-07,
|
143 |
"gpu": 0,
|
144 |
+
"total": 8.91975050231329e-06
|
145 |
},
|
146 |
"efficiency": {
|
147 |
"unit": "samples/kWh",
|
148 |
+
"value": 1121107.5912276418
|
149 |
}
|
150 |
},
|
151 |
"warmup": {
|
152 |
"memory": {
|
153 |
"unit": "MB",
|
154 |
+
"max_ram": 477.351936,
|
155 |
"max_global_vram": null,
|
156 |
"max_process_vram": null,
|
157 |
"max_reserved": null,
|
|
|
160 |
"latency": {
|
161 |
"unit": "s",
|
162 |
"values": [
|
163 |
+
0.01592566299999021,
|
164 |
+
0.012209281999986388
|
165 |
],
|
166 |
"count": 2,
|
167 |
+
"total": 0.028134944999976597,
|
168 |
+
"mean": 0.014067472499988298,
|
169 |
+
"p50": 0.014067472499988298,
|
170 |
+
"p90": 0.015554024899989827,
|
171 |
+
"p95": 0.015739843949990017,
|
172 |
+
"p99": 0.01588849918999017,
|
173 |
+
"stdev": 0.0018581905000019106,
|
174 |
+
"stdev_": 13.209128363346409
|
175 |
},
|
176 |
"throughput": {
|
177 |
"unit": "samples/s",
|
178 |
+
"value": 284.34390044148495
|
179 |
},
|
180 |
"energy": null,
|
181 |
"efficiency": null
|
|
|
183 |
"train": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 477.351936,
|
187 |
"max_global_vram": null,
|
188 |
"max_process_vram": null,
|
189 |
"max_reserved": null,
|
|
|
192 |
"latency": {
|
193 |
"unit": "s",
|
194 |
"values": [
|
195 |
+
0.012050035000015669,
|
196 |
+
0.01193647200000214,
|
197 |
+
0.012116388000009692
|
198 |
],
|
199 |
"count": 3,
|
200 |
+
"total": 0.0361028950000275,
|
201 |
+
"mean": 0.0120342983333425,
|
202 |
+
"p50": 0.012050035000015669,
|
203 |
+
"p90": 0.012103117400010887,
|
204 |
+
"p95": 0.01210975270001029,
|
205 |
+
"p99": 0.012115060940009812,
|
206 |
+
"stdev": 7.428850863655893e-05,
|
207 |
+
"stdev_": 0.6173065232289738
|
208 |
},
|
209 |
"throughput": {
|
210 |
"unit": "samples/s",
|
211 |
+
"value": 498.5749757737237
|
212 |
},
|
213 |
"energy": null,
|
214 |
"efficiency": null
|