Skip to content

Commit 2c13752

Browse files
committed
Partial revert of monitor_tags
1 parent 7ff4db3 commit 2c13752

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

milabench/config.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
config_global = contextvars.ContextVar("config", default=None)
1313
execution_count = (0, 0)
1414

15-
_MONITOR_TAGS = {"monogpu", "multigpu", "multinode"}
16-
1715

1816
def set_run_count(total_run, total_bench):
1917
global execution_count
@@ -93,13 +91,6 @@ def finalize_config(name, bench_config):
9391
pack = (XPath(bench_config["config_base"]) / pack).resolve()
9492
bench_config["definition"] = str(pack)
9593

96-
if not name.startswith("_") and name != "*":
97-
_tags = set(bench_config["tags"])
98-
_monitor_tags = _tags & _MONITOR_TAGS
99-
assert len(_monitor_tags) == 1, (
100-
f"Bench {name} should have exactly one monitor tag. Found {_monitor_tags}"
101-
)
102-
10394
bench_config["tag"] = [bench_config["name"]]
10495

10596
bench_config = OmegaConf.to_object(OmegaConf.create(bench_config))

0 commit comments

Comments
 (0)