Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/submission/submit.py
Browse files- src/submission/submit.py +3 -0
src/submission/submit.py
CHANGED
|
@@ -72,6 +72,9 @@ def add_new_eval(
|
|
| 72 |
if not modelcard_OK:
|
| 73 |
return styled_error(error_msg)
|
| 74 |
|
|
|
|
|
|
|
|
|
|
| 75 |
# Seems good, creating the eval
|
| 76 |
print("Adding new eval")
|
| 77 |
|
|
|
|
| 72 |
if not modelcard_OK:
|
| 73 |
return styled_error(error_msg)
|
| 74 |
|
| 75 |
+
if model_size > 35:
|
| 76 |
+
return styled_error("Sorry auto-submission is not avaible for models larger than 35B due to hardware constraint. Please submit manually.")
|
| 77 |
+
|
| 78 |
# Seems good, creating the eval
|
| 79 |
print("Adding new eval")
|
| 80 |
|