[Model] Remove incorrect SupportsPP from MTP models (#32150)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -39,7 +39,6 @@ from vllm.model_executor.layers.vocab_parallel_embedding import (
|
||||
from vllm.model_executor.model_loader.weight_utils import default_weight_loader
|
||||
from vllm.sequence import IntermediateTensors
|
||||
|
||||
from .interfaces import SupportsPP
|
||||
from .llama import LlamaDecoderLayer
|
||||
from .utils import is_pp_missing_parameter, maybe_prefix
|
||||
|
||||
@@ -143,7 +142,7 @@ class ErnieMultiTokenPredictor(nn.Module):
|
||||
return logits
|
||||
|
||||
|
||||
class ErnieMTP(nn.Module, SupportsPP):
|
||||
class ErnieMTP(nn.Module):
|
||||
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
|
||||
super().__init__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user