Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
rnnt infer
aky15e01f742a859d
diff --git a/funasr/bin/asr_inference_rnnt.py b/funasr/bin/asr_inference_rnnt.pyindex c8a2916c2..f65bd07eb 100644--- a/funasr/bin/asr_inference_rnnt.py+++ b/funasr/bin/asr_inference_rnnt.py@@ -301,9 +301,6 @@ class Speech2Text:feats = speech.unsqueeze(0).to(getattr(torch, self.dtype))feats_lengths = feats.new_full([1], dtype=torch.long, fill_value=feats.size(1))- if self.asr_model.normalize is not None:- feats, feats_lengths = self.asr_model.normalize(feats, feats_lengths)-feats = to_device(feats, device=self.device)feats_lengths = to_device(feats_lengths, device=self.device)