From fa3e8359835107aa9ab8e3ae604ed61cad407bf8 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 14 六月 2024 10:38:02 +0800
Subject: [PATCH] update with main (#1816)
---
funasr/train_utils/trainer_ds.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/funasr/train_utils/trainer_ds.py b/funasr/train_utils/trainer_ds.py
index 8a0679c..f1d70e2 100644
--- a/funasr/train_utils/trainer_ds.py
+++ b/funasr/train_utils/trainer_ds.py
@@ -30,8 +30,9 @@
yield
else:
if dtype == torch.float16 or dtype == torch.bfloat16:
- with autocast(enabled=True, dtype=dtype):
- yield
+ yield
+ # with autocast(enabled=True, dtype=dtype):
+ # yield
else:
yield
--
Gitblit v1.9.1