sebastientaylor commited on
Commit
22d4768
·
verified ·
1 Parent(s): 40151a7

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +18 -1
index.html CHANGED
@@ -573,8 +573,13 @@
573
  <section class="tab-panel" id="tab-leaderboard">
574
  <div class="section">
575
  <div class="section-header"><h2>Platform Throughput Leaderboard</h2>
576
- <span class="section-note">Top 20 fastest validated model × platform results · full image load → decode → preprocess → inference → postprocess pipeline</span>
 
 
 
 
577
  </div>
 
578
  <table class="dt">
579
  <thead><tr>
580
  <th style="width:3rem">#</th>
@@ -1003,6 +1008,8 @@ function leaderboardEntries(platformKey, metricKey) {
1003
  // Cross-platform throughput board: the top 20 fastest validated
1004
  // model × platform results by pipelined FPS (accuracy intentionally not
1005
  // ranked here; smart decoder preferred over logical duplicates).
 
 
1006
  function renderPlatformThroughput() {
1007
  const host = document.getElementById("platform-fps-body");
1008
  if (!host) return;
@@ -1011,6 +1018,7 @@ function renderPlatformThroughput() {
1011
  for (const s of (STUDIO?.sessions ?? [])) {
1012
  const p = platformRowForSession(s);
1013
  if (!p || p.leaderboard === false || s.fps_median == null) continue;
 
1014
  const key = `${p.key}|${s.task_key}|${s.version_key}|${s.size}`;
1015
  const isSmart = isSmartSession(s);
1016
  const cur = best[key];
@@ -1088,6 +1096,15 @@ function initLeaderboardFilter() {
1088
  renderLeaderboard();
1089
  }));
1090
  }
 
 
 
 
 
 
 
 
 
1091
  }
1092
 
1093
  // ---------------------------------------------------------------------------
 
573
  <section class="tab-panel" id="tab-leaderboard">
574
  <div class="section">
575
  <div class="section-header"><h2>Platform Throughput Leaderboard</h2>
576
+ <div class="lb-filter" id="fps-filter">
577
+ <button data-group="all" class="active">All platforms</button>
578
+ <button data-group="embedded">Embedded (i.MX · ARA240 · Hailo · Jetson)</button>
579
+ <button data-group="reference">Desktop reference</button>
580
+ </div>
581
  </div>
582
+ <p class="section-note" style="margin-bottom:0.75rem">Top 20 fastest validated model × platform results · full image load → decode → preprocess → inference → postprocess pipeline</p>
583
  <table class="dt">
584
  <thead><tr>
585
  <th style="width:3rem">#</th>
 
1008
  // Cross-platform throughput board: the top 20 fastest validated
1009
  // model × platform results by pipelined FPS (accuracy intentionally not
1010
  // ranked here; smart decoder preferred over logical duplicates).
1011
+ let fpsBoardGroup = "all";
1012
+
1013
  function renderPlatformThroughput() {
1014
  const host = document.getElementById("platform-fps-body");
1015
  if (!host) return;
 
1018
  for (const s of (STUDIO?.sessions ?? [])) {
1019
  const p = platformRowForSession(s);
1020
  if (!p || p.leaderboard === false || s.fps_median == null) continue;
1021
+ if (fpsBoardGroup !== "all" && p.group !== fpsBoardGroup) continue;
1022
  const key = `${p.key}|${s.task_key}|${s.version_key}|${s.size}`;
1023
  const isSmart = isSmartSession(s);
1024
  const cur = best[key];
 
1096
  renderLeaderboard();
1097
  }));
1098
  }
1099
+ const fpsHost = document.getElementById("fps-filter");
1100
+ if (fpsHost) {
1101
+ fpsHost.querySelectorAll("button").forEach(b => b.addEventListener("click", () => {
1102
+ fpsHost.querySelectorAll("button").forEach(x => x.classList.remove("active"));
1103
+ b.classList.add("active");
1104
+ fpsBoardGroup = b.dataset.group;
1105
+ renderPlatformThroughput();
1106
+ }));
1107
+ }
1108
  }
1109
 
1110
  // ---------------------------------------------------------------------------