ngpu bug and rm easyasr

修复ngpu指定无效的问题;移除easyasr,全部涉及模型都下架了;将funasr版本限制为>=0.6.0
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/12933049
* ngpu bug and rm easyasr
This commit is contained in:
zhifu.gzf
2023-06-13 16:36:21 +08:00
committed by wenmeng.zwm
parent d6bf9e80fb
commit 8b4e9dcdfb
8 changed files with 8 additions and 9 deletions

View File

@@ -127,7 +127,7 @@ class AutomaticSpeechRecognitionPipeline(Pipeline):
minlenratio=self.cmd['minlenratio'],
batch_size=self.cmd['batch_size'],
beam_size=self.cmd['beam_size'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
ctc_weight=self.cmd['ctc_weight'],
lm_weight=self.cmd['lm_weight'],
penalty=self.cmd['penalty'],

View File

@@ -80,7 +80,7 @@ class LanguageModelPipeline(Pipeline):
mode=self.cmd['mode'],
batch_size=self.cmd['batch_size'],
dtype=self.cmd['dtype'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
seed=self.cmd['seed'],
num_workers=self.cmd['num_workers'],
log_level=self.cmd['log_level'],

View File

@@ -54,7 +54,7 @@ class PunctuationProcessingPipeline(Pipeline):
mode=self.cmd['mode'],
batch_size=self.cmd['batch_size'],
dtype=self.cmd['dtype'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
seed=self.cmd['seed'],
num_workers=self.cmd['num_workers'],
log_level=self.cmd['log_level'],

View File

@@ -77,7 +77,7 @@ class SpeakerDiarizationPipeline(Pipeline):
output_dir=self.cmd['output_dir'],
batch_size=self.cmd['batch_size'],
dtype=self.cmd['dtype'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
seed=self.cmd['seed'],
num_workers=self.cmd['num_workers'],
log_level=self.cmd['log_level'],

View File

@@ -57,7 +57,7 @@ class SpeakerVerificationPipeline(Pipeline):
output_dir=self.cmd['output_dir'],
batch_size=self.cmd['batch_size'],
dtype=self.cmd['dtype'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
seed=self.cmd['seed'],
num_workers=self.cmd['num_workers'],
log_level=self.cmd['log_level'],

View File

@@ -75,7 +75,7 @@ class TimestampPipeline(Pipeline):
mode=self.cmd['mode'],
batch_size=self.cmd['batch_size'],
dtype=self.cmd['dtype'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
seed=self.cmd['seed'],
num_workers=self.cmd['num_workers'],
log_level=self.cmd['log_level'],

View File

@@ -56,7 +56,7 @@ class VoiceActivityDetectionPipeline(Pipeline):
mode=self.cmd['mode'],
batch_size=self.cmd['batch_size'],
dtype=self.cmd['dtype'],
ngpu=self.cmd['ngpu'],
ngpu=ngpu,
seed=self.cmd['seed'],
num_workers=self.cmd['num_workers'],
log_level=self.cmd['log_level'],

View File

@@ -1,2 +1 @@
easyasr>=0.0.2
funasr>=0.5.0
funasr>=0.6.0