From 8b742b2bd4e346e6ec45d4642a6af374402697ad Mon Sep 17 00:00:00 2001 From: YellowRoseCx <80486540+YellowRoseCx@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:20:38 -0500 Subject: [PATCH] add missing @staticmethod --- modeling/stoppers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modeling/stoppers.py b/modeling/stoppers.py index 8fe5c229..d9f212dd 100644 --- a/modeling/stoppers.py +++ b/modeling/stoppers.py @@ -116,6 +116,7 @@ class Stoppers: return True return False + @staticmethod def adventure_mode_stopper( model: InferenceModel, input_ids: torch.LongTensor,