[Model] Remove ten deprecated model architectures (#53608)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Xianbao QIAN <xianbao.qian@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Xianbao QIAN
Claude Opus 5
parent
a0f1b9ad05
commit
7ca336929c
@@ -1,11 +1,10 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
"""
|
||||
Shared Conformer encoder components for FireRedASR2 and FireRedLID.
|
||||
Conformer encoder components for FireRedASR2.
|
||||
|
||||
Both models use the same Conformer-based audio encoder architecture
|
||||
The audio encoder architecture is
|
||||
(Conv2dSubsampling → RelPositionalEncoding → N × RelPosEmbConformerBlock).
|
||||
This module factors out the common building blocks to avoid duplication.
|
||||
"""
|
||||
|
||||
import torch
|
||||
@@ -288,7 +287,7 @@ class RelPosEmbConformerBlock(nn.Module):
|
||||
|
||||
class ConformerEncoder(nn.Module):
|
||||
"""
|
||||
Conformer encoder shared by FireRedASR2 and FireRedLID.
|
||||
Conformer encoder used by FireRedASR2.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user