[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:
Brian Weston, PhD
2026-10-09 09:49:13 +08:00
committed by GitHub
co-authored by Codex Jee Jee Li linitra24
parent 581692cc0f
commit 201e537d98
4 changed files with 96 additions and 4 deletions
+1
View File
@@ -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)