We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 195c866 commit a9ba6e0Copy full SHA for a9ba6e0
tests/run_unit_tests.py
@@ -20,11 +20,20 @@ def get_all_unit_tests():
20
cur_dir = "./tests"
21
unit_tests = {}
22
23
+ EXCLUDE_UNIT_TESTS = [
24
+ "tests/unit_tests/megatron/cco/test_tp_overlap.py",
25
+ ]
26
+
27
for root, dirs, files in os.walk(cur_dir):
28
for file_name in files:
29
if not file_name.endswith(".py") or not file_name.startswith("test_"):
30
continue
31
32
+ # Construct relative path from tests/
33
+ rel_path = os.path.relpath(os.path.join(root, file_name), start=cur_dir)
34
+ if rel_path in EXCLUDE_UNIT_TESTS:
35
+ continue
36
37
if file_name not in DISTRIBUTED_UNIT_TESTS:
38
unit_tests[os.path.join(root, file_name)] = 1
39
else:
0 commit comments