From 2ec52e633bb3679f50dd7e30526885a4547e1851 Mon Sep 17 00:00:00 2001 From: Ethan Harris Date: Tue, 22 Jun 2021 12:06:45 +0100 Subject: [PATCH] Change serve sanity check default to False (#447) --- flash/core/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash/core/trainer.py b/flash/core/trainer.py index 08884d4940..8c166d7b9f 100644 --- a/flash/core/trainer.py +++ b/flash/core/trainer.py @@ -72,7 +72,7 @@ def insert_env_defaults(self, *args, **kwargs): class Trainer(PlTrainer): @_defaults_from_env_vars - def __init__(self, *args, serve_sanity_check: bool = True, **kwargs): + def __init__(self, *args, serve_sanity_check: bool = False, **kwargs): if flash._IS_TESTING: if torch.cuda.is_available(): kwargs["gpus"] = 1