Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/submission/check_validity.py
Browse files
src/submission/check_validity.py
CHANGED
@@ -88,6 +88,8 @@ def already_submitted_models(requested_models_dir: str) -> set[str]:
|
|
88 |
continue
|
89 |
with open(os.path.join(root, file), "r") as f:
|
90 |
info = json.load(f)
|
|
|
|
|
91 |
file_names.append(f"{info['model']}_{info['precision']}_{info['add_special_tokens']}")
|
92 |
|
93 |
# Select organisation
|
|
|
88 |
continue
|
89 |
with open(os.path.join(root, file), "r") as f:
|
90 |
info = json.load(f)
|
91 |
+
if info['status'] == 'FAILED':
|
92 |
+
continue
|
93 |
file_names.append(f"{info['model']}_{info['precision']}_{info['add_special_tokens']}")
|
94 |
|
95 |
# Select organisation
|