From 28b3f10a4670729ac1f1afb8ad7c74234b1df051 Mon Sep 17 00:00:00 2001 From: x54-729 <17307130121@fudan.edu.cn> Date: Mon, 2 May 2022 11:04:03 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=AE=AD=E7=BB=83=E5=90=8E?= =?UTF-8?q?=E7=9A=84barrier=EF=BC=8C=E9=81=BF=E5=85=8D=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E5=90=8E=E5=8D=A1=E4=BD=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastNLP/core/controllers/trainer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fastNLP/core/controllers/trainer.py b/fastNLP/core/controllers/trainer.py index 5223c9d8..1e9f907c 100644 --- a/fastNLP/core/controllers/trainer.py +++ b/fastNLP/core/controllers/trainer.py @@ -363,7 +363,6 @@ class Trainer(TrainerEventTrigger): raise e finally: self.on_train_end() - self.driver.barrier() def _set_num_eval_batch_per_dl(self, num_eval_batch_per_dl): def _evaluate_fn(trainer: Trainer, evaluate_fn: Callable) -> None: