Skip to content

Commit

Permalink
Make dbname dependent on repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Sep 24, 2024
1 parent 4fb81a6 commit 05f24a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ models_edge_ = [ "gptj-99", "gptj-99.9", "bert-99", "stable-diffusion-xl", "reti
models_datacenter = [];
models_edge = [];

const dbName = "mlperf_inference_" + results_version;//results_version defined in config.js
//const dbVersion = 4; defined in config.js
const objStore = "inference_results";

repo_name = repo_name || "inference_results_"+results_version;
repo_owner = repo_owner || "GATEOverflow";
repo_branch = repo_branch || "main";
const dbName = repo_owner + "_" + repo_name + "_" + repo_branch;

async function fetchAndStoreData(db) {
try {
Expand Down

0 comments on commit 05f24a7

Please sign in to comment.