Commit 8b04295
authored
[Backend Tester] Clean up report output (#13306)
Update the report output to be a bit cleaner. I've made the following
changes:
* Round decimal values to 3 decimal places.
* Remove mean signed deviation and L2 norm. We have SNR, mean absolute
error, and max element-wise error. I think that's sufficient.
* Rename SQNR to SNR. Not all tests are quantized and we're using it as
a general measure of tensor-wise error.
* Split out the result column into pass/skip/fail and a detailed reason.
This should be easier to parse at a glance.
Example output (not sure markdown formatting is weird here...):
Test ID | Test Case | Flow | Params | Result | Result Detail | Delegated
| Quantize Time (s) | Lower Time (s) | Delegated Nodes | Undelegated
Nodes | Delegated Ops | Undelegated Ops | PTE Size (Kb) | Output 0 Error
Max | Output 0 Error MAE | Output 0 SNR | Output 1 Error Max | Output 1
Error MAE | Output 1 SNR
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
| -- | -- | -- | -- | --
test_add_dtype_float32_xnnpack | test_add_dtype | xnnpack | {'dtype':
torch.float32} | Pass | | TRUE | | 3.747 | 1 | 0 |
{'aten::add.Tensor': 1} | {} | 1.6 | 0 | 0 | inf | | |
test_add_dtype_float32_xnnpack_static_int8_per_channel | test_add_dtype
| xnnpack_static_int8_per_channel | {'dtype': torch.float32} | Pass |
| TRUE | 0.66 | 0.818 | 7 | 0 | {'aten::add.Tensor': 1,
'quantized_decomposed::dequantize_per_tensor': 3,
'quantized_decomposed::quantize_per_tensor': 3} | {} | 2 | 0 | 0 | inf |
| | 1 parent e376338 commit 8b04295
2 files changed
+59
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 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 | + | |
61 | 91 | | |
62 | 92 | | |
63 | 93 | | |
| |||
129 | 159 | | |
130 | 160 | | |
131 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
132 | 169 | | |
133 | 170 | | |
134 | 171 | | |
| |||
260 | 297 | | |
261 | 298 | | |
262 | 299 | | |
263 | | - | |
264 | 300 | | |
265 | 301 | | |
| 302 | + | |
| 303 | + | |
266 | 304 | | |
267 | | - | |
| 305 | + | |
268 | 306 | | |
269 | 307 | | |
270 | 308 | | |
| |||
289 | 327 | | |
290 | 328 | | |
291 | 329 | | |
292 | | - | |
293 | | - | |
294 | | - | |
| 330 | + | |
295 | 331 | | |
296 | 332 | | |
297 | 333 | | |
| |||
311 | 347 | | |
312 | 348 | | |
313 | 349 | | |
314 | | - | |
315 | 350 | | |
316 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
317 | 354 | | |
318 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
319 | 358 | | |
320 | | - | |
321 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
322 | 363 | | |
323 | 364 | | |
324 | 365 | | |
325 | 366 | | |
326 | 367 | | |
327 | 368 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
333 | 372 | | |
334 | 373 | | |
335 | 374 | | |
336 | 375 | | |
337 | 376 | | |
338 | 377 | | |
339 | | - | |
| 378 | + | |
340 | 379 | | |
341 | 380 | | |
342 | 381 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | 82 | | |
84 | | - | |
| 83 | + | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
92 | 90 | | |
93 | | - | |
| 91 | + | |
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
100 | | - | |
101 | 98 | | |
102 | | - | |
| 99 | + | |
103 | 100 | | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
109 | | - | |
110 | 106 | | |
111 | | - | |
| 107 | + | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
| |||
0 commit comments