Edit err message and comment in test_model_is_small (#25087)

* Edit err message and comment in

* put back 80M comment
This commit is contained in:
Connor Henderson
2023-07-25 12:24:36 -04:00
committed by GitHub
parent 2fac342238
commit 0779fc8eb8

View File

@@ -2714,7 +2714,7 @@ class ModelTesterMixin:
num_params = model.num_parameters()
assert (
num_params < 1000000
), f"{model_class} is too big for the common tests ({num_params})! It should have 200k max."
), f"{model_class} is too big for the common tests ({num_params})! It should have 1M max."
global_rng = random.Random()