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:
@@ -2714,7 +2714,7 @@ class ModelTesterMixin:
|
|||||||
num_params = model.num_parameters()
|
num_params = model.num_parameters()
|
||||||
assert (
|
assert (
|
||||||
num_params < 1000000
|
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()
|
global_rng = random.Random()
|
||||||
|
|||||||
Reference in New Issue
Block a user