We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548705e commit 1c989d3Copy full SHA for 1c989d3
torchci/pages/benchmark/[suite]/[compiler]/[[...page]].tsx
@@ -423,11 +423,18 @@ function ModelPanel({
423
if (lCommit === rCommit) {
424
return l >= SPEEDUP_THRESHOLD ? "" : styles.warning;
425
} else {
426
- if (l === 0 || l === r) {
+ // l is the new value, r is the old value
427
+
428
+ if (l === r) {
429
// 0 means the model isn't run at all
430
return "";
431
}
432
433
+ // It didn't error in the past, but now it does error
434
+ if (l === 0) {
435
+ return styles.error;
436
+ }
437
438
// Increasing more than x%
439
if (l - r > RELATIVE_THRESHOLD * r) {
440
return styles.ok;
0 commit comments