[BugFix]: --enable-lora with model granite-4.0-micro crash (#27733)

Signed-off-by: zxw <1020938856@qq.com>
This commit is contained in:
yyzxw 2025-11-12 17:03:56 +08:00 committed by GitHub
parent c748355e0d
commit 1761dea1a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -597,6 +597,9 @@ class GraniteMoeHybridForCausalLM(
"k_proj",
"v_proj",
],
"conv1d": ["conv1d"],
"in_proj": ["in_proj"],
"input_linear": ["input_linear"],
}
embedding_modules = {
"embed_tokens": "input_embeddings",