Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Change serve sanity check default to False
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed Jun 22, 2021
1 parent 882e204 commit 05b8835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash/core/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05b8835

Please sign in to comment.