[None][chore] Add warning about 2-model MTP deprecation (#11043)

Signed-off-by: Mike Iovine <miovine@nvidia.com>
Signed-off-by: Wangshanshan <30051912+dominicshanshan@users.noreply.github.com>
This commit is contained in:
Mike Iovine 2026-02-02 10:35:51 -05:00 committed by Yanchao Lu
parent 5e47e6970b
commit 435ea36977

View File

@ -1183,6 +1183,12 @@ class MTPDecodingConfig(DecodingBaseConfig):
self.max_total_draft_tokens = kwargs[
'num_nextn_predict_layers'] # Current MTP only support linear tree
if not self.mtp_eagle_one_model:
logger.warning(
"2-model style MTP is deprecated. The mtp_eagle_one_model flag will do nothing "
"in release 1.3. After that, the flag will be removed entirely."
)
@classmethod
def from_dict(cls, data: dict):
out = cls(**data)