Spaces:
Runtime error
Runtime error
Set benchmark to the latest wandb run
Browse files
utils.py
CHANGED
@@ -291,7 +291,7 @@ def get_benchmarks() -> Tuple[pd.DataFrame, datetime.datetime]:
|
|
291 |
bt.logging.error("No benchmark project set.")
|
292 |
return None, None
|
293 |
runs = get_wandb_runs(project=BENCHMARK_WANDB_PROJECT, filters=None)
|
294 |
-
for run in runs:
|
295 |
artifacts = list(run.logged_artifacts())
|
296 |
if artifacts:
|
297 |
table = artifacts[-1].get("benchmarks")
|
|
|
291 |
bt.logging.error("No benchmark project set.")
|
292 |
return None, None
|
293 |
runs = get_wandb_runs(project=BENCHMARK_WANDB_PROJECT, filters=None)
|
294 |
+
for run in runs[::-1]:
|
295 |
artifacts = list(run.logged_artifacts())
|
296 |
if artifacts:
|
297 |
table = artifacts[-1].get("benchmarks")
|