Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

update

嘉渊2363c63f9577
diff --git a/funasr/bin/train.py b/funasr/bin/train.py
index f684f3b6f..d5e7089c9 100755
--- a/funasr/bin/train.py
+++ b/funasr/bin/train.py
@@ -86,6 +86,22 @@ def get_parser():
help="The master port for distributed training"
"This value is used when dist_init_method == 'env://'",
)
+ parser.add_argument(
+ "--dist_launcher",
+ default=None,
+ type=str_or_none,
+ choices=["slurm", "mpi", None],
+ help="The launcher type for distributed training",
+ )
+ parser.add_argument(
+ "--multiprocessing_distributed",
+ default=True,
+ type=str2bool,
+ help="Use multi-processing distributed training to launch "
+ "N processes per node, which has N GPUs. This is the "
+ "fastest way to use PyTorch for either single node or "
+ "multi node data parallel training",
+ )
parser.add_argument(
"--unused_parameters",
type=str2bool,