[Bugfix][LoRA] Validate incompatible MoE adapter formats (#59924)
Signed-off-by: Brian Weston <brianweston@gmail.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Jee Jee Li <pandaleefree@gmail.com> Co-authored-by: linitra24 <renshuang.zhou@daocloud.io>
This commit is contained in:
co-authored by
Codex
Jee Jee Li
linitra24
parent
581692cc0f
commit
201e537d98
@@ -153,6 +153,7 @@ class WorkerLoRAManager:
|
||||
# adapter manager can route 3D-format checkpoints through the
|
||||
# 3D->2D conversion when running under the universal 2D wrapper.
|
||||
lora.is_3d_lora_weight = lora_request.is_3d_lora_weight
|
||||
self._adapter_manager._validate_moe_lora_format(lora)
|
||||
|
||||
# Validate classification-head weights.
|
||||
self._adapter_manager._validate_modules_to_save(lora)
|
||||
|
||||
Reference in New Issue
Block a user