Skip to content

Commit

Permalink
feat: move ALL_SYSTEMS
Browse files Browse the repository at this point in the history
  • Loading branch information
wozeparrot committed Apr 30, 2024
1 parent 1dff76c commit 7535a5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tinymod/common/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def get_benchmarks(filename: str, system: str):
"resnet": re.compile(r"\d+[ ]+(\d+\.\d+) ms run,"),
}

ALL_SYSTEMS = ["amd", "amd-train", "nvidia", "mac"]

# regex, systems, skip_count, max_count
TRACKED_BENCHMARKS = {
# stable diffusion
Expand Down
3 changes: 1 addition & 2 deletions tinymod/plugins/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import os, logging

from common.benchmarks import REPO, BENCHMARKS_DIR, TRACKED_BENCHMARKS, CachedBenchmarks, filter_points
from common.benchmarks import REPO, BENCHMARKS_DIR, TRACKED_BENCHMARKS, ALL_SYSTEMS, CachedBenchmarks, filter_points

TinyMod: Client
GUILD: Guild
Expand All @@ -24,7 +24,6 @@
}
CI_CHANNEL_ID = 1068993556905218128
GITHUB_WEBHOOK_ID = 1068993579520884826
ALL_SYSTEMS = ["amd", "amd-train", "mac", "nvidia"]
RANGE = range(10, 100 + 1, 10)

# ***** Downloading benchmarks *****
Expand Down

0 comments on commit 7535a5a

Please sign in to comment.