Skip to content

Commit

Permalink
Fix results version
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Sep 2, 2024
1 parent cb49644 commit 130303f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions javascripts/compare_results.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ $(document).ready(function() {
*/
readAllData().then(function(allData) {
// console.log(allData);
sysversion1 = result_version;
sysversion2 = result_version;
sysversion1 = results_version;
sysversion2 = results_version;
reConstructTables(system1, sysversion1, system2, sysversion2, selected_models, allData);
}).catch(function(error) {
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion javascripts/results_tablesorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function constructSummaryTable(data, category, division, with_power) {
}

function get_scenario_td_data(data, scenario, with_power, accuracy=false) {
let location_pre = `https://github.com/mlcommons/inference_results_${result_version}/tree/main/`;
let location_pre = `https://github.com/mlcommons/inference_results_${results_version}/tree/main/`;
let result_link_text = ``;

if(!data || !data.hasOwnProperty(scenario)) {
Expand Down
2 changes: 1 addition & 1 deletion javascripts/topresults.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $( document ).on( "click", "#results thead th", function() {
var device_column_name = "Accelerator";
var device_count_column_name = "#a";
var additional_metric_column_name = "";
var version = result_version;
var version = results_version;
var openmodel=false;
var sortcolumnindex = 6;
var perfcolumnindex = 7; // starting from 1
Expand Down

0 comments on commit 130303f

Please sign in to comment.