[LoRA][Spec Decode] Support LoRA for Nemotron-H MTP models (#32265)

Signed-off-by: Daniel Serebrenik <daserebrenik@nvidia.com>
Co-authored-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
danisereb
2026-01-27 07:53:26 -08:00
committed by GitHub
co-authored by Jee Jee Li
parent 7cbbca9aaa
commit f3a5ee705f
4 changed files with 31 additions and 0 deletions
+3
View File
@@ -771,6 +771,9 @@ class NemotronHForCausalLM(
"lm_head": "output_embeddings",
}
# Skip MTP (Multi-Token Prediction) layers during LoRA loading
lora_skip_prefixes = ["mtp."]
@classmethod
def get_mamba_state_dtype_from_config(
cls,