Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tuning/sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def train(
"`--padding_free` argument was called with `packing=True`, "
"Trainer should not perform packing when using `--padding_free`"
)

if fast_moe_config is not None and fast_moe_config.fast_moe is None:
fast_moe_config = None
if fast_moe_config is not None:
# Checking for unsupported modules with Scatter MoE for LoRA
# Only raise an error for `all-linear`
Expand Down