From 11aa80066361486b30940e532ffc16247c6c478e Mon Sep 17 00:00:00 2001 From: USTCKAY <1136780339@qq.com> Date: Wed, 6 Sep 2023 15:26:06 +0800 Subject: [PATCH] update description of nxpu --- paddlespeech/t2s/exps/synthesize.py | 3 ++- paddlespeech/t2s/exps/synthesize_e2e.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/paddlespeech/t2s/exps/synthesize.py b/paddlespeech/t2s/exps/synthesize.py index 8a9a26a03..e7cf7850e 100644 --- a/paddlespeech/t2s/exps/synthesize.py +++ b/paddlespeech/t2s/exps/synthesize.py @@ -224,7 +224,8 @@ def parse_args(): "--nxpu", type=int, default=0, - help="if ngpu == 0 and nxpu == 0, use cpu.") + help="if wish to use xpu, set ngpu == 0 and nxpu > 0, and if ngpu == 0 and nxpu == 0, use cpu." + ) parser.add_argument("--test_metadata", type=str, help="test metadata.") parser.add_argument("--output_dir", type=str, help="output dir.") parser.add_argument( diff --git a/paddlespeech/t2s/exps/synthesize_e2e.py b/paddlespeech/t2s/exps/synthesize_e2e.py index 11f3c0761..c63a5fbe9 100644 --- a/paddlespeech/t2s/exps/synthesize_e2e.py +++ b/paddlespeech/t2s/exps/synthesize_e2e.py @@ -304,7 +304,8 @@ def parse_args(): "--nxpu", type=int, default=0, - help="if ngpu == 0 and nxpu == 0, use cpu.") + help="if wish to use xpu, set ngpu == 0 and nxpu > 0, and if ngpu == 0 and nxpu == 0, use cpu." + ) parser.add_argument( "--text", type=str,