Skip to content

Commit c719594

Browse files
committed
fix: ft logic
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
1 parent e08e052 commit c719594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/accelerated-moe/src/fms_acceleration_moe/utils/scattermoe_prepare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def prepare_scattermoe(
354354
]
355355
if any(
356356
module in (target_modules or []) for module in possible_target_modules
357-
):
357+
) or not lora_config:
358358
if device_mesh is None:
359359
# - if not on meta, just load the state dict
360360
# - and then put on the device

0 commit comments

Comments
 (0)