From 504fa824444cec4eba1b203b6afa2995de759df4 Mon Sep 17 00:00:00 2001 From: slantie Date: Mon, 26 Jan 2026 09:27:42 +0530 Subject: [PATCH] Fix ITokenizer return type annotation --- src/torchaudio/pipelines/_wav2vec2/aligner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torchaudio/pipelines/_wav2vec2/aligner.py b/src/torchaudio/pipelines/_wav2vec2/aligner.py index 3655d5bae8..bf75f5f93e 100644 --- a/src/torchaudio/pipelines/_wav2vec2/aligner.py +++ b/src/torchaudio/pipelines/_wav2vec2/aligner.py @@ -9,7 +9,7 @@ class ITokenizer(ABC): @abstractmethod - def __call__(self, transcript: List[str]) -> List[List[str]]: + def __call__(self, transcript: List[str]) -> List[List[int]]: """Tokenize the given transcript (list of word) .. note::