[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user