From 8cd0d4aab71939e56539ff6c1027b37ad4324433 Mon Sep 17 00:00:00 2001
From: Steve Li <93230279+BitSteve@users.noreply.github.com>
Date: 星期五, 15 十一月 2024 11:03:31 +0800
Subject: [PATCH] Add bounds check for postprocess_utils.py abbr_dispose() (#2209)

---
 funasr/bin/train_ds.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/funasr/bin/train_ds.py b/funasr/bin/train_ds.py
index 69c2712..5b1eeaa 100644
--- a/funasr/bin/train_ds.py
+++ b/funasr/bin/train_ds.py
@@ -84,9 +84,6 @@
         dist.init_process_group(
             backend=kwargs.get("backend", "nccl"),
             init_method="env://",
-            find_unused_parameters=kwargs.get("train_conf", {}).get(
-                "find_unused_parameters", False
-            ),
         )
         torch.cuda.set_device(local_rank)
 

--
Gitblit v1.9.1